中等ICT-ALGO-003

IF ... THEN ... ELSE ... ENDIF is an example of:

A. Iteration that always runs both branches.
B. Secondary storage.
C. Selection.✓ 答案
D. DNS.

解說

Selection chooses one branch. Only the THEN steps or the ELSE steps run, not both. Iteration is FOR or WHILE.

「演算法與偽代碼」全部 12 題 · 資訊及通訊科技 MCQ 題庫