ExamPlay Light Logo
Pierakstīties

Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 11 - No. 16)

When should a WHILE...DO...ENDWHILE loop be used?
When you know the number of iterations beforehand.
When the number of iterations is not known and the action must be repeated until a certain condition is met.
Whenever a series of steps need to be repeated.
When an action has to be done at least once.

Paskaidrojums

A WHILE loop is used when the number of iterations is unknown and depends on a condition that might change during execution.

komentāri (0)

Piesakieties, lai komentētu
Reklāma
BrainBehindX Inc Logo
©2026; Powered by BrainBehindX Inc