What is the main objective of analysing the performance of an algorithm?

2025

What is the main objective of analysing the performance of an algorithm?

Answer: B. To determine the time and memory required by the algorithm.

  1. A.

    To ensure the algorithm can be compiled on multiple systems.

  2. B.

    To determine the time and memory required by the algorithm.

  3. C.

    To count how many variables are declared in the algorithm.

  4. D.

    To check if the algorithm follows correct syntax rules.

Attempted by 462 students.

Show answer & explanation

Correct answer: B

Explore the full course: Rssb Senior Computer Instructor

Loading lesson…