ExamPlay Dark Logo
Logga in

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.

Förklaring

The 'FOR' loop in the example iterates from 1 to `NumberStudents`, suggesting it processes each student in the class.

Kommentarer (0)

Logga in för att kommentera
Annons
BrainBehindX Inc Logo
©2026; Drivs av BrainBehindX Inc