
DAA IA2 Test 50 1 marks , 25 2 marks total 100
Authored by Rakesh Sivalingam
Other
University
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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?