Exam-style question
Try this first
What does evaluating the efficiency of an algorithm in terms of passes through a loop measure?.
- A.The style of coding
- B.The number of repeated block executions
- C.The number of different variables
- D.The platform the code runs on
Answer and explanation
Concise answer
The number of repeated block executions
Why this is correct
Counting passes through a loop measures how many times a block of code is executed, a direct measure of time efficiency.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
