Exercises On Flowchart
Exercises On Flowchart
EXERCISE 1
The grades in a certain class are determined by coursework and
a written examination. Both components of the assessment carry
a maximum of 50 points. The following rules are applied by the
examiners to determine whether a student passes:
1. A student must score a total of 45% or more in order to pass
2. A total grade of 44% is moderated to 45%
3. Each component must be passed with a minimum of 20 points
4. If a student scores 45% or more, but does not achieve the minimum grade in one component, he is
given a technical fail of 44%, which is not moderated to 45%.
WORK REQUIRED
Develop a flowchart showing how to input the grades for each component and output the final grade and
the result
EXERCISE 2
A labor contractor pays the workers at the end of each week according to the rules given below:
For the first 35 hours of work, the rate of pay is CFA 5000 per hour; for the next 25 hours, the rate of pay is $18
per hour; for the rest, the rate of pay is CFA 12000 per hour. No worker is allowed to work for more than 80
hours in a week.
WORK REQUIRED
Develop a flowchart to show how the wages of the workers can be calculated on the basis of valid input