Q. 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
  • (D) None of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (C) Timing the code & Calculating the number of operations performed
Explanation: There are a couple of ways to benchmark code—either by timing it or by calculating the number of operations performed during execution.
Explanation by: Mr. Dubey
There are a couple of ways to benchmark code—either by timing it or by calculating the number of operations performed during execution.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
143
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
83%
Success Rate