
Big O Notation and Algorithms, File Processing Quiz
Authored by Manickasundaram G
Computers
11th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
71 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does Big O notation primarily describe?
The average performance of an algorithm
The memory usage of an algorithm
The worst-case time complexity of an algorithm
The syntax of an algorithm
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which Big O complexity represents constant time?
O(n)
O(log n)
O(1)
O(n²)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If an algorithm halves the dataset in each iteration, what is its time complexity?
O(n)
O(log n)
O(n²)
O(1)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a linear search, if there are 20 elements, how many comparisons are required in the worst case?
10
log₂20
20
5
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What must be true before applying a binary search?
The data must be random
The dataset must be small
The dataset must be sorted
The dataset must have unique values
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which sorting algorithm swaps adjacent elements if they are in the wrong order?
Selection sort
Bubble sort
Quick sort
Merge sort
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which sorting method finds the minimum (or maximum) and places it in the correct position each pass?
Bubble sort
Selection sort
Quick sort
Merge sort
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?