中等ICT-ALGO-012

When a question asks for the output of a given algorithm, you should:

A. Add a division step if you think the result would be more useful.
B. Output only what the written steps produce.✓ 答案
C. Change every ← into a comparison.
D. Run both branches of an IF.

解說

Marks come from the steps on the page. Extra helpful steps are not part of the trace, and only one branch of an IF runs.

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