Computer Studies · BGCSE / Algorithms and programming
StructuredExam revisionForm 5 · BGCSE
Write an algorithm that inputs the marks of 30 learners and outputs the highest mark and the average.
- (a) Initialise variables correctly. [2]
- (b) Loop 30 times, input each mark and update the total and the highest. [3]
- (c) Calculate and output the results. [2]
You'll mark your own answer against the marking guide when you hand it in.
Source: Thuto360 practice
Report a problem
More like this
- Which validation check makes sure a value lies between 1 and 100?Multiple choiceBGCSE · Algorithms and programmingNot tried yet
- Which search method requires the list to be sorted first?Multiple choiceBGCSE · Algorithms and programmingNot tried yet
- A loop that repeats while a condition is true and checks it first is a…Multiple choiceBGCSE · Algorithms and programmingNot tried yet