Which term describes keeping track of how many items?

Prepare for the IGCSE Algorithms and Pseudocode Exam. Study with comprehensive questions covering key algorithms and pseudocode techniques. Access hints and explanations to gear up for your exam success!

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