Examlex

Solved

Problems - Correcting Logic and Code Errors

question 18

Essay

Problems - Correcting Logic and Code Errors
BrightStar Day School needs an application to calculate the total monthly tuition charge for students. The tuition schedule is shown below:
Class Fee per Month
Tuesday (T) and Thursday (R)   $135
Monday (M), Wednesday (W), and Friday (F)   $120
Students in the Tuesday and Thursday class can attend on Friday for an extra fee of $10 for each Friday attended. Rewrite the following algorithm to correct any logic errors:
If TR class and attend on Friday
Tuition = 135 + 10
Else
If MWF
Tuition = 120
End If
End If


Definitions:

Critical-Incident Technique

A method used in performance appraisal and training that focuses on identifying and analyzing specific, significant events (critical incidents) where the employee demonstrated behaviors that led to particularly successful or unsuccessful outcomes.

Performance Appraisal

A systematic evaluation procedure in which the work performance of an employee is reviewed and discussed, typically in terms of quality, quantity, cost, and time.

Job Behaviours

The actions and attitudes displayed by employees in the workplace, affecting performance and organizational culture.

360-degree Appraisals

360-degree Appraisals are a feedback system where employees receive confidential, anonymous feedback from their peers, subordinates, and supervisors, and sometimes external sources like customers or clients.

Related Questions