ExamPlay Light Logo
Mag-sign In

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.

Paliwanag

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

Mga komento (0)

Mag-login Upang Magkomento
Advertisement
BrainBehindX Inc Logo
©2026; Pinapatakbo ng BrainBehindX Inc