Sort the array and write out the sorted array

Assignment Help Basic Computer Science
Reference no: EM13230653

I'm not really sure how to answer the question below. There are two parts. Any help would be appreciated.
Question:
Consider a program that will read employee information into an array of objects, sort the array by employee identification number, write out the sorted array, and compute various statistics on the data, such as the average age of an employee.

A) Write complete specifications for this problem and design a modular solution. What classes and methods did you identify during the design of your solution?

B) Write specifications, including preconditions and post-conditions, for each method. Write specifications for a function that advances any given date by one day.

 

Reference no: EM13230653

Questions Cloud

Efficiency challenges at the cafe and harm the business : From the scenarios, Chris and Erica are faced with efficiency challenges at the café. Explain how these challenges could potentially harm the business, and suggest a brief plan to improve on efficiency and customer satisfaction.
Create a japplet that contains a jlabel and jbutton. : Create a JApplet that contains a JLabel and JButton. You'll create a JButton that will automatically change font typeface, style, and size when clicked by the user. Change the font typeface, style, and size on the JLabel.
Compute the percentage of carbon in the sample : 2121g sample of an organic compound was burned in a stream of oxygen adn the CO2 produced was collected in a solution of barium hydroxide. Calculate the percentage of carbon in the sample if .6006 g of BaCO3 was formed
Explain the metabolic : Name at least four metabolically signifant membrane bound cellular compartments and the metabolic pathways that take place with each compartment
Sort the array and write out the sorted array : Consider a program that will read employee information into an array of objects, sort the array by employee identification number, write out the sorted array, and compute various statistics on the data, such as the average age of an employee.
What is the simple rate of return on the machine : The machine is being depreciated using the straight line method, based on its useful life. It has a payback period of four years. What Is the simple rate of return on the machine?
What should a short-term or long-term consequence : What should a short-term or long-term consequence make a difference in resolving an ethical dilemma?
Rosen argues that hostile environment sexual harassment : Rosen argues that hostile environment sexual harassment should be prosecuted as a violation of the right to privacy rather than discrimination.
Aspect of consumer buying behaviour theory : Choose an aspect of consumer buying behaviour theory from the list below. Carry out a critical investigation of how it can be used advantageously in the marketing of a product/service/brand* of your choice.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  8-bit registers are there in the intel 80x86 cpu design

In total, how many 8-bit registers are there in the Intel 80x86 CPU design presented in class? Name one of these 8-bit registers.

  Advantages and disadvantages of asymmetric or symmetric key

The Institute has collaborated with XYZ inc. for research on genetics. Information should be kept top secret at any cost. At ABC Institute, researchers are not sure about kind of key.

  A disadvantage of the content of approach for lans

A disadvantage of the content of approach for LANs, such as CSMA/CD, is the capacity wasted due to multiple stations attempting to access the channel at the same time. Suppose that time is divided into discrete slots, with each of N stations attempti..

  Explain whetherucita should or should not be adopted

What are your arguments in support of these points? You really did not answer the question as these don't really explain whether you believe the UCITA should or should not be adopted.

  What is the standard deviation for the true error rate

Consider a learned hypothesis, h, for some boolean concept. What is the standard deviation and the 95% confidence interval for the true error rate for Errorv(h)?

  Determine probability that selected cobalt gets more miles

Standard deviation 3.5 miles per gallon. Determine the probability that the randomly selected Cobalt gets more than 34 miles per gallon.

  Kinds of system-building methods used by dorfman

Recognize the kinds of system-building methods used by Dorfman to create its wireless warehouse system. Explain the methodologies you would recommend

  Member functions for returning the monthly payment

Your loan class should have member functions for setting the loan amount, interest rate, and number of years of the loan. It should also have member functions for returning the monthly payment amount and the total amount paid to the bank at the en..

  Create a card class that models a single playing card

Create a 'Card" class that models a single playing card.

  Determine output of convolution at center entry of subimage

Convolve subimage given below with a 3x3 mean filter. Determine the output of convolution at center entry of subimage? What about if you use 3x3 median filter?

  Cyclic codes using generator to compute frame check sequence

This question associates to cyclic codes using generator G(X) = X4 + X2 + 1. For following two messages compute Frame Check Sequence. M1 = 00000001, and M2 = 100000. Skecth shift register circuit.

  Define the balance for some of the accounts

Define the balance for some of the accounts to be less than $500 and some to be more than $500. After you have created your accounts print your account list, then withdraw $500 from all accounts and redisplay your list.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd