
H446 Algorithms

Quiz
•
Computers
•
12th Grade
•
Hard

SJW Mrs S Walker
Used 4+ times
FREE Resource
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the time complexity of a binary search algorithm in the best case scenario?
O(n)
O(n^2)
O(1)
O(log n)
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is a characteristic of a binary tree search algorithm?
The number of items to be searched is doubled with each pass
The number of items to be searched is halved with each pass
The number of items to be searched remains constant with each pass
The number of items to be searched is tripled with each pass
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the time complexity of a linear search algorithm in the average case scenario?
O(1)
O(n)
O(log n)
O(n^2)
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
According to the Big-O Notation chart, which complexity class is considered the most efficient?
Exponential
Polynomial
Logarithmic
Constant
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the time complexity of the bubble sort algorithm after the first pass, given the initial array [7, 6, 4, 3]?
[4, 3, 6, 7]
[6, 4, 3, 7]
[7, 4, 3, 6]
[3, 4, 6, 7]
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the best case time complexity of Bubble Sort?
O(n)
O(n log n)
O(n^2)
O(1)
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which sorting algorithm is considered slightly more efficient in most average situations according to the text?
Bubble Sort
Insertion Sort
Merge Sort
Quick Sort
Create a free account and access millions of resources
Similar Resources on Wayground
13 questions
Algorithms Quiz

Quiz
•
12th Grade
20 questions
COMP 210 - Help for MDTM 2

Quiz
•
12th Grade
15 questions
Mastering Sorting Techniques

Quiz
•
12th Grade
17 questions
Big O Notation

Quiz
•
12th Grade
20 questions
A-Level Computer Science - Revision No 6

Quiz
•
12th Grade
21 questions
Câu hỏi về lập trình Python

Quiz
•
12th Grade
16 questions
CrashCourse Computer Science: Algorithms and Sorting

Quiz
•
12th Grade
13 questions
COMP 210 Final.helper

Quiz
•
12th Grade
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