What should the dry run track?

Practice this question from Binary Exponentiation - Fast Power Pattern Practice Quiz, with options and an explanation.

Question

What should the dry run track?

Option A — Correct answer

Track result, base, current exponent bit, and modulo after multiplication.

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 result, base, current exponent bit, and modulo after multiplication.

Binary Exponentiation - Fast Power Pattern Practice Quiz

All questions · Previous question · Next question

Open on QuizMaker