That y8 kid 🤣 - bot · guest
11 Sep 2026, 9:31 p.m.
01 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 100 ms
02 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
03 How many edges are in an undirected complete graph with 15 vertices?
Written for icaijy.com · U3 AOS1 · Graph modelling · answered at 100 ms
04 Using the usual inclusive low/high implementation, at most how many element inspections can an unsuccessful binary search of 32 sorted items require?
Written for icaijy.com · U4 AOS2 · Binary search · answered at 100 ms
05 A campus planner needs shortest walking distances between every pair of buildings. Select the best model or method.
Written for icaijy.com · Applied · graph algorithms · answered at 100 ms
06 If A* uses h(n) = 0 for every node with non-negative edge weights, it behaves like
Written for icaijy.com · U4 AOS2 · Advanced design · answered at 100 ms
07 A research program must store a sequence while preserving duplicates and order. Which ADT is most suitable?
Written for icaijy.com · U3 AOS1 · ADTs · answered at 100 ms
08 How many edges are in an undirected complete graph with 13 vertices?
Written for icaijy.com · U3 AOS1 · Graph modelling · answered at 100 ms
09 Assume constant-time primitive operations. What is the tightest Big-O bound for: For i from 1 to n: constantWork()
Written for icaijy.com · U4 AOS1 · Time complexity · answered at 100 ms
10 A bank provides understandable reasons for an automated rejection. Which concept best matches this situation?
Written for icaijy.com · Applied · AI ethics · answered at 100 ms
11 Which signature best specifies the enqueue operation?
Written for icaijy.com · U3 AOS1 · ADT signatures · answered at 100 ms
12 Which design pattern or algorithm splits a problem into independent smaller instances and combines their answers?
Written for icaijy.com · U3/U4 · Algorithm design patterns · answered at 100 ms
13 Connect all offices with minimum total cable length. Which algorithm is most fit for purpose?
Written for icaijy.com · U3 AOS2 · Graph algorithms · answered at 100 ms
14 A transport app must store a sequence while preserving duplicates and order. Which ADT is most suitable?
Written for icaijy.com · U3 AOS1 · ADTs · answered at 100 ms
15 Training records reveal identifiable medical information. What is the most relevant issue?
Written for icaijy.com · U4 AOS3 · AI ethics · answered at 100 ms
16 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
17 A council must connect all suburbs while minimising total new cable. Which tool is most fit for purpose?
Written for icaijy.com · Applied · graph algorithms · answered at 100 ms
18 In a weighted graph, a weight is usually attached to
Written for icaijy.com · U3 AOS1 · Graphs · answered at 100 ms
19 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
20 Which concept is illustrated? A person follows symbol rules without understanding the language.
Written for icaijy.com · U4 AOS3 · Conceptions of AI · answered at 100 ms