Write a program that generates n random integers between 0 and 9 and displays the count for each number. (Hint: Use an array of ten integers, say count, to store the counts for the number of 0s, 1s, . . . , 9s.)

 

Write a program that generates n random  integers between 0 and 9 and displays the count for each number. (Hint:  Use an array of ten integers, say count, to store the counts for the  number of 0s, 1s, . . . , 9s.)

A modular program is expected – use Methods. The program specifications are as below. 

  1. In the main() method, declare an int array of size 10, named count.
  2. Implement a method populateCount(int[] cnt) that initializes the array to zero.
  3.  Implement a method countNums(int[] cnt, int n) that accepts  the count array and an integer n. The method should generate n random  numbers in the range of 0 to 9. It should keep a count of how many times  each number, 0 to 9; is generated in the array count. 
  4. Implement a method printNums(int[] cnt) to print the count  array.  Note, print “time” or “times” – which ever is appropriate. 
  5. Use basic structured programming and procedural programming.
  6.  Write a main() method that declares the count array. Invokes  the countNums() method with n = 10 followed by invoking the printNums().  Then invokes the countNums() method with n = 100 followed  by printNums(). And again, invokes the countNums() method with n =  1000 followed by printNums(). 
  7. Make sure you invoke  the populateCount(int[] cnt) method at appropriate times. And write out  the heading for each set, n = 10, 100, and 1000.
  8. Documentation. Includes your name, create date and purpose of lab.

Project Part 4: Business Impact Analysis (BIA) and Business Continuity Plan (BCP)

 

Project Part 4: Business Impact Analysis (BIA) and Business Continuity Plan (BCP)

Senior management at Health Network has decided they want a business impact analysis (BIA) that examines the company’s data center and a business continuity plan (BCP). Because of the importance of risk management to the organization, management has allocated all funds for both efforts. Your team has their full support, as well as permission to contact any of them directly for participation or inclusion in the BIA or BCP.

Winter storms on the East Coast have affected the ability of Health Network employees to reach the Arlington offices in a safe and timely manner. However, no BCP plan currently exists to address corporate operations. The Arlington office is the primary location for business units, such as Finance, Legal, and Customer Support. Some of the corporate systems, such as the payroll and accounting applications, are located only in the corporate offices. Each corporate location is able to access the other two, and remote virtual private network (VPN) exist between each production data center and the corporate locations.

The corporate systems are not currently being backed up and should be addressed in the new plan. The BCP should also include some details regarding how the BCP will be tested.

For this part of the project:

  1. Research BIAs and BCPs.
  2. Develop a draft BIA plan for the Health Network that focuses on the data center. The BIA should identify:
    1. Critical business functions
    2. Critical resources
    3. Maximum acceptable outage (MAO) and impact
    4. Recovery point objective (RPO) and recovery time objective (RTO)
  3. Develop a draft BCP that could recover business operations while efforts are ongoing to restart pervious operations. You may use or repurpose a BCP template you find online. Include a description of how you would test the plan.

Submission Requirements

  • Format: Microsoft Word (or compatible)
  • Font: Arial, size 12, double-space
  • Citation style: Your school’s preferred style guide

Estimated length: 6–10 pages

Unit 6 Assignment: Draft Final Project Part III: Securing and Maintaining the Network

Follow PDF 

attached are part 1 and 2 I need part 3 done 

when you complete it please answer the following question

  Provide the instructor with a short (8-12 sentence) reflection on the progress your group has made so far.

  • What do you like about the way the final project is going?
  • What are you unsure about?
  • What have you learned during this process that will be useful to you in your career? 

This is a chance to ask direct questions to your instructor before submitting your final project in Unit 7.  

We assume that the standard input contains a sequence of non-zero integers between – 121 and 121, which ends with 0. This sequence will be given by the user

 Write an algorithm, called Decomposition_Powers_Three, which produces the  decomposition of each integer using powers of 3, namely 1, 3, 9, 27, and 81, and the +  and – operators. Each power of 3 should appear at most once in the decomposition. Examples: 1 = 1  2 = 3 – 1  3 = 3  4 = 3 + 1  7 = 9 – 3 + 1  14 = 27 – 9 – 3 – 1  43 = 81 – 27 – 9 – 3 + 1  121 = 81 + 27 + 9 + 3 + 1 2. Show that the algorithm Decomposition_Powers_Three is correct using an informal proof  (i.e., discussion). 3. Give a program corresponding to Decomposition_Powers_Three, using any of your  favorite programming languages. Observation: The intervals [-121,-41], [-40,-14], [-13,-5], [-4,-2], [-1,-1], [1,1], [2,4], [5,13],  [14,40], and [41,121] play a particular role. 

Develop a Java application that plays

  

Develop a Java application that plays a “guess the number” game as described below.
a) Your application first gets a random number in the range 1-1000 inclusive (you might want to use Math.random() or the Random class).
b) The application then displays the following prompt (probably via a JLabel):
I have a number between 1 and 1000. Can you guess my number?
Please enter your first guess.
Post a textbox for the user to enter a number and post a message telling the user to hit ‘Enter’ after entering a guess in a textbox (probably using a JTextField).
c) Input the user’s guess in the code for a previously-registered event-handler method (consider using the event-handling approach discussed in the text, or the actionPerformed() method of class based on the ActionListener interface, which will require some additional research outside the text).
d) For the first guess, color the entire background red, meaning that they are getting warmer (you might want to use the setBackground() method for a container). If this is the second or later guess, and they are further from the correct number than the last guess, then color the entire background blue. If they get the correct number then color the background some other color than red or blue.
e) If the user guessed the number correctly, respond with their number, post a congratulatory message, get a new random number, and display a JButton to start a new game. Otherwise, to help the user close in on the correct number, post a message, with their guessed number, whether they are “TOO HIGH” or “TOO LOW” from the correct number, and whether they are “WARMER” or “COLDER” (this should match the background color). Also report the guess number of the next guess (e.g. “Enter guess number nnn”). You might want to use a concatenated string in JLabel for these incorrect guess messages.
f) The process is repeated each game until the user guesses the correct number. Be sure that you erase obsolete status messages. 

Nework Analogy, PLEASE READ!

 

In this assignment, you will write up your own network analogy.  The analogy in the lesson used snail mail (included below for your review) so you will make your own using some other concept. For example, you could go big as a country or go smaller and use a school, office, your home, or something else. The more creative the better but it must be clear that you understand the flow of information. Make sure to reference the TCP/IP model and use other terms that you learned in this module. Additional independent research is strongly encouraged for any terms or concepts that you are not completely clear on.

  1. Review the module sections, do some research and then some brainstorming and develop a network analogy like the one in the module and shown below.
  2. You will need to demonstrate that you understand the terminology and the flow of the information and how each stage of information flow works.  You must explain in some detail what is occurring at each ‘stop’, how, and why when possible.
  3. Submit your analogy in well-formed sentences and paragraphs.

Minimum requirements:

  • A minimum of three full paragraphs.
  • Submit only one document via the link title above.
  • Use paragraph structure. Use complete sentences and proper grammar and spelling.
  • Include a cover page that contains your group name, the assignment name, the names of all group members and the course code from page two of the syllabus.
  • Your document must be one of the following formats (.doc, .docx, or .rtf).
  • Cite any and all sources.

Discussioon 250 words

 It is important to understand that humans and technology interact in all information systems. Why do you feel businesses must spend time and money to educate their employees on security matters? 

Human Computers

first video: https://youtu.be/m13Jrk-cUmo

second video: https://youtu.be/eE69LKO4dCQ

Introduction

Before the 1950s, “computers” were human, they were not machines. The first human computers appeared in the mid-1700s when people wanted to solve big, complex problems by approximation and repetitive solutions, such as determine when Halley’s Comet would return. Scientists realized that they could break complicated calculations apart so that a team could work on them. Human computers also adopted Industrial Revolution methods such as specialization, division of labor, and mass production. The field reached its peak during WWII. As electronic computers took over calculation-intensive work, some human computers became programming pioneers.

Answer questions on Human computers 

  • Why are mathematical computations important to human progress? Give examples throughout history and imagine technologies that can benefit from mathematical computations in the future.
  • What was the meaning of the word “computer” in the past and how is it different from the current definition?
  • How did new manufacturing strategies in the Industrial Revolution transform human computing? 
  • What effect did mainframe computers have on human computing?