Programming project level 3

Page 1

PROGRAMMING PROJECT (LEVEL 3) The junior workers are not happy about the INCENTIVE BONUS paid to senior workers. They demanded Mr. Lim to pay the bonus for them as well. However, Mr. Lim decided to pay the INCENTIVE BONUS of RM100 for either senior employees or for any employee who works for more than 40 hours weekly. So, you are asked to modify and upgrade again the program that you had modified and upgraded earlier. Based on the documentations of the previous program, you learned that the WEEKLY GROSS PAY for each employee is calculated using the following formula: WEEKLY GROSS PAY = ( NUMBER OF HOURS WORKED Ă— HOURLY RATE ) The HOURLY RATE for all the employees is RM4.50. The program must show the NAME, STAFF ID and the WEEKLY GROSS PAY of every employee. i.)

Write a Pseudo Code for this project.

State the phase in which Pseudo Code is done

: _________________________________

1


ii.)

Besides Pseudo Code, a programmer draws Flow Chart in order to design his/her program. Draw a Flow Chart for this project.

State the Control Structure used in this project : _________________________________

2


iii.)

Edit the source program with Ms Visual Basic 6.0. Include edition of Global Comment and Internal Comment in your source code.

iv.)

Print and paste the Error-free Program Listing (Source Code) for this project.

v.)

Fill in the table below with the operators used in the project Mathematical Operator(s) Name Symbol

vi.)

Relational Operator(s) Name Symbol

Logical Operator(s) Name Symbol

Complete the table above with other operators that you know but not used in this project.

3


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.