You are on page 1of 7

E. Assessment Tasks 1.

Develop and illustrate the program logic for a payroll system that computes the weekly gross income of the employees. It should follow the operational conditions below: a. When the application has been executed, it will ask the user for the employee code. b. When the employee code has been entered, it will automatically look for the salary level of the employee from its record (employee.txt) then display the name of the employee and salary rate level. c. Then it will ask the user to enter the Time-In of the employee. d. Then it will ask the user to enter the Time-Out of the employee. e. Then it will ask for the coverage date. Example: May 11-15, 2009 f. After entering the time-in and time-out and coverage date, the system will compute the weekly gross salary income of the employee and record the daily time inputs to the dtr.txt g. The system will output the following: Employee name Employee code Employee level Employee rate Total numbers of work hours Coverage date Regular income

2. You may use any of the following tools to demonstrate the required performances (refer to Performance Criteria for more details). 3. List the inputs, variables and outputs of that you will be incorporating in your design. 4. Refer to project description for the TESDA Payroll System for more details.

5. Submit your work once youre finished.

A. Performance Criteria In developing the design, the following items must be executed: Observes basic language syntax rules and best practices. Uses language data-types, operators and expressions. Uses appropriate language syntax for sequence, selection and iteration constructs. Uses basic programming algorithms. Uses modular programming approach. Demonstrates ability to create sequential search, iteration and deletion algorithms to operate on one dimensional array. Uses and codes standard sequential access algorithms for text and binary files. Uses SQL or language facilities to access databases. Reviews codes visually or by use of debugging tools provided by the system or the organization. Uses debugger to trace code execution and examine variable contents to detect correct errors. Follows guidelines for developing maintainable code adhering to a set of coding standard. Follows and uses internal documentation standards and tools. Develops and constructs simple tests to confirm the coding process meets design specification. Documents tests performed.

Maxes corrections to the code and the documentation as needed.

B. Required Evidence

Program code

C. Collection of Evidence

The collection of evidence for this activity will be done by analysing and testing the program code you submitted. The more set you accomplished, the better your chances of demonstrating the required performance. The collected evidence shall be valid only if the program is running according to the design specification. Questioning shall be conducted to reinforce the evidence collected from this demonstration.

D. Time Allotment You have five (5) hours to complete the activity.

E. Assessment Tasks 1st Set 1. Indicate the language of your preference for the activity. 2. Check your workstation. Your workstation will have variety of Integrated Development Environment (IDE) for various languages. However, if you opt to use another IDE, make arrangement with your assessor.

3. Demonstrate the required performances for this assessment activity by writing the program code for the program logic design you made in Part I activity of this assessment package.

4. You need to use the employee.txt as reference to the employee code. Employee name and salary level.

5. You need to save the daily time record of each employee to dr.txt 6. Run the test case scenario (Test Case #1) using program. Debug if needed. 7. Refer to project description for the TESDA Payroll System for more details.

8. When youre sure that the application is running as required in the project description, call the attention of your assessor and submit your project.

2nd Set 1. Make a second copy of the project from the 1st Set. 2. Improve your application by including the overtime pay in the gross income. It should follow the following conditions. a. When the application has been executed, it will ask the user for the employee code. b. When the employee code has been entered, it will automatically look for the salary level of the employee from its record (employee.txt) then the name of the employee and salary rate level. c. Then it will ask the user to enter the Time-in of the Employee. Enter 00:00 or none. d. Next, it will ask the user to enter the Time-Out of the employee. Enter 00:00 or none. e. Then it will ask the user whether it is a holiday. f. Then it will ask the user for the Overtime-In of the employee. Enter 00:00 or none.

g. Next, it will ask the user for the Overtime-Out of the employee. Enter 00:00 or none. NOTE: The action c to g will repeat four more times to complete the input from Monday to Friday. h. Then it will ask for the coverage date. Example: May 15-19, 2009 i. After entering the Time (In-Out), Overtime (In-Out) and coverage date, the system will compute the weekly gross salary income of the employee and record the daily time inputs to the dtr.txt The system will output the following:

j.

Name of the employee Employee name Employee code Employee level Employee rate Total number of work hours Coverage date Regular income Overtime income Gross income

3. Run the test case scenario using your program. Debug if needed. 4. Refer to project description for the TESDA Payroll System for more details. 5. When youre sure that the application is running as required in the project description, call the attention of your assessor and submit your project.

3rd Set 1. Make a second copy of the project from the 2nd Set. 2. Improve your application by including the overtime pay in the gross income. It should follow the following conditions. a. When the application has been executed, it will ask the user for the employee code. b. When the employee code has been entered, it will automatically look for the salary level of the employee from its record (employee.txt) then the name of the employee and salary rate level. c. Then it will ask the user to enter the Time-in of the Employee. Enter 00:00 or none. d. Next, it will ask the user to enter the Time-Out of the employee. Enter 00:00 or none. e. Then it will ask the user whether it is a holiday. f. Then it will ask the user for the Overtime-In of the employee. Enter 00:00 or none. g. Next, it will ask the user for the Overtime-Out of the employee. Enter 00:00 or none. NOTE: The action c to g will repeat four more times to complete the input from Monday to Friday. h. Then it will ask for the coverage date. Example: May 15-19, 2009 i. After entering the Time (In-Out), Overtime (In-Out) and coverage date, the system will compute the weekly gross salary income of the employee and record the daily time inputs to the dtr.txt The system will output the following:

j.

Name of the employee Employee name

Employee code Employee level Employee rate Total number of work hours Coverage date Regular income Overtime income Gross income Net income

3. Run the test case scenario using your program. Debug if needed. 4. Refer to project description for the TESDA Payroll System for more details. 5. When youre sure that the application is running as required in the project description, call the attention of your assessor and submit your project.