ExamPlay Light Logo
Logg på

Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 7 - No. 35)

What is the purpose of the 'COUNT' variable in many algorithms (like in the counting example)?
To calculate the sum of a set of numbers.
To keep track of the number of items.
To store the largest item.
To sort the data.

Forklaring

The 'COUNT' variable is used to count the number of occurrences or items.

Kommentarer (0)

Logg inn for å kommentere
Annonse
BrainBehindX Inc Logo
©2026; Drevet av BrainBehindX Inc