DAA IA2 Test 50 1 marks , 25 2 marks total 100

Quiz
•
Other
•
University
•
Hard
Rakesh Sivalingam
Used 5+ times
FREE Resource
75 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
You are running a library catalog. You know that the books in your collection are almost in sorted ascending order by title, with the exception of one book which is in the wrong place. You want the catalog to be completely sorted in ascending order.
Insertion Sort
Merge Sort
Radix Sort
Heap Sort
Counting Sort
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following sorting methods would be most suitable for sorting a list which is almost sorted?
Bubble Sort
Insertion Sort
Binary Sort
Quick Sort
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the time complexity of the above recursive implementation used to reverse a string?
O(1)
O(n)
O(n2)
O(n3)
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How many recursive calls are there in Recursive matrix multiplication by Strassen’s Method?
5
7
8
4
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following statement is true about stack?
Pop operation removes the top most
element
Pop operation removes the bottom most
element
Push operation adds new element at the
bottom
Push operation removes the top most
element
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is considered as the top of the stack in the linked list implementation of the stack?
Last node
First node
Random node
Middle node
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is the biggest advantage of selection sort?
It has low time complexity
it has low space complexity
it is easy to implement
it requires only n swaps under any condition
Create a free account and access millions of resources
Similar Resources on Wayground
80 questions
MAYOGA TTC EXAM

Quiz
•
University
70 questions
Machine Learning Quiz

Quiz
•
University
78 questions
Liste des verbes pour l'arbitre

Quiz
•
University
75 questions
Quantrihoc chap11

Quiz
•
University
80 questions
Power Electronics

Quiz
•
University
70 questions
GENERAL PRINCIPLES AND SENSORY PHYSIOLOGY OF NERVOUS SYSTEM

Quiz
•
University
75 questions
System Servicing Quiz 10

Quiz
•
10th Grade - University
76 questions
DIGITAL SCHOLARLY NETWORK

Quiz
•
University
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
Discover more resources for Other
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

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

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

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

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University