Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask Electrical & Electronics Expert

TASK:

problem 1: A company requires a software application to find out the weekly payment for its employees. The information about the employees (employees’ data) is kept in a file. Each line in the file contains the employee name and number, the pay rate and the number of hours worked in a week.

The application should provide the following functionalities:

• Read the employee’s data and verifies its validity (all numbers should be positive)

• find out the employee’s weekly pay

• Print the employee’s weekly pay together with the employee’s data.

The pay rate for all the employees is £20.00 per hour when the working time is equal or less than 40 hours per week. For the time worked over this number of hours, the pay will be find outd doubling the actual time worked.

Solve this problem applying all the steps of a problem solving strategy (problem understanding, algorithm and testing). Present the algorithm as a structured flowchart and pseudocode. Make sure you apply all the good practice guidelines you were advised in presenting the algorithm.

ASSESMENT CRITERIA:

Problem understanding: Correct and complete description of the solution.

Flowchart: Correct and complete representation of the structured flowchart, in agreement with the solution proposed.

Pseudocode: Correct and complete representation of the solution as pseudocode in agreement with the flowchart proposed.

Testing: Correct and complete testing of the algorithm with the necessary number of test cases (detailed desk checking).

SUBMISSION INSTRUCTIONS:

The assignment should be presented as a written report containing all the relevant information for the problem. Ensure that you describe well your work such that the assessor can understand the solution you propose. Be, however, concise, and include only the essential information.

Electrical & Electronics, Engineering

  • Category:- Electrical & Electronics
  • Reference No.:- M9400

Have any Question? 


Related Questions in Electrical & Electronics

Assume that the diode in figure p89 requires a minimum

Assume that the diode in Figure P8.9 requires a minimum current of 1 mA to be above the knee of its i-v characteristic. a. What should be the value of R to establish 5 mA in the circuit? b. With the value of R determined ...

A boost converter has a source voltage vs20v and a load

A boost converter has a source voltage v s =20V and a load resistance R=10Ω. If the duty ratio of the transistor is 50%, compute the voltage across the load and the power consumed by the load.

A 10-hp 230-volt shunt-wound motor has rated speed of 1000

A 10-hp, 230-volt shunt-wound motor has rated speed of 1,000 rev/min and full-load efficiency of 86 percent. Armature circuit resistance is 0.26 Ω; field-circuit resistance is 225 Ω. If this motor is operating under rate ...

The capacitor of given figure is initially charged to 3 v

The capacitor of given figure is initially charged to 3 V with the polarity shown. a. Write the mathematical expressions for the voltage v C  and the current i C  when the switch is closed. b. Sketch the waveforms of v C ...

Write boolean equations for a bcd decoder that is a decoder

Write Boolean equations for a BCD decoder, that is, a decoder that has a BCD code word as input and that has outputs y0 through y9. Draw a circuit that uses AND and OR gates and inverters to implement the decoder.

The capacitor of given figure is initially charged to 4 v

The capacitor of given figure is initially charged to 4 V with the polarity shown. a. Write the mathematical expressions for the voltage v C  and the current i C  when the switch is closed. b. Sketch the waveforms of v C ...

The data below relate to failures of terminations in a

The data below relate to failures of terminations in a sample of 20 semiconductor devices. Each failure results from breaking of either the wire (W) or the bond (B), whichever is the weaker. The specification requirement ...

Consider a system with a total of 150 units of memory

Consider a system with a total of 150 units of memory, allocated to three processes as shown: Apply the banker's algorithm to determine whether it would be safe to grant each of the following requests. If yes, indicate a ...

Three 20-kva 24000277-v distribution transformers are

Three 20-kVA 24,000/277-V distribution transformers are connected in D-Y. The open-circuit test was performed on the low-voltage side of this transformer bank, and the following data were recorded: (a) Find the per-unit ...

For the high-pass rc network shown letnbspnbspis white wss

For the high-pass RC network shown, let   is white, WSS, Gaussian noise and   is a random variable uniformly distributed over Assuming zero initial conditions: (a) Find the output mean and variance. (b) Find and plot the ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

A cola-dispensing machine is set to dispense 9 ounces of

A cola-dispensing machine is set to dispense 9 ounces of cola per cup, with a standard deviation of 1.0 ounce. The manuf

What is marketingbullwhat is marketing think back to your

What is Marketing? • "What is marketing"? Think back to your impressions before you started this class versus how you

Question -your client david smith runs a small it

QUESTION - Your client, David Smith runs a small IT consulting business specialising in computer software and techno

Inspection of a random sample of 22 aircraft showed that 15

Inspection of a random sample of 22 aircraft showed that 15 needed repairs to fix a wiring problem that might compromise

Effective hrmquestionhow can an effective hrm system help

Effective HRM Question How can an effective HRM system help facilitate the achievement of an organization's strate