The following is a menu of a school’s examination processing system.
MAIN MENU
RECORDS marks……R
EDIT marks……………E
DELETE marks……….D
FIND marks…………...F
QUIT SYSTEM………..Q
a) Sketch a flowchart for a program that would display this menu.
b) Translate this flowchart into a pseudocode.
Answer:
a)
b)
Start
Repeat
MAIN MENU
RECORD marks……R
EDIT marks………….E
DELETE marks……..D
FIND marks………..F
QUIT SYSTEM…….Q
Case choice of
R: Record
student marks
E: Edit student marks
D: Delete marks
F: Find marks
End case
Until choice=Q
Stop