Practice IB Computer Science (First Exam 2027) Topic B2.4 Programming Algorithms with authentic exam-style questions for both SL and HL students. This question bank focuses on the exact syllabus content for B2.4 Programming Algorithms and mirrors Paper 1, 2 style where relevant.
Get instant solutions, detailed explanations, and build confidence with questions aligned to IB examiner expectations.
State what is meant by a "sorting algorithm".
Compare bubble sort and insertion sort in terms of their approach to sorting and typical performance characteristics.
A library system needs to sort 50,000 book records by title for display. Justify which sorting algorithm would be more appropriate for this scenario.