
Selection Sort & Exhaustive Search
Authored by S Sampath Kumar
Computers
University
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the time complexity of the Selection Sort algorithm for sorting an array of N elements?
a. O(N)
b. O(N^2)
c. O(log N)
d. O(N^2 log N)
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
How does the Selection Sort algorithm work?
a. It divides the array into subarrays for sorting.
b. It repeatedly selects the smallest element and swaps it with the first unsorted element.
c. It uses a stack to sort the elements.
d. It employs a binary search to find the smallest element.
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is true about Selection Sort?
a. It is an unstable sorting algorithm.
b. It is an adaptive sorting algorithm.
c. It has a best-case time complexity of O(N log N).
d. It is more efficient than Quick Sort.
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
In Selection Sort, how many comparisons are made to sort an array of N elements?
a. N
b. N-1
c. N^2
d. N/2
5.
MULTIPLE SELECT QUESTION
20 sec • 1 pt
Which sorting algorithm is more efficient than Selection Sort on average?
a. Quick Sort
b. Merge Sort
c. Bubble Sort
d. Insertion Sort
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
In Selection Sort, how many swaps are made to sort an array of N elements?
a. N
b. N-1
c. N^2
d. N/2
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following sorting algorithms is not an in-place sorting algorithm?
a. Selection Sort
b. Quick Sort
c. Merge Sort
d. Bubble 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?
Similar Resources on Wayground
10 questions
Pre-Test การตรวจสอบความน่าเชื่อถือของข้อมูล
Quiz
•
9th Grade - University
15 questions
Internet Basics
Quiz
•
5th Grade - University
15 questions
Preguntas sobre Excel 2016
Quiz
•
6th Grade - University
10 questions
internet
Quiz
•
University
10 questions
T_4.2 Identifier, Data Types, Operators & Expressions
Quiz
•
12th Grade - University
13 questions
minecraft : )
Quiz
•
1st Grade - Professio...
17 questions
Archivos
Quiz
•
University
10 questions
UTILITY PROGRAM
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade