The aim of the Big-O notation is to give a rough idea of how time and/or memory requirements will grow as the problem gets bigger.
Big O Notation - True or False

Quiz
•
Computers
•
11th Grade
•
Medium
B McCue
Used 6+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
True
False
Answer explanation
True. It measure time complexity or space complexity
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The statement "The worst case run-time complexity of algorithm A is O(n²)" means that "Algorithm A takes at most c x n² steps (where c is a constant) to solve a problem of size n (for large n)"
True
False
Answer explanation
True (approximately) – it may not be true for small values of n, when a term in n and a constant may be significant.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Problems of complexity O(1) have only one statement, however large the problem.
True
False
Answer explanation
False – there may be any number of statements but the number stays constant however large the problem becomes.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A problem with complexity O(100n) is of a different order of magnitude from one of complexity O(n).
True
False
Answer explanation
False – the constant coefficient of n is irrelevant and is ignored.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An algorithm of complexity O(n³) is useless for any practical purpose.
True
False
Answer explanation
False – problems that grow in polynomial time are not considered insoluble or “intractable”.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hashing is an example of a problem of time complexity O(1).
True
False
Answer explanation
True – however many values are to be hashed, the time taken to execute the hashing algorithm remains constant.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Some problems may be O(n) for small values of n but O(n²) for large values of n.
True
False
Answer explanation
False – the time complexity does not change.
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
"Divide and conquer" algorithms typically have time complexity O(log n) and are very efficient.
True
False
Similar Resources on Quizizz
10 questions
Sorting Algorithms

Quiz
•
9th - 12th Grade
10 questions
Algorithm Complexity Quiz

Quiz
•
9th - 12th Grade
13 questions
Scratch Programming

Quiz
•
1st - 12th Grade
10 questions
Small Basic (Turtle)

Quiz
•
KG - University
12 questions
Exit Ticket - Linked Lists and HashTables

Quiz
•
11th Grade
11 questions
Do Now - Retrieval - Programming and Data Structures

Quiz
•
11th Grade
11 questions
A - Level Tree Traversal

Quiz
•
11th Grade
11 questions
40. Algorithm - Algorithm Efficiency Quiz

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University