Pseudocode assignment to generate pseudocode enforcing the solution on paper first ethos.

Authors Avatar

CO1000A Pseudocode Assignment  Worth 30%

PSEUDOCODE ASSIGNMENT

DEADLINE: By the 28th  of November 2003

PLEASE TAKE YOUR ASSIGNMENT TO THE APPROPRIATE BOX ACROSS THE MODULAR OFFICE


Objective: To generate pseudocode enforcing the solution on paper first ethos.        

Marks

Q1        10%

Q2        15%

Q3        20%

Q4        20%

Q5        10%

Q6        25%

Plagiarism will be penalised heavily. No late entries. First read the example at the end and then for the pseudocode exercises follow the same presentation. Your answers to all questions MUST be wordprocessed (i.e. not hand written) – ZERO MARKS for hand written.


  1. Write pseudocode for a program that given an employee name and surname, reads the hours worked on each day of the week (Monday to Friday) and his/her hourly rate of pay.

The program must total the hours worked and calculate and display the employee’s gross pay.

Note: You are only required to calculate gross pay: not tax, N.I, net pay etc.

Test the pseudocode using the data in the test table

  1. Write pseudocode for a program that processes a list of positive integers, until the User enters ‘-99’ (without the quotes)
Join now!

Output the total, the average, the smallest and the largest of the list.

Note: The exact amount of numbers to be entered may vary.

Test the pseudocode using the data in the test table.

  1. Write pseudocode that will add up some numbers entered by the user and print out the total. The numbers can be of any type. Start by asking the user how many numbers s/he has. Then read in the numbers one at a time. Each time you read a number, add it to a variable named, for ...

This is a preview of the whole essay