Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 12 - No. 39)
In a search algorithm, what would indicate a successful search using a flag variable?
The flag variable remains unchanged.
The flag variable is set to TRUE.
The flag variable is set to FALSE.
The flag variable is set to null.
Explanation
The flag variable, in many algorithms, when set to true, means that the criteria has been met.
Comments (0)
