ExamPlay Dark Logo
Đăng nhập

Computer Science for IGCSE & O level - Programming (Section 6 - No. 14)

What is the primary difference between a pre-condition loop and a post-condition loop?
Pre-condition loops always execute at least once.
Post-condition loops check the condition before the loop body is executed.
Pre-condition loops check the condition before the loop body is executed.
Post-condition loops cannot be used with a counter.

Giải thích

The pre-condition loop checks at the start, while the post-condition at the end of the loop body.

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