Which term describes keeping track of how many items?

Study for the IGCSE Algorithms and Pseudocode exam to demonstrate mastery of computing foundations. Enhance learning with quizzes, in-depth explanations, and custom study plans. Begin your journey to success now!

Multiple Choice

Which term describes keeping track of how many items?

Explanation:
Counting is used to determine how many items are present. In practice, you keep a counter that starts at zero and increases by one for each item you process, so after a loop you know exactly how many items you had. A string is just text, not a count. A boolean stores true or false, not a tally. Totalling means adding up numbers to get a sum, which is related but measures total value rather than the number of items. So counting is the best fit.

Counting is used to determine how many items are present. In practice, you keep a counter that starts at zero and increases by one for each item you process, so after a loop you know exactly how many items you had. A string is just text, not a count. A boolean stores true or false, not a tally. Totalling means adding up numbers to get a sum, which is related but measures total value rather than the number of items. So counting is the best fit.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy