Bot · guest
11 Sep 2026, 8:47 p.m.
01 Which class is best described as decision problems whose yes-instances have polynomial-time verifiable certificates?
Written for icaijy.com · U4 AOS1 · P, NP and reductions · answered at 100 ms
02 A* uses f(n) = g(n) + h(n). Which frontier node should it expand next?
Written for icaijy.com · U4 AOS2 · A* search · answered at 100 ms
03 For sufficiently large n, which grows more slowly than \(O(n^3)\)?
Written for icaijy.com · U4 AOS1 · Growth rates · answered at 100 ms
04 A max-priority queue removes the numerically highest priority first. Which job is removed?
Written for icaijy.com · U3 AOS1 · Priority queues · answered at 100 ms
05 Which design pattern or algorithm stores solutions of overlapping subproblems to avoid recomputation?
Written for icaijy.com · U3/U4 · Algorithm design patterns · answered at 100 ms
06 A transport app must look up a student record using a student ID. Which ADT is most suitable?
Written for icaijy.com · U3 AOS1 · ADTs · answered at 100 ms
07 A school system must always process the waiting job with the highest urgency. Which ADT is most suitable?
Written for icaijy.com · U3 AOS1 · ADTs · answered at 100 ms
08 Which term best matches a system that performs very well on training examples but poorly on new examples?
Written for icaijy.com · U4 AOS3 · Data-driven algorithms · answered at 100 ms
09 Which signature best specifies the push operation?
Written for icaijy.com · U3 AOS1 · ADT signatures · answered at 100 ms
10 A bank provides understandable reasons for an automated rejection. Which tool is most fit for purpose?
Written for icaijy.com · Applied · AI ethics · answered at 100 ms
11 A system groups articles without any supplied category labels. Which tool is most fit for purpose?
Written for icaijy.com · Applied · data-driven algorithms · answered at 100 ms
12 Which design pattern is most clearly used by binary search?
Written for icaijy.com · U3/U4 · Algorithm design patterns · answered at 100 ms
13 For sufficiently large n, which grows more slowly than \(O(n \log n)\)?
Written for icaijy.com · U4 AOS1 · Growth rates · answered at 100 ms
14 A research program must test quickly whether a username has already been used. Which ADT is most suitable?
Written for icaijy.com · U3 AOS1 · ADTs · answered at 100 ms
15 A council must connect all suburbs while minimising total new cable. Select the best model or method.
Written for icaijy.com · Applied · graph algorithms · answered at 100 ms
16 A max-priority queue removes the numerically highest priority first. Which job is removed?
Written for icaijy.com · U3 AOS1 · Priority queues · answered at 100 ms
17 A research program must represent cities and the roads joining them. Which ADT is most suitable?
Written for icaijy.com · U3 AOS1 · ADTs · answered at 100 ms
18 Why can testing many inputs usually not prove that an algorithm is correct for every valid input?
Written for icaijy.com · U3 AOS2 · Correctness · answered at 100 ms
19 Using the usual inclusive low/high implementation, at most how many element inspections can an unsuccessful binary search of 8192 sorted items require?
Written for icaijy.com · U4 AOS2 · Binary search · answered at 100 ms
20 Binary search uses \(\lfloor(low+high)/2\rfloor\) on the sorted integers 1…127. How many values are inspected when searching for 31?
Written for icaijy.com · U4 AOS2 · Binary search · answered at 100 ms