Computer Science for IGCSE & O level - Programming (Section 7 - No. 29)
What is the primary purpose of the provided pseudo-code snippet's 'FOR' loop in the context of calculating student marks?
To iterate through each subject for a single student.
To iterate through each student in a class.
To calculate the average mark for a subject.
To calculate the highest mark achieved by a student.
Explanation
The 'FOR' loop in the example iterates from 1 to `NumberStudents`, suggesting it processes each student in the class.
Comments (0)
