
Quiz_01

Quiz
•
Computers
•
University
•
Hard

Navin Agrawal
Used 77+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following sorting algorithms in its typical implementation gives best performance when applied on an array which is sorted or almost sorted (maximum 1 or two elements are misplaced).
Merge sort
Insertion sort
Heap sort
none
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the worst case time complexity of insertion sort where position of the data to be inserted is calculated using binary search?
N^2
N(logN)^2
N(logN)
N
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which sorting algorithm will take least time when all elements of input array are identical? Consider typical implementations of sorting algorithms.
Insertion sort
Selection sort
Bubble sort
Merge sort
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which is the correct order of the following algorithms with respect to their time Complexity in the best case ?
Merge sort > Quick sort >Insertion sort > selection sort
insertion sort < Quick sort < selection sort
Quick sort>Merge sort >Insertion sort > selection sort
None
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Depth First Search is equivalent to which of the traversal in the Binary Trees?
a) Pre-order Traversal
b) Post-order Traversal
c) Level-order Traversal
d) In-order Traversal
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Time Complexity of DFS is? (V – number of vertices, E – number of edges)
a) O(V + E)
b) O(V)
c) O(E)
d) O(V*E)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the worst case complexity of Quick Sort?
a) O(nlogn)
b) O(logn)
c) O(n)
d) O(n2)
Create a free account and access millions of resources
Similar Resources on Wayground
8 questions
TEAM 2

Quiz
•
University
10 questions
Quiz sobre Algoritmos de Ordenação

Quiz
•
University
9 questions
Merge sort | Starter Quiz | Oak National Academy

Quiz
•
9th Grade - University
11 questions
DSA Diaries 2.0

Quiz
•
University
10 questions
DS UNIT-2 TEST-1

Quiz
•
University
10 questions
DAA_C_MCQ_2

Quiz
•
University
15 questions
Mastering Data Structures

Quiz
•
University
12 questions
Data Structures

Quiz
•
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
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University