Your privacy choices

KiwiBee uses optional Google Analytics, Google Ads, and Meta Pixel cookies to understand adult visitors, measure completed sign-ups, and improve campaigns. Essential cookies always stay on. OpenAI’s ChatGPT Ads Pixel also measures page views and completed enquiries after advertising consent, and may use hashed contact details for matching. Privacy policy

Skip to main content
Printable worksheet

Algorithm Choice Under Real Constraints

QuizICTGrade 11English
Quiz worksheet

Practise more with these

Picked by meaning from games, worksheets, simulations, teacher tools and videos.

On this sheet

The words and questions from the game

  1. 1An algorithm checks each of n items once. In the stated cost model, how many item checks occur?n squared · n · n + 1 · 1
  2. 2A procedure performing n checks and another performing 2n checks have different exact counts for n greater than zero.False · True
  3. 3Method A uses n checks and method B uses 2n checks. For n = 5, which has fewer checks under this model?B · They are equal · Neither method performs any checks. · A
  4. 4A chart must show 4 passes for method A and 2 for method B. Which picture matches?
  5. 5The specified decision plan is: state the workload, compute the supplied costs, then compare them with the constraints. Put the steps in order.
  6. 6A method makes one full pass over n items. In this model each item check costs one unit. What is its cost?n units · 2n units · A guaranteed constant unit for every n · n squared units
  7. 7A lower operation count in a simplified model always guarantees lower measured runtime on every machine.True · False
  8. 8Listen to the workload. Which method has fewer checks?B · A · Neither method has a defined workload. · They are tied
  9. 9A method stores a separate mark for each of n items. Under the stated model, how many marks are stored?One mark regardless of n · n squared marks · n marks · 2n marks
  10. 10A chart must show 2 passes for method A and 4 for method B. Which picture matches?
  11. 11For every ordered pair of n items, a procedure performs one check, including an item paired with itself. How many checks occur?n squared · n − 1 · n · 2n
  12. 12The expression n² grows faster than n as n increases, ignoring constant factors.False · True
  13. 13A task has a strict extra-memory limit of 10 units. Method A uses 8 units and 100 checks; B uses 12 units and 40 checks. Which meets the memory limit?A · Neither method · B · Both
  14. 14Two methods both fit memory. A uses 70 checks and B uses 50 for this workload. The stated goal is the fewest checks, with equal cost per check. Which is selecteNeither · Both must be selected because their checks are equal. · A · B
  15. 15The specified evaluation plan is: measure the workload, estimate both costs, reject choices exceeding memory, then compare the remaining choices. Order the step
  16. 16An O(n) upper-bound label alone tells the exact number of operations for every input size.False · True
  17. 17A program handles a fixed list of 100 items. Method A makes 100 checks; B makes 20 checks. A separate setup cost is 5 for A and 100 for B. Each check costs one.They are equal · A and B both total 100 units. · A · B
  18. 18Listen to the constraint. Which design meets it?Both designs regardless of their measured use · Design A · Design B · Neither
  19. 19A stated workload performs 1,000 identical lookups. Index A costs 500 units to build and 1 unit per lookup. Method B costs 3 units per lookup with no setup. WhiB · A · Neither has any setup or lookup cost. · They are equal
  20. 20An efficient average-case lookup guarantee by itself establishes the same worst-case cost for every lookup.True · False
  21. 21A sorted list supports binary search under the supplied model. If the list is not sorted and is never checked, what prerequisite is missing?The sorted-input prerequisite · The list's decorative border · A second keyboard · A colour label
  22. 22Two candidate methods both meet a 20-unit memory limit. A takes 100 ms and B takes 80 ms in the same stated test. Which is faster in that test?A · Neither method has a measured time. · B · They are equal
  23. 23A structure must keep values ordered and support repeated range queries. The scenario offers a sorted structure and an unordered list; both fit memory. Which chThe unordered list with no ordering step · A queue read only in insertion order, with no value-ordering step · Neither, because ordering is irrelevant · The sorted structure
  24. 24A trade-off can favor one method for a large repeated workload and another when setup dominates a small workload.True · False
  25. 25A task has a memory limit and a response-time limit. Which evaluation is most appropriate?Choose the first candidate without measuring either limit. · Ignore memory whenever an algorithm is fast. · Check each candidate against both limits for the stated workload. · Choose solely by the shortest name.

About this worksheet

A printable worksheet made from the KiwiBee game “Algorithm Choice Under Real Constraints”. Open it in the free Worksheet Studio to choose the design and the sheet type, then print it or save a PDF.

Compare supplied growth functions, memory budgets and workload constraints without treating a model as a runtime guarantee.

  • ms 265
  • computing
  • compare complexity
  • evaluate memory and time trade offs
  • justify a structure for a workload

Comments