Discussion Topic

 

Post a total of 3 substantive responses over 2 separate days for full participation. This includes your initial post and 2 replies to other students.

Due Thursday

Respond to the following in a minimum of 175 words:

  • Most schools and businesses require some standard style of documentation for written reports. Discuss why that might be.
  • What disadvantages, if any, might there be to insisting that all reports conform to a certain style?

Due Monday

Reply to at least 2 of your classmates. Be constructive and professional in your responses.

The file Sorts.java contains

1. The file Sorts.java contains several different sorting methods that operate on integer

arrays. We want to make these algorithms generic, like we did with the Search methods,

so that they will work on any object type.  To do this, convert the static methods to generic

methods using the same steps as in Homework 5. Be careful to consider which method

parameters (and possibly, local variables) must also be converted to use the type

parameter.

As with the search methods, sorting methods must use the compareTo method when

comparing objects to determine their order. So again we have to ensure that objects in the

arrays we sort implement the Comparable interface and modify the code to

use compareTo in place of  greater than/less than operators.  Refer back to Homework

5 and the referenced section of  the textbook.

2. Add a method isSorted to this class. This method is for determining if  an array is

sorted or not, and should also be a generic method.

3. As with the methods in Searches.java, if  I give you an array of  objects to sort that don’t

implement Comparable, the sorting method will fail (hopefully at the compile stage!).

To ensure that the type parameter used by our generic methods “screens out” object types

that aren’t searchable or sortable, replace the simple type parameter in the method header

(after the keyword static) with the following:

>

By adding this more complex form of  type parameter, things that can’t be compared

won’t compile if  someone tries to pass an array of  a non-comparable type. Furthermore,

things that inherit from a class that implements Comparable will work.

4. Test that arrays of  type String work with your methods by writing a test program in a

separate class to test your changes to the Sorts class. This program will perform the

following operations:

◦ open a file (you’ll get the file’s name from the command-line) that contains a

count, then a list of  dictionary words, one word per line

the first line in the file is the number of  words in the file; use this to create an

array of  the proper size

◦ read words from each subsequent line of  the file into the array 

test each sorting method as described below 

5. Download and use these test files: american-words.35, american-words.80, dictionary.txt,

and large file of  unsorted strings (the first three files are already sorted). 

  

6. Write a real simple program to test that an array of  some non-comparable type does

NOT work. Use your Polynomial class for this test. 

Part 1: Questions

1. (2 points) When deriving a new class from an existing class using inheritance, which

instance variables are accessible to the derived class? Write down the best answer:

 

1.

those with the private access modifier

2.

those with the protected access modifier

3.

those with no access modifier

4. both 1 and 2

5. both 2 and 3

 

2. (2 points) Show a simple example of how an alias is created in Java. For this example,

you might use String objects.

 


3. (4 points) Read the code below and determine what is output when it runs. Write out your

answer and show the contents of the array tee. Assume uninitialized array slots contain

0.


int[] ess;

int[] tee;

ess = new int [8];

ess[4] = 101;

tee = ess;

ess[4] = -3;

System.out.print(tee[6]);

 

4. (4 points) Give the order of growth estimate of the following functions using Big-O

notation:

 

◦ 13N + 2

 

◦ 13N + 2 + N

2

 

   

◦ 13N + 2 log2N

 


◦ 3N log2N + 23N

 

Part 2: Stack Questions (26 points)

1. (9 points) Practice your understanding of stacks by drawing the abstact diagram of a stack

and its contests after each stack operation. If there is no change to the stack’s state after an

operation, just say “No Change.” Be sure to label the top of stack:

LinkedStack stk = new LinkedStack();

stk.push(7);

stk.push(5);

stk.push(4);

int x  = stk.top();

stk.pop();

int y  = stk.top();

stk.pop();

stk.push(x + y);

int x  = stk.top();

int y  = stk.top();

stk.push(x * y);

stk.pop();

2. (9 points) Assume we’re using a LinkedStack to implement the stack from the

previous problem. Show the state of the stack after each instruction executed in the above

problem. Be sure to label the top of stack properly.

 

3. (4+4 points) Using the code for  class LinkedStack in your text, show how to add

methods equals and toString, for a stack. Just write these out here, don’t print out

the whole class.

Two stacks are equal if they have the same size, and contain the exact same items in the

same order.

The string representation toString should return of a stack is just the

word Top: followed by each element separated by a space. Note this does break the stack

discipline (that you can only see the first item in the stack) but is useful for debugging

applications that use the stack.

Se494 assignment 8

Submit the following Cpp files before the Sunday deadline 

  • LastNameW8Ex1.cpp
  • LastNameW8Ex2.cpp
  • LastNameW8Assigment.cpp

Week8_ModularProgrammingWithCPP.pdf

https://cdn.inst-fs-iad-prod.inscloudgate.net/ed987c5b-3b54-47e4-9a8d-a5851f495d62/Week8_ModularProgrammingWithCPP.pdf?token=eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCIsImtpZCI6ImNkbiJ9.eyJyZXNvdXJjZSI6Ii9lZDk4N2M1Yi0zYjU0LTQ3ZTQtOWE4ZC1hNTg1MWY0OTVkNjIvV2VlazhfTW9kdWxhclByb2dyYW1taW5nV2l0aENQUC5wZGYiLCJ0ZW5hbnQiOiJjYW52YXMiLCJ1c2VyX2lkIjpudWxsLCJpYXQiOjE2NTMzODM1MzIsImV4cCI6MTY1MzQ2OTkzMn0.1snVguHYTXpFmWnNxSKs8U1sQICwwrL2g4qG5xU98xcRetRKNa6gCj825t6Ezq37OLq4ODiekzOLJ_0Cmr031g&download=1&content_type=application%2Fpdf

Choosing a Methodology

 

Assignment Content

  1. A project plan is a document created at the beginning of the project lifecycle that gives stakeholders and everyone else involved a clear idea of what the project will entail in terms of effort, time, cost, and anticipated results. 

    The methodology or approach the project manager plans to use to manage the project must be identified before the project plan can be created. Choosing a methodology is important because a methodology provides the framework—that is, an overall process and suggested documents and deliverables—that will guide project development from beginning to end. Some project methodologies are more appropriate for some types of projects than for others. 

    Over the next few weeks you will develop pieces of a project plan. This week you will determine your methodology based on project requirements and the components needed in your plan.

    Read the Manage Your Health Inc. Case Study and complete the assignment below.

    Consider the differences between Agile and waterfall.

    Select 1 methodology to use for a project plan for this initiative.

    Create a simplified project plan such as the examples listed in the “Tips” section below. Include, at least, the following criteria:

    • Name of task
    • Duration
    • Predecessors
    • Notes
    • After completing your simplified project plan, write a 175-word paragraph and complete the following:
    • Define which methodology, Agile or waterfall, is most appropriate for this project. Why? Cite at least 2 sources to support your rationale.
    • Describe the following roles for this project: project manager, project sponsor, business analyst, and scrum master or program manager.
    • You may create your simplified project plan using Microsoft® Excel® or another software application of your choice. 

       

Cryptography

Analyze the history of Caesar Cypher and its impact on cryptography 

500 words with APA format and references needed.

Software engineering-1

 What is the most important difference between generic software product development and custom software development? What might this mean in practice for users of generic software products?(Review Chapter 1). 

Operation excellence

 

OE-3

1.  What were the first four locations hooked up to the Internet (ARPANET)?

2.  What does the term packet mean?

3.  Which came first, the Internet or the World Wide Web?

4.  What was revolutionary about Web 2.0?

5.  What was the so-called killer app for the Internet?

6.  What does the term VoIP mean?

7.  What is a LAN?

8.  What is the difference between an intranet and an extranet?

9.  What is Metcalfe’s Law?

10. What is the difference between the Internet and the World Wide Web? Create at least three statements that identify the differences between the two.

11. Briefly define each of the three members of the information security triad.

12. What does the term authentication mean?

13. What is multi-factor authentication?

14. What is role-based access control?

15. What is the purpose of encryption?

16. What are two good examples of a complex password?

17. What is pretexting?

18. What are the components of a good backup plan?

19. What is a firewall?

20. What does the term physical security mean?

21. Find the information security policy at your place of employment or study. Is it a good policy? Does it meet the standards outlined in the chapter?

22. How diligent are you in keeping your own information secure? Review the steps listed in the chapter and comment on your security status.

23.  Discuss how learning changes over time impact organizational culture.  What is the impact of this cultural change on the success of IT projects?

24. Review the Roles of Line Management and Social Network and Information Technology sections.  Note the various roles in the organization and note the similarities and differences within each role.  Also, note how innovation technology management shapes how we communicate amongst coworkers within an organization. 

Modify the Bookstore Program

  

Modify the Bookstore Program to include the following additional functionality:
 

o Add an Add button to the GUI. When clicked, the user should be allowed to enter the ISBN, title, author, publisher, year published and the price. The new inventory item should be sorted and then displayed.
 

o Add a Delete button to the GUI. When clicked, the current inventory item should be removed from the inventory. User should receive confirmation of the deletion. The next item in the inventory should be displayed.
 

o Add a Modify button to the GUI. When clicked, the user should be allowed to modify the title, author, publisher, year published and the price. The modified inventory item should be displayed.
 

o Add a Save button to the GUI. When clicked, the entire inventory should be saved to C:datait215bookinventory.dat. Note: Exception handling should be used to create the directory and file if necessary.
 

o Add a Search button to the GUI. When clicked, the user should be allowed to search for an item in the inventory by the title. If the book is not found, the GUI should display an appropriate error message. If the product is found, the GUI should display that product’s information in the GUI.

Computer-Based Decision Modeling – Module 2 Discussion

I need assistance with a study guide that describes data visualization. I would like to discuss how one data visualization design choice may be beneficial over another. (For example: pie, bar, bubble, heat map).  I have to provide at least one example where the choice could make a difference to the decision maker over another