
Array Search & Sort Quiz

Quiz
•
Computers
•
12th Grade
•
Medium
Tony Banning
Used 4+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of the best case for linear search in an array?
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In binary search, the array must be:
Unsorted
Sorted in descending order
Sorted in ascending order
Sorted or unsorted
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the worst-case time complexity of bubble sort?
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
During selection sort, what happens in each iteration?
The smallest element is moved to the end of the array.
The largest element is moved to the beginning of the array.
The smallest element is moved to its correct position.
The array is divided into two parts.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is true about insertion sort?
It is more efficient on large lists than selection sort.
It builds the final sorted array one item at a time.
It is not suitable for small data sets.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does array traversal mean?
Sorting the array
Accessing each element of the array once
Deleting elements from the array
Increasing the size of the array
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a characteristic of binary search?
It is a divide and conquer algorithm.
It can be used on unsorted arrays.
It repeatedly divides the search interval in half.
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Pemikiran Komputasional untuk Siswa Kelas 9

Quiz
•
9th Grade - University
20 questions
2.3.1 Graph Traversal & Path Finding Algorithms

Quiz
•
12th Grade - University
10 questions
Arrays and Lists

Quiz
•
6th - 12th Grade
20 questions
19.1 Algorithms Cambridge iA 9618

Quiz
•
12th Grade
20 questions
Technical Quiz Round 1 Set 2

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

Quiz
•
9th - 12th Grade
10 questions
Sorting Algorithms

Quiz
•
9th - 12th Grade
12 questions
CAD-CAM 2

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

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade