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.
- A.
To ensure the algorithm can be compiled on multiple systems.
- B.
To determine the time and memory required by the algorithm.
- C.
To count how many variables are declared in the algorithm.
- D.
To check if the algorithm follows correct syntax rules.
Attempted by 462 students.
Show answer & explanation
Correct answer: B
Loading lesson…