What should the dry run track?
Practice this question from Sieve of Eratosthenes - Prime Marking Pattern Practice Quiz, with options and an explanation.
Question
What should the dry run track?
Option A — Correct answer
Track p, p squared, marked multiples, and remaining true entries.
Option B
Only the final answer with no variable state
Option C
The UI order of lesson cards
Option D
Only whether the input is already sorted
Explanation
Track p, p squared, marked multiples, and remaining true entries.