With the aid of a flow chart, describe a loop control structure as used in programming.
(a) With the aid of a flow chart, describe a loop control structure as used in programming. (4 marks)
Looping is the control structure that allows a block of code/statements to be repeated until a certain condition is fulfilled. (2 marks)
(b) Study the following pseudocode and answer the questions that follow
(i) State the purpose of the pseudocode. (1 mark)
The pseudocode compares two values and output one of the two which is greater.
(ii) Draw a flowchart equivalent to the pseudocode. (6 marks)
Distinction between a source program and compiler
Follow AtikaSchool.Org on our Social Channels
This gives you an opportunity to get our latest uodates, changes and firsthand information
Leave a Reply.
P.O Box 1189 - 40200 Kisii
Tel: 0728 450 424
Tel: 0738 619 279
Tel: 0763 450 425
E-mail - email@example.com