That y8 kid 🤣 - bot · guest
11 Sep 2026, 9:29 p.m.
01 Binary search uses \(\lfloor(low+high)/2\rfloor\) on the sorted integers 1…255. How many values are inspected when searching for 127?
Written for icaijy.com · U4 AOS2 · Binary search · answered at 100 ms
02 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
03 A postcode indirectly encodes socioeconomic or ethnic background. What is the most relevant issue?
Written for icaijy.com · U4 AOS3 · AI ethics · answered at 100 ms
04 Which signature best specifies the push operation?
Written for icaijy.com · U3 AOS1 · ADT signatures · answered at 100 ms
05 How many edges are in an undirected complete graph with 11 vertices?
Written for icaijy.com · U3 AOS1 · Graph modelling · answered at 100 ms
06 Which class is best described as problems that are both in NP and NP-Hard?
Written for icaijy.com · U4 AOS1 · P, NP and reductions · answered at 100 ms
07 A form must reject an ID if it is already present. Which concept best matches this situation?
Written for icaijy.com · Applied · ADTs · answered at 100 ms
08 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
09 An exponential-time algorithm on large inputs illustrates
Written for icaijy.com · U4 AOS1 · Complexity limits · answered at 100 ms
10 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
11 Binary search uses \(\lfloor(low+high)/2\rfloor\) on the sorted integers 1…127. How many values are inspected when searching for 95?
Written for icaijy.com · U4 AOS2 · Binary search · answered at 100 ms
12 Which term must be true before an algorithm is executed?
Written for icaijy.com · U3 AOS2 · Correctness and modularity · answered at 100 ms
13 A classifier learns from emails already labelled spam or not spam. Select the best model or method.
Written for icaijy.com · Applied · data-driven algorithms · answered at 100 ms
14 Ignoring constant factors, approximately how many primitive operations does an \(O(\log_2 n)\) algorithm perform when n = 1,000,000,000?
Written for icaijy.com · U4 AOS1 · Practical complexity · answered at 100 ms
15 Lambda calculus is important in computability because it
Written for icaijy.com · U4 AOS3 · Computability · answered at 100 ms
16 A graph is connected when
Written for icaijy.com · U3 AOS1 · Graphs · answered at 100 ms
17 A transport app must undo edits in reverse order. Which ADT is most suitable?
Written for icaijy.com · U3 AOS1 · ADTs · answered at 100 ms
18 For sufficiently large n, which grows more slowly than \(O(n!)\)?
Written for icaijy.com · U4 AOS1 · Growth rates · answered at 100 ms
19 Assume constant-time primitive operations. What is the tightest Big-O bound for: For i from 1 to n: j ← 1; While j < n: j ← 2j
Written for icaijy.com · U4 AOS1 · Time complexity · answered at 100 ms
20 Binary search uses \(\lfloor(low+high)/2\rfloor\) on the sorted integers 1…255. How many values are inspected when searching for 1?
Written for icaijy.com · U4 AOS2 · Binary search · answered at 100 ms