
Big O Notation and Algorithms, File Processing Quiz

Quiz
•
Computers
•
11th Grade
•
Medium
Manickasundaram G
Used 4+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
75 questions
Стартовая диагностика

Quiz
•
9th - 12th Grade
70 questions
Test Microsoft Office

Quiz
•
9th - 12th Grade
70 questions
SAS semester 1-Kelas 7 Desember 2024

Quiz
•
9th - 12th Grade
70 questions
ITF+ Practice

Quiz
•
9th - 12th Grade
75 questions
SOAL MICROSOFT EXCEL

Quiz
•
11th Grade
74 questions
Kiểm Tra CSDL với HeidiSQL

Quiz
•
11th Grade
75 questions
Review Computer Question

Quiz
•
9th - 12th Grade
70 questions
UTS GANJIL Informatika KELAS X

Quiz
•
10th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade