Exam-style question
Try this first
A program uses an algorithm whose processing time grows very rapidly as the input becomes larger. What is the most likely consequence?.
- A.Some larger inputs may take an impractically long time to process
- B.The program will necessarily use less memory
- C.The program will always give the same output for every input
- D.The hardware will increase its processing speed automatically
Answer and explanation
Concise answer
Some larger inputs may take an impractically long time to process
Why this is correct
When processing requirements grow rapidly, even a powerful computer may take an unacceptable amount of time for sufficiently large inputs. This is a practical limit of computation.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
