Past-paper question · 2022 October-November · Paper 33 · Q12(b)(ii)

Question 12(b)(ii) 2022 · October-November · Paper 33 · 2 marks

Original past-paper question for 12(B)(II)
Original past-paper question for 12(B)(II)
Original past-paper question for 12(B)(II)
Reveal official mark-scheme answer Official mark-scheme answer for 12(B)(II)

Official answer for Question 12

Part (b)

(ii)

✓
One mark for each point (Max 2)

Question 2

✓
•
✓
O(log n) is a time complexity that uses logarithmic time.
✓
•
✓
The time taken goes up linearly as the number of items rises exponentially
✓
•
✓
O(log n) is the worst case scenario (time complexity for a binary search).

Mark scheme 9618_w22_ms_33.pdf →

Show text version of question

Question 12

Part (b)

(ii)

Big O notation is used to classify efficiency of algorithms.

The Big O notation for time complexity in a binary search is O(log n).

(ii)

Describe the meaning of O(log n) as it applies to a binary search algorithm.

...........................................................................................................................................

...........................................................................................................................................

...........................................................................................................................................

.....................................................................................................................................

[2]

Question 12

reasonable effort has been made by the publisher (UCLES) to trace copyright holders, but if any items requiring clearance have unwittingly been included, the publisher will be pleased to make amends at the earliest possible opportunity.

To avoid the issue of disclosure of answer-related information to candidates, all copyright acknowledgements are reproduced online in the Cambridge Assessment International Education Copyright Acknowledgements Booklet. This is produced for each series of examinations and is freely available to download at www.cambridgeinternational.org after the live examination series.

Cambridge Assessment International Education is part of Cambridge Assessment. Cambridge Assessment is the brand name of the University of Cambridge Local Examinations Syndicate (UCLES), which is a department of the University of Cambridge.

Topic relevance

Why this question appears here

87% assigned-topic match · Algorithm design and problem-solving › Algorithms

Topic-match percentages estimate how closely each question fits the selected syllabus topic. They are a guide for choosing stricter or broader practice.

Permanent source page: Educate A Change · From 9618_w22_qp_33.pdf

Keep practising this topic