Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 8 - No. 32)
What is the objective of 'counting' in algorithms?
To determine the sum of a set of numbers.
To find the largest or smallest value in a data set.
To determine the number of occurrences of a specific event or condition.
To sort a list of data alphabetically.
Explanation
Counting algorithms focus on tracking the number of occurrences of a specific item or condition.
Comments (0)
