Home / CSE MCQs / Javascript MCQs :: Discussion

Discussion :: Javascript MCQs

  1. Which of the following are ways to benchmark code?
  2. A.
    Timing the code
    B.
    Calculating the number of operations performed
    C.
    Both a and b
    D.
    None of the mentioned

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    There are a couple of ways to benchmark code”either by timing it or by calculating the number of operations performed during execution.


Be The First To Comment