PROGRAMMING PROJECT (LEVEL 1)
Mr. Lim runs a small factory. Currently, his clerk is calculating the employees WEEKLY GROSS PAY manually.
This has been difficult with the raising number employees lately.
So, you are asked to develop a program that will determine the WEEKLY GROSS PAY for each employee of a
company. After interviewing the clerk, you got to know that he gross pay of 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.)
State the purpose of the program: ___________________________________________________________
ii.)
State a constant for this project : __________________________
iii.)
Complete the Input Process Output (IPO) Diagram given below.
INPUT
PROCESS
State the phase in which this IPO Diagram is done
iv.)
v.)
OUTPUT
: _____________________________________
Besides making an IPO Diagram, what are the other activities carried out in the Phase mentioned above.
a.)
____________________________________________________________________
b.)
____________________________________________________________________
c.)
____________________________________________________________________
d.)
____________________________________________________________________
A Top-Down Design Model is created in the Second Phase which is the Design Phase. Draw a Top-Down
Design Model for this project.
vi.)
Write a Pseudo Code for this project.
State the phase in which Pseudo Code is done
vii.)
: _________________________________
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 : _________________________________
viii.)
Draw an Input Interface and an Output Interface for this project.
Input Interface
Ouput Interface
ix.)
List the documentations created in the Design Phase.
a.)
____________________________________________________________________
b.)
____________________________________________________________________
c.)
____________________________________________________________________
d.)
____________________________________________________________________
x.)
xi.)
xii.)
Name the third phase in program development
: ____________________________________
Code the program with Ms Visual Basic 6.0. Include Global Comment and Internal Comment in your
source code.
Name the fourth phase in program development
: ____________________________________
List the types of errors that could be identified in this phase.
a.)
____________________________________________________________________
b.)
____________________________________________________________________
c.)
____________________________________________________________________
xiii.)
Print and paste the Error-free Program Listing (Source Code) for this project.
xiv.)
Complete the table below
Phase
1
2
3
4
5
xv.)
Documentation
Problem description
IPO Diagram
Top-down Design Model
Pseudo Code
Flowchart
Input & Output Interface
Comments within the source program (Global Comment and
Internal Comment)
Error-free program listing
User Manual
The last phase (fifth phase) of program development is the Documentation Phase. In this phase, programmer
will compile the Problem description and __________________________ done in the Analysis Phase,
Top-down Design Model, Pseudo Code, __________ and Input & Output Interface done in the Design Phase,
write the Comments within the source program done in the Coding Phase,
print the Error-free program listing done in the Testing and Debugging Phase.
Finally, the programmer will create/write _____________________ for the program.
xvi.)
Create a User Manual for your program.
xvii.)
Explain the importance of documentation.