Algorithms (OCR A-Level Computer Science): Quizzes
📚Quizzes
Practise the questions
13 questions from this quiz
ShowHide
Practise the questions
13 questions from this quiz
What does Big O notation express about an algorithm?
What does Big O notation express about an algorithm?
The upper bound of growth rate
What type of scenario does Big O notation describe?
What type of scenario does Big O notation describe?
Worst-case scenario
What does time complexity measure?
What does time complexity measure?
How execution time increases with input
What is the complexity of accessing an array element by its index?
What is the complexity of accessing an array element by its index?
Which algorithm has complexity?
Which algorithm has complexity?
Binary search
How does linear complexity appear on a graph?
How does linear complexity appear on a graph?
A straight line with constant slope
What is the Big O complexity of Bubble sort?
What is the Big O complexity of Bubble sort?
How does exponential complexity change with each additional input element?
How does exponential complexity change with each additional input element?
Performance doubles
How does constant complexity appear on a graph?
How does constant complexity appear on a graph?
A flat line
How does logarithmic complexity appear on a graph?
How does logarithmic complexity appear on a graph?
Rises quickly then flattens
