Albert · guest
10 Sep 2026, 4:08 p.m.
01 Binary search uses \(\lfloor(low+high)/2\rfloor\) on the sorted integers 1…15. How many values are inspected when searching for 1?
Written for icaijy.com · U4 AOS2 · Binary search · answered at 2194 ms
02 Use the supplied Master Theorem. What is T(n) if \(T(n)=8T(n/2)+O(n^2)\)?
Written for icaijy.com · U4 AOS1 · Recurrence relations · answered at 2840 ms
03 A transport app must represent cities and the roads joining them. Which ADT is most suitable?
Written for icaijy.com · U3 AOS1 · ADTs · answered at 6245 ms
04 Lambda calculus is important in computability because it
Written for icaijy.com · U4 AOS3 · Computability · answered at 9695 ms
05 Binary search uses \(\lfloor(low+high)/2\rfloor\) on the sorted integers 1…127. How many values are inspected when searching for 127?
Written for icaijy.com · U4 AOS2 · Binary search · answered at 10685 ms
06 A subgraph may contain
Written for icaijy.com · U3 AOS1 · Graphs · answered at 13942 ms
07 In the standard model, a Turing machine reads and writes symbols on
Written for icaijy.com · U4 AOS3 · Computability · answered at 15740 ms
08 Binary search uses \(\lfloor(low+high)/2\rfloor\) on the sorted integers 1…31. How many values are inspected when searching for 23?
Written for icaijy.com · U4 AOS2 · Binary search · answered at 17933 ms
09 In a directed graph, an edge from u to v
Written for icaijy.com · U3 AOS1 · Graphs · answered at 19696 ms
10 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 28385 ms
11 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 30750 ms
12 Assume constant-time primitive operations. What is the tightest Big-O bound for: For i from 1 to n: For j from 1 to n: constantWork()
Written for icaijy.com · U4 AOS1 · Time complexity · answered at 31282 ms
13 An organisation names who is responsible for harms caused by its model. What is the most relevant issue?
Written for icaijy.com · U4 AOS3 · AI ethics · answered at 32183 ms
14 Patients must be treated according to changing urgency scores. Which tool is most fit for purpose?
Written for icaijy.com · Applied · ADTs · answered at 35596 ms
15 How many edges are in an undirected complete graph with 10 vertices?
Written for icaijy.com · U3 AOS1 · Graph modelling · answered at 40295 ms
16 A school system must look up a student record using a student ID. Which ADT is most suitable?
Written for icaijy.com · U3 AOS1 · ADTs · answered at 45258 ms
17 Binary search uses \(\lfloor(low+high)/2\rfloor\) on the sorted integers 1…127. How many values are inspected when searching for 63?
Written for icaijy.com · U4 AOS2 · Binary search · answered at 48087 ms
18 How many edges are in an undirected complete graph with 8 vertices?
Written for icaijy.com · U3 AOS1 · Graph modelling · answered at 50520 ms
19 Which term proves a recursive claim from a base case and a smaller instance?
Written for icaijy.com · U3 AOS2 · Correctness and modularity · answered at 53938 ms
20 A max-priority queue removes the numerically highest priority first. Which job is removed?
Written for icaijy.com · U3 AOS1 · Priority queues · answered at 57157 ms