Which criterion is used to evaluate an algorithm's efficiency?

  1. How much time and memory it needs as the input grows
  2. The colour of the flowchart
  3. The programming language chosen
  4. 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