ExamPlay Light Logo
Masuk

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.

Penjelasan

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

Komentar (0)

Masuk Untuk Berkomentar
Iklan
BrainBehindX Inc Logo
©2026; Didukung oleh BrainBehindX Inc