ExamPlay Dark Logo
Log ind

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

Which statement is best for a scenario that needs different actions depending on the *value* of a variable?
IF ... THEN ... ELSE
FOR...TO...NEXT
WHILE...DO...ENDWHILE
CASE...OF...OTHERWISE

Forklaring

The CASE statement is designed to efficiently handle multiple possible values of a variable.

Kommentarer (0)

Log ind for at kommentere
Reklame
BrainBehindX Inc Logo
©2026; Drevet af BrainBehindX Inc