Q33
Which of the following are ways to benchmark code?
A.
Timing the code
B.
Calculating the number of operations performed
C.
Timing the code & Calculating the number of operations performed
AnswerD.
None of the mentioned
Answer: Option C
Solution
Answer: Option C
Solution:
There are a couple of ways to benchmark code—either by timing it or by calculating the number of operations performed during execution.