AP Computer Science Principleseasymcq1 pt
If two algorithms solve a problem, the more efficient one generally
A.uses fewer steps as the input grows
B.uses more steps as the input grows
C.is always written in fewer lines
D.always runs on any device
Efficiency compares growth of work.
Auses fewer steps as the input grows
Practice more AP Computer Science Principles questions with full explanations
Practice Unit 3: Algorithms and Programming Questions →