Specialty Digest

Global English editionLearners’ Study Dashboard — in development
The Knowledge Library for All

Online Courses / University Track / Computing Foundations

Module 5 · Practice

Practice set: counting steps and growth

Quick questions on the whole module, with instant feedback.

  • 35 minutes
  • Instant feedback
  • Unlimited attempts

35 minutes. Instant-marked. Unlimited attempts. Each answer is marked as soon as you choose it, with an explanation. Nothing is saved in this course.

P1. Adding 20 numbers needs how many additions?

P2. Comparing every pair among 7 items needs:

P3. A linear method costs 300 steps at n = 100. At n = 200 it costs about:

P4. A quadratic method costs 400 steps at n = 20. At n = 40 it costs about:

P5. For A = 100n and B = n×n, at n = 100:

P6. 2 to the power 5 equals:

P7. Binary search is an example of which growth?

P8. Which is the best question to ask about a method before using it on a large input?