ExamPlay Dark Logo
Đăng nhập

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

What is the key characteristic of the algorithm represented in the alarm clock example that relates to control flow?
It uses a FOR loop.
It includes an IF statement to check the time.
It waits for a certain time to elapse and triggers a sound.
It implements a WHILE loop to check continuously.

Giải thích

The WHILE loop is used to repeatedly check the time until the alarm time is reached.

Bình luận (0)

Đăng nhập để bình luận
Quảng cáo
BrainBehindX Inc Logo
©2026; Được cung cấp bởi BrainBehindX Inc