ExamPlay Light Logo
Đăng nhập

Computer Science for IGCSE & O level - Programming (Section 10 - No. 2)

What is the main advantage of using a CASE statement over a series of IF-ELSE statements?
CASE statements are always faster than IF-ELSE statements.
CASE statements are more readable when dealing with multiple conditions.
CASE statements can handle only numeric values.
CASE statements are generally less efficient.

Giải thích

CASE statements enhance readability by structuring code for multiple choices based on a single variable.

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