ExamPlay Dark Logo
Đăng nhập

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

What is the primary function of the 'IF-THEN-ELSE' construct in programming?
To define variables.
To handle different code paths based on a condition.
To display output.
To repeat a set of instructions.

Giải thích

The IF-THEN-ELSE structure allows for conditional execution of code.

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