Android Programming: TaskList App

  

CIS 2237 Android Programming  

Program 4 TaskList App using Kotlin  

TaskList Program 100 points total

//Need to add click on item to get to edit fragment code and also the delete code.

Turn in Requirements:

• 5 pts. Name your project LastnameP4Part1, such as NelsonP4Part1. 

• 10 pts Upload your zipped project through Brightspace. Before you zip your project, delete the build folder in your in your app folder. If you project has not been reduced in size, I will not download it (or grade it).

Program Requirements:

• 5 pts. Write your name, email address and file name at the top of your source code in a comment.

• 5 pts. Put your program title in the title area of the window so it shows when your program runs. 

• 5 pts. Add comments as appropriate. Be sure that your program output is neatly presented to the user 

Project Name: LastnameP4part1

Package Name: com.cnm.cis2237.lastname.p4part1

Minimum SDK: = 26 or higher, so we can use the Database Inspector

Select Basic Views Activity in the Activity Template screen

Don’t forget to select Kotlin!

Your project will have these files:

1. MainActivity.kt

2. MainFragment.kt

3. Task.kt

4. TaskListAdapter.kt

5. activity_main.xml

6. fragment_main.xml

7. list_item_task.xml

8. navigation_graph.xml

New skills:

• Parcelize a Class

• Code in Kotlin

1. DeleteFirstFragment and SecondFragment That means FirstFragment.java, fragment_first.xml, and FirstFragment in the nav_graph.

2. Add a new fragment, MainFragment, as a blank fragment. Delete the boilerplate code

3. If you look at the nav_graph, you will see that content_main contains the nav_host_fragment already. Click + to add the MainFragment as the Home.

4. Run your project. It should show the MainFragment and say Hello blank fragment. If it doesn’t, delete your project and create another one.

5. Delete the FAB in MainActivity and activity_main.xml.

6. Create a new Kotlin class. Name it the Task class. It is a data class. It has these class members:

var taskId: Int = 0 

var taskName: String = “” 

var taskDue: Boolean = false

7. Open fragment_main.xml

a. Delete the TextView and convert the Frame layout to a Coordinator layout. Right -click on FrameLayout and select Convert view… Select Coordinator layout. Click apply.

b. Add a recyclerview. 

c. id = taskRecycler

d. layout width and height = match_parent

e. layout_margin = 16dp

8. Add a Floating Action Button(FAB) 

a. First create a Vector Asset in the drawable folder. In the Configure Vector Asset dialog, click on the clip Art button and search for Add. There are many choices. Pick on to be the icon on the FAB. Click OK, then Next, then Finish.

b. Add a FAB to the screen. Click on your selected icon in the Pick a Resource dialog, The FAB will land at the top left. Don’t worry.

c. id = addFab

d. layout_width and height = wrap_content

e. layout_gravity = bottom/right

f. layout margin_end and bottom = 10dp

g. Give the button a background color if you want.

h. Add a content Description: Add a new task. Then extract the string resource.

9. Open MainFragment.kt 

 

a. Create a list of tasks. It can be empty: private var taskList = mutableListOf<Task>()

b.  Create a class-scope variable for the adapter, the layoutManager and the recyclerView. 

private val adapter = TaskListAdapter(taskList) //This will be red.

private val taskRecycler: RecyclerView? = null

private var layoutManager: RecyclerView.LayoutManager? = null

c. Add an override method, onViewCreated.

d. Call 3 methods recyclerViewSetup(view), observerSetup() and listenerSetup(view). Let AS create them for you outside the method.

e. Code recyclerViewSetup – We’ll do this after we write the Adapter class.

i. Wire up the recycler view variable using view.findViewbyId or use viewbinding

ii. instantiate the adapter and pass it the layout id (we have not made this yet)

iii. create a linear layout manager for the recycler view

iv. set the adapter into the recycler view.

f. Code method listenerSetup : 

i. Wire up the FAB or use view binding

ii. Create an onClick listener for the fab. We’ll code it later.

g. Let AS create the observerSetup method for you and we’ll code it later.

10. We need to work on our recycler view. 

a. We need a layout for each row

a. Create a new LayoutResource File, called list_item_task. This layout will hold each line in the recycler view. Make its root element a constraint layout.

b. The layout height should be wrap_content.

c. Add a linear layout to the constraint layout or simply constrain the two items in the layout.

d.  I added a layout margin of 8dp

e. Next, add a TextView ,which will display the title or name of the task.

f.  Give it an id, txtName

g. I made the text size = 20sp

h. And added a margin to the top of 8dp

i. The text can be blank for both.

j. Add another TextView, txtDue, which will display when the task is due to be done

k. Probably make it wrap_content for height and width. 

l. Maybe center it in the layout?

11. Add a new Kotlin class called TaskListAdapter. 

a. It will have one private variable in its constructor, taskItemLayout, an Int

b. It also extends RecyclerView.Adapter and then we add the part where we say the Adapter works with theView Holder <TaskListAdapter.ViewHolder(){

c. Implement the three methods required and also create the ViewHolder class.

d. Code the methods as we did in Java, only in Kotlin ???? Like this:

e. Let’s finish the ViewHolder class first, that will keep the red squigglies from taking over.

i. In its constructor, pass it itemView:View and have the class inherit from RecyclerView.ViewHolder(itemView)

ii. Add two variables:

var taskName: TextView = itemView.findViewbyId(R.id.taskName)

var taskDue: CheckBox = itemView.findViewbyIdR.id.taskDue

f. You can also declare them separately and wire them to the widgets in an init block

g. Back in the TaskListAdapter, we need a class-scope reference to taskList: private var taskList: List<Task>? = null 

h. For onCreateViewHolder, break up the layout inflation and return ViewHolder(view)

i. For onBindViewHolder, add the code for the two widgets to be accessed:

val name = holder.taskName

val due= holder.chkDue

taskList.let{

  title.text = it!![position].taskName

 done.isChecked = it!![position].taskDone

  }

j. Or you can put them together for shorter code:

   holder.taskTitle.text = taskList!![position].taskName

   holder.chkDone.isChecked = taskList!![position].taskDone

k. For getItemCount(), return if(taskList == null) 0 else taskList!!.size

l. Add a method:

 setTaskList(tasks: List<Task>){

   taskList = tasks

  notifyDataSetChanged()

}

m. And another method:

fun getAllTheTasks() : List<Task>? {

return taskList

}

12. In order to see the new Task object in MainFragment, we must return the object through safeargs.

13. First, we need to make the Task class parcelable.:

a. open libs.versions.toml and add:

b. [versions]: kotlinPlugin = “1.8.10”

c. [plugins]: kotlin-parcelize = { id = “org.jetbrains.kotlin.plugin.parcelize”, version.ref = “kotlinPlugin” }

d. In build.gradle (Module), add to the plugins at the top: id(“kotlin-parcelize”)

e. Open the Task data class. 

i. Above the declaration, data class Task( add @Parcelize

ii. After the ending ) add : Parcelable

iii. You will need to import both.

14. Then, add the safeargs dependencies:

a. In libs.versions.toml: [Libraries] 

androidx-navigation-safe-args-gradle-plugin = { module = “androidx.navigation:navigation-safe-args-gradle-plugin”, version.ref = “navigationFragmentKtx” }

b. In build.gradle (Project ), add at the top of the file, before the plugins:

buildscript{

dependencies{

classpath(libs.androidx.navigation.safe.args.gradle.plugin)

}

}

c. In build.gradle (Module) add this at the top under plugins: id(“androidx.navigation.safeargs”)

d. Sync

15. Now open the nav_graph. 

a. Add an action from AddTask fragment back to MainFragment.. rename it if you want to.

b. Still in the nav_graph, select the MainFragment, which is the destination for passing the new Task object.

c. Under Arguments, press the + and see this dialog: 

A screenshot of a computer  Description automatically generated

d. Add the name of the class Task and select Custom Parcelable from the drop-down list of type choices. You will see this new dialog: 

e. Select the blue line with Task as one of your classes. Then you see a new dialog, where the only pertinent thing to do is press the Add button.

16. Open Add TaskFragment.java. Extract the object you want to send to MainFragment and add it to the action:

val action: AddTaskFragmentDirections.ActionAddTaskFragmentToMainFragment = 

AddTaskFragmentDirections.actionAddTaskFragmentToMainFragment(newTask)

Navigation.findNavController(it).navigate(action)

17. Open MainFragment. Either in an onStart or another method, add the required code to extract the new task from the args. 

arguments?.let{

val args = MainFragmentArgs.fromBundle(it)

val currentTask = args.task

if(currentTask != null) {

taskList.add(currentTask)

adapter.setList(taskList)

}

}

18. Run your project. You should see a blank screen with the Fab to add task. If you want to see some initial tasks. Create a couple of tasks in MainFragment and have them be in the TasklList:  private var taskList = mutableListOf<Task>(task1, task2)

Needs help with similar assignment?

We are available 24x7 to deliver the best services and assignment ready within 3-4 hours? Order a custom-written, plagiarism-free paper

Get Answer Over WhatsApp Order Paper Now

Intro Pogramming

After viewing the videos and listening to the information on programming, you should be ready to answer the questions listed below.    

Your assignment is as follows: 

I.   Access the Youtube videos:   

Introduction to Programming Fundamentals (by Neso Academy). 

You will be responsible for accessing the first 3 videos in this sequence, only.  You do not need to follow along with completing any of the exercises, since you will only be responsible for completing the first 3 videos.    You are only to complete the following sections: 

  1. Why Take This Course? 
  2. Programs and Programming Languages
  3. Introduction to JAVA 

Together, these three videos require less than 20 minutes to view.  

https://youtu.be/VHbSopMyc4M

https://youtu.be/-C88r0niLQQ

https://youtu.be/mG4NLNZ37y4

II.  Questions to be answered: 

  Once you have finished viewing the three videos, you will want to answer, in full, the questions below.  Whenever using an AI tool,  please specify the AI tool that you are using for the assignment. 

1-Question:  Using one of the AI tools for this.  Indicate to the AI tool what your major is and ask what is the best programming language for you to learn.   

1-Answer from AI tool:  Provide the question for the AI tool and the AI tool’s answer (in quotes) in the space that follows.    2-Question:  Ask the AI tool to provide a list of 3 reasons why that programming language would be good for you to learn.  

2-Answer from AI tool:  Provide the question for the AI tool and the AI tool’s answer (in quotes) in the space that follows.    

3-Question: Ask the AI tool to tell you how this programming tool could help you when you work.  

3-Answer from AI tool:   Provide the question for the AI tool and the AI tool’s answer (in quotes) in the space that follows.     

4-Question:  For the programming language that you select, ask the tool to identify/describe at least four data elements/fields which could be classified as INPUT Data for an application form for you to include when submitting/building an application for you to obtain your preferred job.

4-Answer from AI tool:   Provide the question for the AI tool and the AI tool’s answer (in quotes) in the space that follows.    

5-Question:  Using the programming language that was identified, have the programming language to write the program code for the four possible desired data elements/fields serving as inputs for this same program. 

5-Answer from AI tool:   Provide the question for the AI tool and the AI tool’s answer (in quotes) in the space that follows.    

Don’t forget to provide a reference for your AI work.  

This Discussion Exercise is worth a total of 40 points.  

The Videos are as follows:   

https://youtu.be/VHbSopMyc4M

https://youtu.be/-C88r0niLQQ

https://youtu.be/mG4NLNZ37y4 

 

Needs help with similar assignment?

We are available 24x7 to deliver the best services and assignment ready within 3-4 hours? Order a custom-written, plagiarism-free paper

Get Answer Over WhatsApp Order Paper Now

coding

 topic top Retirment destinations Abroad

More bang for your Dollar

  • During Week 1, you will create the home page of your website. Make sure that you write the content (the paragraphs of information about your topic) yourself. Do not copy content from other web pages. Your website should contain at least 4-6 paragraphs of information, arranged in a logical manner (using headings and sub-headings appropriately).
  • During Week 2, you will add an external style sheet to your website.
  • During Week 3 through Week 7, you will either add additional pages to your website or you will add new functionality to your home page, as directed in the instructions for each assignment.
  • You must write the code files by hand for all assignments in this class. A simple text editor, such as Notepad or Notepad++ will suffice (or TextEdit on the Mac). DO NOT use GUI editors, such as FrontPage, Dreamweaver, etc. You must write the code for your web pages yourself. If you are using a PC, it is strongly recommended that you download the free Notepad++ text editor because it contains extra features which assist with debugging, such as line numbering and color coding of different elements of syntax. Mac users should use the TextEdit text editor that comes with the Mac OS. However, if you are a Mac user, make sure you set TextEdit to use Plain Text by default. You can find instructions for this here.
  • Make sure all of your web pages comply with the HTML 5 standards and CSS standards. DO NOT use obsolete HTML elements and attributes from previous versions of HTML. By including the HTML 5 DOCTYPE declaration in your webpages, and validating all of your HTML files here you can be sure that your code complies with HTML 5. Starting Week 2, your external style sheet (.css file) must pass validation at the W3C CSS Validation Service. Make sure you use the “Validate by File Upload” option (and NOT the “Validate by Direct Input” option), on both of these validators since this is the way your instructor will check your pages when grading your assignments.
  • File Naming Conventions: The home page of your website must be named “LastFirstHomePage.html” where “Last” is your last name and “First” is your first name. For example, if your name is John Smith, you would name your home page file SmithJohnHomePage.html This file name will not change from week to week. Starting with Week 2, you will also have a CSS file linked into every HTML page on your website. Name your CSS file “LastFirstStyleSheet.css” where “Last” is your last name and “First” is your first name. Your website must only have 1 CSS file and that file should be linked into all HTML pages on your website. Additional HTML pages created for your website (During Week 3 through Week 5) should be hyperlinked together through a navigation menu that appears on all pages of your website. Naming conventions for each additional page on your website will be included in each assignment description that requires a new HTML page.

Specific Instructions for Assignment 1:

For this assignment, you will create a Home Page for the website you will be developing throughout the first 7 weeks of this semester. Include all of the following in your Home Page:

1) Begin by creating a new file in your text editor. On the PC, you should use Notepad++. On the Mac, you should use TextEdit (but make sure to set it to use Plain Text by default, following these instructions.

2) On the first line of the file, add the HTML5 DOCTYPE statement: <!DOCTYPE html>

3) Add the opening and closing <html>, <head>, <body>, and <title> tags, making sure to nest them correctly, like this:

<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
</body>
</html>

(See an example of a basic HTML document here)

4) Customize the text inside of the <title> </title> tags to give your home page a meaningful title that describes the topic you have chosen for your website. Remember that the title does not actually show up on the webpage, but instead shows up on the tab at the top of the browser.

5) Add the lang=”en” attribute to your opening <html> tag, like in this example. Important tips:

  • Add this attribute to your existing <html> tag. Do not add a second <html> tag to your file.

6) Add the charset, description, keywords, and author meta tags to the head section of your document, as in this example. The charset should be set to “UTF-8”. Customize the description, keywords, and author meta tags to contain a description of your webpage, keywords related to your web page, and your name as the author. Before saving your file, check the encoding settings to make sure your file is encoded in “UTF-8” to match the file encoding you specified in your charset meta tag. In Notepad++, go to the Encoding menu on the menu bar and make sure “Encode in UTF-8” is selected. Two important tips:

  • You can only modify what goes inside the quotes of the content=” ” attribute. You may not modify name=”description” or name=”keywords” or name=”author” because the value of the name attribute is what makes the tag into a meta description, keywords, or author tag, respectively.
  • You must modify the list of keywords to be pertinent to YOUR website topic. Do not use “HTML, CSS, JavaScript” because the only reason the w3schools website uses those as keywords in their example is that their site is literally a tutorial for those languages. If your topic is gardening or soccer or cars, then your keywords should pertain to that specific topic (not the programming languages you wrote the page in).
  • Here are examples of meta tags I might create for a website about dinosaurs (if my name were John Smith):
    <meta charset=”UTF-8″>
    <meta name=”description” content=”This is a website about the history and characteristics of various types of dinosaurs.”>
    <meta name=”keywords” content=”dinosaurs, paleontology, Tyrannosaurus Rex, Velociraptor, Triceratops, Brontosaurus”>
    <meta name=”author” content=”John Smith”>

7) Your page should now contain the basic skeleton required on all HTML pages (although it still does not contain any of the content that will actually display in the browser). Save your file and upload it to the HTML validator to check for compliance with the HTML5 standards here. Your file should pass validation. If you receive any errors or warnings, then go back through Steps 1-5 of the assignment again until you have corrected all errors and your file passes validation. It is also recommended that you save your work and validate your file after each of the remaining steps of the assignment, in order to identify and fix your errors promptly. It is must easier to debug and correct your errors if you validate your file after each new element that you add to your file than if you wait until the end of the assignment to validate your file.

8) The rest of the code that you add to your file for this assignment will go inside of the body section of your document, between the opening <body> tag and the closing </body> tag. Use the <h1> tag to add a main heading to your page. The text inside of the heading should reflect the topic you have chosen for your website. Similarly, use additional heading tags and horizontal rules to add sub-headings to your page and to divide your page into sections (See examples here). You web page must have a minimum of 3 headings, using at least 2 different types of heading tags (Ex.: <h1>, <h2>, through <h6>).

9) Use paragraph tags and line break tags to add 4-6 full paragraphs of original content that you have written yourself about the topic you have chosen for your website. (See examples here). Arrange the paragraphs between the different sub-headings you created on your page. Be sure to avoid improperly nesting the tags. Remember that you cannot nest a paragraph inside of a heading, or nest a heading inside of a paragraph. You can see another example of a properly arranged page here. Remember, though, that these code examples only show the code, but you will be expected to have real content and substance on your page, too. The content is the 4-6 full paragraphs of information that you write yourself about the topic you have chosen for your website. Also, remember to validate your file after completing each step in this assignment to make sure your file still passes validation before moving onto the next step of the assignment!

10) Include three external hyperlinks to websites that are related to the topic you have chosen for your own website. (See an example of the code for an external hyperlink here). Remember to validate your code before moving on to the next step! Important tips:

  • Replace the placeholder “url” in the example with the actual URL.
  • Meaningful text should go inside the tag (these are the words that appear on the page that the user will click on.
  • Load your page in the browser and TEST your hyperlinks. If clicking the link doesn’t load the intended page, troubleshoot your syntax until the link functions as intended.
  • Here is an example of a properly coded hyperlink:
    <a href=”https://www.amnh.org/dinosaurs/dinosaur-facts”>Dinosaur Facts</a>

11) Include three images on your web page that are related to the topic you have chosen for your own website. First, you need to find 3 images that are in the public domain and download a copy of each image to your own computer. You may want to try some of the sites recommended in this article for locating public domain images. Then add the HTML code to your file to display all three images on your page. (See an example of the code for an image here). You should use relative paths to the copies of the images you downloaded. Do not use absolute paths to locations on your computer (or only you will be able to see the images) and do not use URLs to externally hosted copies of the images. Remember to include the required alt attribute on every image. Also, remember to validate your code before moving on to the next step! Some important tips:

  • Make sure your image file names are not too long. Rename them to something short and meaningful, if needed.
  • File and folder names used on web pages cannot contain spaces. Rename image file names to remove any spaces (in the actual file names and in your code).
  • Image file names must match the actual file names EXACTLY. Do not append anything to the image file names like “img_” or anything else. In the w3schools example, it is assumed their actual file names are named that way. I don’t expect yours to be.
  • If the image files are in the same folder as the HTML file you are coding in, the relative path should only contain the file name of the image, like this:
    <img “brontosaurus.jpg” alt=”picture of brontosaurus”>
  • If the image files are in a sub-folder (for example, named “Images”) then your relative path should include the sub-folder name and the image file name, like this:
    <img “Images/brontosaurus.jpg” alt=”picture of brontosaurus”>
  • After coding your images, open your web page in the browser and make sure the images appear correctly. If not, go back and troubleshoot your syntax until the images display as expected!

12) Turn one of your images into a clickable image that takes the user to an external website when the user selects it. Do this by embedding the image tag inside of a hyperlink. (See an example of code for a clickable image here). Remember to validate your code before moving on to the next step! Some important tips:

  • The syntax is the same as any other hyperlink except instead of embedding text for the user to click on, you embed an image tag inside the hyperlink element.
  • Use any URL to a webpage you want the user to go to when they click on the image.
  • Example of a clickable image:
    <a href=”https://www.amnh.org/dinosaurs/dinosaur-facts”>
       <img “brontosaurus.jpg” alt=”picture of brontosaurus”>
    </a>

13) Include one ordered or unordered list, with at least three list items, on your home page. You can see examples of lists here. Important tips:

  • Your list should contain information relevant to your web page’s topic. Be creative.
  • You can either use <ul> </ul> or <ol> </ol> for the list element (depending on whether you want an unordered bulleted list or an ordered numbered list.
  • The text of your list items goes inside the <li> </li> pairs.
  • No text or other code can go inside the list unless it is contained inside the <li> </li> tags.
  • For example, if you wanted to put line breaks between the list items, the <br> tags need to go inside the <li> </li> elements, like this:
    <ul>
    <li>Tyrannosaurus Rex<br><br></li>
    <li>Velociraptor<br><br></li>
    <li>Triceratops<br><br></li>
    <li>Brontosaurus</li>
    </ul>

14) Before submitting your assignment, validate your HTML file one last time here, using the “Validate by File Upload” option. Note: It is critical that you debug and fix ALL errors identified by the validator before submitting your assignments. Contact your instructor for assistance if you are having difficulty debugging and fixing your errors because it is imperative that all of your code files pass validation.

15) Create a zip archive containing your HTML file and all image files. Make sure you maintain the necessary directory structure in your zip archive so that your webpages will view correctly when unzipped. In other words, if your images are in a sub-folder, in relation to the folder containing your .html file, then you need to maintain that same directory structure in your zip archive, too, including the sub-folder. Submit only the zip file for grading.

 

Rubric for Grading Assignment

Rubric for Grading Assignment

Exemplary

Accomplished

Developing

Beginning

Points Available

Webpage (HTML file) validates without errors at https://validator.w3.org/#validate_by_upload

Student effectively completed the assignment.

Student partially completed the assignment.

The student provided limited and meaningless substance completing the assignment.

Student failed to complete the assignment.

20

Website contains 4-6 full paragraphs of well-written, well-thought-out, creative, attractive, and well-organized original content written by the student

Student effectively completed the assignment.

Student partially completed the assignment.

The student provided limited and meaningless substance completing the assignment.

Student failed to complete the assignment.

8

Correctly written HTML5 DOCTYPE statement: <!DOCTYPE html>

Student effectively completed the assignment.

Student partially completed the assignment.

The student provided limited and meaningless substance completing the assignment.

Student failed to complete the assignment.

  4

Correctly written <html> tag with lang=”en” attribute; and correctly written and nested <head> and <body> tags, with corresponding end tags for all three of these tags

Student effectively completed the assignment.

Student partially completed the assignment.

The student provided limited and meaningless substance completing the assignment.

Student failed to complete the assignment.

  4

Correctly written <title> tag with corresponding end tag.  The text of your title should describe the topic of your web page

Student effectively completed the assignment.

Student partially completed the assignment.

The student provided limited and meaningless substance completing the assignment.

Student failed to complete the assignment.

  4

Correctly written charset, description, keywords, and author meta tags

Student effectively completed the assignment.

Student partially completed the assignment.

The student provided limited and meaningless substance completing the assignment.

Student failed to complete the assignment.

  8

At least three headings, using at least two types of heading tags.  Ex: <h1>, <h2>, <h3>, etc.

Student effectively completed the assignment.

Student partially completed the assignment.

The student provided limited and meaningless substance completing the assignment.

Student failed to complete the assignment.

  4

Correct use of <p> and <br/> tags

Student effectively completed the assignment.

Student partially completed the assignment.

The student provided limited and meaningless substance completing the assignment.

Student failed to complete the assignment.

  4

At least 3 external hyperlinks

Student effectively completed the assignment.

Student partially completed the assignment.

The student provided limited and meaningless substance completing the assignment.

Student failed to complete the assignment.

  16

At least 3 images on your web page (make sure you also include the image files in your zip archive)

Student effectively completed the assignment.

Student partially completed the assignment.

The student provided limited and meaningless substance completing the assignment.

Student failed to complete the assignment.

8

At least 1 clickable image (an image nested inside of a hyperlink)

Student effectively completed the assignment.

Student partially completed the assignment.

The student provided limited and meaningless substance completing the assignment.

Student failed to complete the assignment.

8

One ordered or unordered list, with at least 3 list items

Student effectively completed the assignment.

Student partially completed the assignment.

The student provided limited and meaningless substance completing the assignment.

Student failed to complete the assignment.

8

Correctly created zip archive that contains all files for webpage (maintaining original folder structure)

  • No spaces in file names
  • Home page file named LastFirstHomePage.html (where “Last” and “First” are replaced with your last and first name, respectively)
  • Only create ONE zip file containing all HTML, CSS, image files, etc. Do not zip each file separately.  Do not nest one zip file inside another one.

Student effectively completed the assignment.

Student partially completed the assignment.

The student provided limited and meaningless substance completing the assignment.

Student failed to complete the assignment.

4

Total

100

***Note: Your website must be written in HTML5 and include the correct HTML5 DOCTYPE statement to receive credit for this assignment.

Needs help with similar assignment?

We are available 24x7 to deliver the best services and assignment ready within 3-4 hours? Order a custom-written, plagiarism-free paper

Get Answer Over WhatsApp Order Paper Now

cctvdiss

 Every new tech that is created is a double-edged sword, and the goal this week is for you to look at CCTV from both sides of the proverbial sword. After your readings are completed, you will want to go into your readings and/or do some additional research into the use of CCTV. You are to present to the class two examples of the use of CCTV, one which is centered around the benefits of the technology and another which shows the dangers of the technology. 

 CriteriaExemplaryAccomplishedDevelopingBeginningDid Not AttemptCriterion ScoreDemonstrates Careful Research and Inquiry into Subject50 points

Initial post shows detailed research and original thought beyond the obvious.

42.5 points

Initial post indicates research was thorough and addresses all the requirements.

37.5 points

Initial post relies primarily on a summary of events/information.

32.5 points

Initial post suggests research was cursory or barely addresses discussion topic.

0 points

Initial post gives little indication that research was conducted or is not relevant to the discussion requirement.

Score of Demonstrates Careful Research and Inquiry into Subject,/ 50Engagement with Others30 points

Shows concerted effort to engage with others through timely and detailed responses beyond the minimal requirement and beyond obvious responses. This can include advancing the discussion with:
– Posing a thoughtful question;
– Sharing additional content or sources;
– Sharing insights or offers perspective;
– Providing alternative point-of-view;
– Making additional connections to the topic.

25.5 points

Makes required number of peer responses and engages with all on own thread; engagement with others is focused and on topic.

22.5 points

Makes required number of peer responses and some engagement on own thread; engagement posts are focused and mostly on topic.

19.5 points

Replies only to posts on own thread or only to others’ initial posts.

0 points

Ignores other posts in own thread; does not respond to others’ initial posts; or responds off topic.

Score of Engagement with Others,/ 30Writing Quality20 points

Posts are clear and articulate with no errors. Full citations are provided.

17 points

Post contains less than 2 errors; sources match any direct quotes.

15 points

Posts contains several errors; sources are listed at the end.

13 points

Post contains some erors, uses text-messaging shortcuts, or may be hard to follow. Sources are missing or incomplete.

0 points

Post contains multiple errors; diction is informal and/or inappropriate. No citation/source is provided.

Score of Writing Quality,/ 20TotalScore of STEM470 Discussion Rubric,/ 100

Overall Score

Exemplary

90 points minimum

Accomplished

80 points minimum

Developing

70 points minimum

Beginning

60 points minimum

Did Not Attempt

0 points minimum 

Needs help with similar assignment?

We are available 24x7 to deliver the best services and assignment ready within 3-4 hours? Order a custom-written, plagiarism-free paper

Get Answer Over WhatsApp Order Paper Now

Border Control and Traffic Cameras Research Paper470

 

Instructions

This week in class, we have investigated three different categories of technology: Border Control Technologies, Access Technologies, and Traffic Cameras. You will need to pick a project that falls into one of these categories and write a research paper on the project. You will need to ensure that the following items are covered:

  1. What was the rationale behind the project? Who were the parties pushing the project forward?
  2. How was the project implemented? Was the public involved in any of the planning stages?
  3. What role did privacy play in the project? Was privacy discussed at all?
  4. What fallout, if any, resulted from the project? What could the parties have done to better integrate privacy considerations into the planning process?
  5. Were there ethical questions asked at any point in the project?
  6. What was the final resolution/conclusion that played out on this project?

Needs help with similar assignment?

We are available 24x7 to deliver the best services and assignment ready within 3-4 hours? Order a custom-written, plagiarism-free paper

Get Answer Over WhatsApp Order Paper Now

121css

 

Make sure all of your web pages comply with the HTML 5 standards and CSS standards. DO NOT use obsolete HTML elements and attributes from previous versions of HTML. By including the HTML 5 DOCTYPE declaration in your webpages, and validating all of your HTML files here, you can be sure that your code complies with HTML 5. Starting Week 2, your external style sheet (.css file) must pass validation at the W3C CSS Validation Service. Make sure you use the “Validate by File Upload” option (and NOT the “Validate by Direct Input” option), on both of these validators since this is the way your instructor will check your pages when grading your assignments.

The home page of your website must be named “LastFirstHomePage.html” where “Last” is your last name and “First” is your first name. For example, if your name is John Smith, you would name your home page file SmithJohnHomePage.html Starting with Week 2, you will also have a CSS file linked into every HTML page on your website. Name your CSS file “LastFirstStyleSheet.css” where “Last” is your last name and “First” is your first name. Your website must only have 1 CSS file and that file should be linked into all HTML pages on your website. Additional HTML pages created for your website (During Week 3 through Week 5) should be hyperlinked together through a navigation menu that appears on all pages of your website. Naming conventions for each additional page on your website will be included in each assignment description that requires a new HTML page.

Specific Instructions for Assignment 2:

For this assignment, you will create an external CSS style sheet and link it into the HTML page that you created in Assignment 1. Remember that you are continuing to build on the website you created during Week 1. After completing this assignment, you will create another zip archive containing your HTML file from last week (with the link tag added to it), the CSS file you will create in this assignment, and all image files that are part of your website.

Before proceeding with this assignment, make sure you have read the Week 2 module in the Content area, where the basics of CSS are explained to you. Note that although the Week 2 Content also briefly covers inline CSS and internal style sheets, this assignment only requires you to create an external style sheet. The other methods of incorporating CSS into your website are covered in the content for your information only and are not required to be used in this class.

Complete the following steps for this week’s assignment:

1) Open the HTML file that you created and add the following line of code to the head section of the file, replacing “mystyle.css” with the name you will be giving to your own CSS file, which should be in the form of LastFirstStylesheet.css (Ex.: John Smith’s style sheet would be named SmithJohnStylesheet.css).

<link rel=”stylesheet” type=”text/css” href=”mystyle.css”>

Save your HTML file and then upload it to the HTML validator and check to make sure it still passes validation.

2) Create a new file in your text editor (Notepad++ for PC users, and TextEdit for Mac users). Name your new file LastFirstStylesheet.css replacing Last with your last name and replacing First with your first name (Ex.: John Smith’s style sheet would be named SmithJohnStylesheet.css).

3) Copy the following text into your file:

body {
background-color: lightblue;
}

h1 {
color: darkblue;
text-align: center;
}

Save your file and then upload it to the CSS Validator and make sure it passes validation.

Open your HTML file in the browser and see how it looks with this new stylesheet linked in. If you have properly created your CSS file and properly linked it into your HTML file, your webpage should now have a light blue background and your main <h1> heading should be dark blue and centered.

Open your CSS file in the text editor again to proceed with editing and writing more code.

4) Change the page background color to another color of your choice besides light blue and change the color of your main heading to another color of your choice besides dark blue. You can find additional color names here. Save your CSS file, and re-validate your file here. Also view your page in the browser to see the results of your changes.

5) In your CSS file, create a declaration block for the paragraph <p> element and set the font-family and font-size properties. You can choose the font family and font size that you want for your website. Hint: An example of these properties is shown in the Week 2 module in the Content area of the classroom.

6) In your CSS file, create a CSS class called “boldtext” which can only be applied to the <span> element. In the declaration block for this CSS class, set the font-weight to bold. Hint: An example of this class is shown in the Week 2 module in the Content area of the classroom.

7) In your CSS file, create a CSS class called “italictext” which can only be applied to the <span> element. In the declaration block for this CSS class, set the font-style to italic. Hint: An example of this class is shown in the Week 2 module in the Content area of the classroom.

Save your CSS file, and re-validate your CSS file here.

8) Open your HTML file for editing. Using the <span> element with the class attribute, apply the “boldtext” and “italictext” classes that you created in your CSS file to a few words of text. Apply “boldtext” only to some text, apply “italictext” only to some other text, and apply both classes to yet some other text on your page. Note that “boldtext” should not be applied inside of headings because they are already formatted in bold text by default. Hint: An example of the HTML code you need for this is shown in the Week 2 module in the Content area of the classroom.

Save your HTML file, and re-validate your HTML file here.

Validation Requirements:

Before submitting your web site:

  1. Validate your HTML file here, using the “Validate by File Upload” option, and fix any errors that the validator identifies before submitting your web site for grading.
  2. Validate your CSS file here, using the “Validate by File Upload” option, and fix any errors that the validator identifies before submitting your web site for grading.

Note: It is critical that you debug and fix ALL errors identified by these two code validators before submitting your assignments. Contact your instructor for assistance if you are having difficulty debugging and fixing your errors because it is imperative that your code files pass validation.

Submission Instructions: Create a zip file containing all files related to your web page (.html file, .css file, image files, etc). Make sure you maintain the necessary directory structure in your zip file so that your webpages will view correctly when unzipped. In other words, if your images are in a sub-folder on your computer, in relation to the folder containing your .html file, then you need to maintain that same directory structure in your zip file, too. Submit only the zip file for grading.

 

Rubric for Grading Assignment

Rubric for Grading Assignment

Exemplary

Accomplished

Developing

Beginning

Points Available

Webpage (HTML file) validates without errors here.

Student effectively completed the assignment.

Student partially completed the assignment.

The student provided limited and meaningless substance completing the assignment.

Student failed to complete the assignment.

10

Style sheet (CSS file) validates without errors here.

Student effectively completed the assignment.

Student partially completed the assignment.

The student provided limited and meaningless substance completing the assignment.

Student failed to complete the assignment.

10

Website contains well-written, well-thought-out, creative, attractive, and well-organized content (i.e., uses paragraph, line break, heading tags, and horizontal rules appropriately to organize content)

Student effectively completed the assignment.

Student partially completed the assignment.

The student provided limited and meaningless substance completing the assignment.

Student failed to complete the assignment.

  10

Correct use of all basic elements in a webpage document (Ex: DOCTYPE, html, head, body, meta, title, link, etc.) on every HTML page

Student effectively completed the assignment.

Student partially completed the assignment.

The student provided limited and meaningless substance completing the assignment.

Student failed to complete the assignment.

  10

CSS file is corrected linked into your HTML file with the <link> tag.

Student effectively completed the assignment.

Student partially completed the assignment.

The student provided limited and meaningless substance completing the assignment.

Student failed to complete the assignment.

  10

CSS style sheet contains declaration block for the <body> element, with a background-color (other than light blue) specified.

Student effectively completed the assignment.

Student partially completed the assignment.

The student provided limited and meaningless substance completing the assignment.

Student failed to complete the assignment.

5

CSS style sheet contains declaration block for the <h1> element, with a text color (other than dark blue) specified, and with center alignment specified.

Student effectively completed the assignment.

Student partially completed the assignment.

The student provided limited and meaningless substance completing the assignment.

Student failed to complete the assignment.

  5

CSS style sheet contains declaration block for the <p> element, with font-family and font-size properties specified.

Student effectively completed the assignment.

Student partially completed the assignment.

The student provided limited and meaningless substance completing the assignment.

Student failed to complete the assignment.

  10

CSS style sheet contains two classes for the <span> element. One class sets font-weight to bold, and the other class sets font-style to italic. The <span> element is used in your CSS file to make specific words bold and/or italic (i.e., some bold, some italic, and some both).

Student effectively completed the assignment.

Student partially completed the assignment.

The student provided limited and meaningless substance completing the assignment.

Student failed to complete the assignment.

  20

Correctly created zip file that contains all files for webpage (maintaining original folder structure)

Student effectively completed the assignment.

Student partially completed the assignment.

The student provided limited and meaningless substance completing the assignment.

Student failed to complete the assignment.

10

Total

100

Needs help with similar assignment?

We are available 24x7 to deliver the best services and assignment ready within 3-4 hours? Order a custom-written, plagiarism-free paper

Get Answer Over WhatsApp Order Paper Now

Computer Science Software Engineering – Assignment

UML Diagrams – Using your own examples similar to the examples in the Pressman et al. (2020) (attached), please develop, describe in short their purpose and post the followings for your example:

> Class diagram

> Communication diagram

> Deployment diagram

> Sequence diagram

> State diagram

> Use-case diagram

Outline your plan addressing these issues and other issues, in a 7-9 page APA-formatted paper (with a minimum of 8 peer-reviewed sources). Need introduction and conclusion.

Needs help with similar assignment?

We are available 24x7 to deliver the best services and assignment ready within 3-4 hours? Order a custom-written, plagiarism-free paper

Get Answer Over WhatsApp Order Paper Now

Week 2 Risk

 

It is an accepted truth that without risk there can be no gain. Every individual and organization must take some risks to succeed. Risk management is not about avoiding risks, but about taking risks in a controlled environment. To do this, one must understand the risks, the triggers, and the consequences.

Instructions

Write a 3-4 page paper in which you:

  1. Define risk management and information security clearly. Discuss how information security differs from information risk management.
  2. Explain security policies and how they factor into risk management.
  3. Describe at least two responsibilities for both IT and non-IT leaders in information risk management.
  4. Describe how a risk management plan can be tailored to produce information and system-specific plans.
  5. Use at least two quality resources in this assignment. Note: Wikipedia and similar websites do not qualify as quality resources. The Strayer University Library is a good source for resources.

Your assignment must follow these formatting requirements:

  • This course requires the use of Strayer Writing Standards (SWS). The library is your home for SWS assistance, including citations and formatting. Please refer to the Library site for all support. Check with your professor for any additional instructions.

The specific course learning outcome associated with this assignment is:

  • Assess how risk is addressed through system security policies, system-specific plans, and contingency plans.

Needs help with similar assignment?

We are available 24x7 to deliver the best services and assignment ready within 3-4 hours? Order a custom-written, plagiarism-free paper

Get Answer Over WhatsApp Order Paper Now

Dataset compare chart

Compare across a set of variables that might be meaningfully related, and then discuss what the comparison shows in text. Note that to make a table or chart from these variables, you would have to set it up yourself using the means you computed from the data 

You can choose one of two sets below to run the comparison, whichever is the simplest

* relationship to transportation are ordinal

*locating_counseling to communicating_with_professor

* locate_counseling to communicate_with_professor are all nominal

There are three options you can choose from far as the comparisons; the comparisons are side by side. (for example relationship to transportation)

Attachments: For the excel sheet- You should be analyzing sheet 1 for the data for the variables and I have also attached the codebook if you need it.

Needs help with similar assignment?

We are available 24x7 to deliver the best services and assignment ready within 3-4 hours? Order a custom-written, plagiarism-free paper

Get Answer Over WhatsApp Order Paper Now

IT 544 Unit 5

 

IT544-2: Analyze the cybersecurity software development life cycle (SDLC).

Scenario

You recently took a position as a cybersecurity analyst for a small software company. The software company currently has three commercially available off-the-shelf software products that are sold to businesses and/or organizations (B2B). They can range from small companies to very large companies, including those in the Fortune 500. One of their products has been identified by CERT to have several vulnerabilities. Since this event occurred, the chief cybersecurity officer (CCSO) suspects that not enough security is built into the software development process used at the company. You have been asked by the CCSO to conduct a cyberattack surface analysis on one of their Web-based products in an effort to improve the software development process.

For the assignment, assume that the presentation layer resides on a dedicated server in the company’s DMZ. The other two layers of the software are behind the corporate firewall and can reside on one or two dedicated servers. The Web application is accessible from the Internet and is browser based. Firefox, Chrome, Internet Explorer, and Safari are the supported browsers.

Assignment Instructions

For Assignment purposes, select a multi-layered (presentation layer, business layer, and database layer) web-based open source project in place of the software company’s web-based product. In place of the open source project, if you are familiar with another web-based system that meets the requirements, then discuss using it with your instructor.

Examples of multi-layered open source projects/products include:

  • Office Libre
  • Facebook
  • Mozilla Firefox
  • GIMP (for web development)
  • Audacity
  • WordPress
  • MySQL

You will conduct a cyberattack surface analysis on the system/application you selected. Focus your analysis from an external cyberattack point of view. It is not necessary to focus on end user cyberattacks (social engineering attacks, etc.).

  • Define the cyberattack surface (including operating systems and web servers) by identifying and mapping the cyberattack vectors.
    • Categorize what was identified
    • Describe three use cases that involve the attack surfaces
  • Create a graphic representation of the attack surface with labels (Use Visio or any other open source diagramming or drawing tool).
  • Discuss how the attack surface can be reduced.

Your attack surface analysis can be done mentally and on paper or you can use an open source attack surface analyzer (OWASP’s Zap is one example).

Assignment Requirements:

  • 3–4 pages of content (exclusive of title page and reference page), double-spaced in 12pt Times New Roman font, using correct APA formatting and including a title page and reference page
  • At least one credible source.
  • Correct spelling and grammar.
  • Correct APA formatting.

Needs help with similar assignment?

We are available 24x7 to deliver the best services and assignment ready within 3-4 hours? Order a custom-written, plagiarism-free paper

Get Answer Over WhatsApp Order Paper Now