ExamPlay Light Logo
Logga in

Computer Science for IGCSE & O level - Programming (Section 11 - No. 32)

What is the purpose of the lines: `NumOfStudents = 5` and `NumOfSubjects = 4` in the provided pseudo-code?
To calculate the number of subjects.
To initialize the number of students and subjects.
To store values for constant numbers.
To compute the total marks.

Förklaring

They initialize values to the number of students and subjects.

Kommentarer (0)

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