Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write pseudocode for the following functions done on a payroll system Eg. START some steps............. STOP 1. Enter Employee Information Steps include: HR clicks on

Write pseudocode for the following functions done on a payroll system

Eg.

START

some steps.............

STOP

1. Enter Employee Information

Steps include:

HR clicks on Enter Employee Information button

System displays a form for required information to be filled in.

HR enters employee data into name, address, dob, TRN, jobTitle, empBankInfo, empBenefits, tax deductions, payment cycle, leaveBalance, hourRate, phoneNumber and emergencyContact then clicks create

System accepts input

System displays information for review and confirmation

HR verifies information and selects the confirm button

System generates and assigns a unique employee id number to the employee

The System adds the employee record to the database, notifies Head of Finance then closes

2. Update Employee

Steps include:

HR clicks on Update Employee Information button

System requests the HR to enter employee id

HR enters data into employeeId then selects next

System accepts user input

System retrieves and displays the employee information

If employeeId does not exist the system will display error message Employee not found HR can either enter another employeeId or cancel process

HR makes the desired changes to the employee information(empName, empAddress, empJobTitle, empBankInfo, empBenefits, taxDeductions, paymentCycle, leaveBalance, hourlyRate, phoneNumber, or emergencyContact)

System accepts user input

System displays information for review and confirmation

HR verifies information and selects the confirm button

The system saves changes to employee record and notifies Head of Finance then closes

3. Enter Employee Attendance

Steps include:

HR clicks on Enter Employee Attendance button

System requests the HR to enter employee id

HR enters data into employeeId

System retrieves and displays a form with the employee information for the required fields to be filled in.

If employeeId does not exist the system will display error message Employee not found HR can either enter another employeeId or cancel process

HR selects date from drop down box and enters data into timeIn and timeOut then click submit

System accepts HR input

System checks if information is valid

If time entered is invalid the HR will have to reenter the time or cancel the process

System saves the time entered read only.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning Databases With PostgreSQL From Novice To Professional

Authors: Richard Stones, Neil Matthew

2nd Edition

1590594789, 978-1590594780

More Books

Students also viewed these Databases questions

Question

Language in Context?

Answered: 1 week ago