
DSA QUIZ 2
Quiz
•
Education
•
University
•
Practice Problem
•
Hard
Kasturi Nikumbh
Used 1+ times
FREE Resource
Enhance your content in a minute
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following sorting algorithms is the fastest for sorting small arrays?
Which of the following sorting algorithms is the fastest for sorting small arrays?
Quick Sort
Shell Sort
Insertion Sort
Heap Sort
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the advantage of selection sort over other sorting techniques?
What is the advantage of selection sort over other sorting techniques?
It is faster than any other sorting technique
It is scalable
It works best for inputs which are already sorted
It requires no additional storage space
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an external sorting algorithm?
What is an external sorting algorithm?
Algorithm that uses tape or disk during the sort
Algorithm that uses main memory during the sort
Algorithm that involves swapping
Algorithm that are considered ‘in place’
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an internal sorting algorithm?
What is an internal sorting algorithm?
Algorithm that uses tape or disk during the sort
Algorithm that uses main memory during the sort
Algorithm that involves swapping
Algorithm that are considered ‘in place’
5.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Select the appropriate code that performs bubble sort.
Select the appropriate code that performs bubble sort.
6.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
How can you improve the best case efficiency in bubble sort? (The input is already sorted)
How can you improve the best case efficiency in bubble sort? (The input is already sorted)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many passes does an insertion sort algorithm consist of?
How many passes does an insertion sort algorithm consist of?
N
N - 1
N + 1
N2
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
VCS quiz 1
Quiz
•
University
13 questions
CA 05
Quiz
•
3rd Grade - University
15 questions
QUIZ 3 : TOPIC 11 [INCOMPLETE RECORDS & SINGLE ENTRY]
Quiz
•
1st Grade - University
10 questions
epithelium
Quiz
•
University
15 questions
Primary or secondary sources RES120
Quiz
•
University
10 questions
Service Marketing
Quiz
•
University
10 questions
Quiz IAS 16
Quiz
•
University
15 questions
Nanti
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
