Algorithm3: Examination1
The process below is an examination process: I have to study, do an exam and get a pass mark to go on a trip. If I fail, I have to go over the subject (revise) and retake the exam. This process has a big problem: If I don't get a pass mark the process never finishes.
First, rearrange the steps in order to create the whole process.
Second, create the flowchart with the steps of the process.
Third, answer the following questions about the flowchart.
Fifth, match steps from the flowchart with instructions (commands) in the program
Algorithm3: Examination2
The algorithm below prevents an infinite loop. The program limits the number of repeats to 3.