中等ict-u07-d03

A dry run of an algorithm means:

A. Tracing it on paper with a column for each variable and one for output✓ 答案
B. Compiling it without a processor
C. Uploading it to a cloud service
D. Running it only on abnormal data

解說

A dry run, or trace, executes the algorithm by hand. Write a column per variable, update a cell only when the algorithm assigns to it, and record each output, which is what a question asking for the output expects you to show.

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