中等ICT-EXAM-007

State the output of this pseudocode: mark ← 50; IF mark > 50 THEN OUTPUT "Pass" ELSE OUTPUT "Fail" ENDIF.

A. Fail✓ 答案
B. Pass
C. 50
D. The program cannot run.

解說

50 is not greater than 50, so the ELSE branch runs and the output is Fail. Everyday ideas about a pass mark do not override the symbol in the algorithm.

「應試技巧」全部 12 題 · 資訊及通訊科技 MCQ 題庫