
DS Quiz1
Authored by Kiruthika S
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
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following sorting algorithms can be used to sort a random linked list with minimum time complexity?
Insertion Sort
Bubble sort
Merge sort
Selection sort
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
A binary tree in which all its levels except the last, have maximum numbers of nodes, and all the nodes in the last level have only one child it will be its left child. Name the tree.
Threaded tree
M-way search tree
Complete binary tree
Full binary tree
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Minimum number of fields in each node of a doubly linked list is?
2
3
4
1
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Suppose the numbers 7, 5, 1, 8, 3, 6, 0, 9, 4, 2 are inserted in that order into an initially empty binary search tree. The binary search tree uses the usual ordering on natural numbers. What is the in-order traversal sequence of the resultant tree?
0 1 2 3 4 5 6 7 8 9
7 5 1 0 3 2 4 6 8 9
0 2 4 3 1 6 5 9 8 7
9 8 6 4 2 3 0 1 5 7
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
A queue follows _________
FIFO principle
LIFO principle
Linear tree
Ordered array
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The post order traversal of a binary tree is DEBFCA. Find out the post order traversal.
ABFCDBE
ADBFEC
ABDECF
ABDCEF
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following data structure store the homogeneous data elements?
Arrays
linked list
Stack
queue
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?