Which criterion is used to evaluate an algorithm's efficiency?
- How much time and memory it needs as the input grows
- The colour of the flowchart
- The programming language chosen
- How many comments it has
Answer
A) How much time and memory it needs as the input grows
Efficiency compares running time and memory; correctness and clarity are other criteria. SLO CS-11-B-01 · Understanding
Computer Science MCQ · More Unit 2: Computational Thinking and Algorithms MCQs · Practise