
Code Uncode 2.0
Authored by Jafar Gangardiwala
Computers
12th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In order traversal of binary search tree will produce −
unsorted list
sorted list
reverse of input
none of the above
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What data structure is used for breadth first traversal of a graph?
queue
stack
list
none of the above
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
left_subtree (keys) ≤ node (key) ≤ right_subtree (keys)
Complete Binary Tree
Binary Tree
Binary Search Tree
All of the above
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
If the array is already sorted, which of these algorithms will exhibit the best performance
Merge Sort
Insertion Sort
Quick Sort
Heap Sort
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
An algorithm is
a piece of code to be executed.
a loosely written code to make final code.
a step by step procedure to solve problem.
all of the above.
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In binary heap, whenever the root is removed then the rightmost element of last level is replaced by the root. Why?
It is the easiest possible way.
To make sure that it is still complete binary tree.
Because left and right subtree might be missing.
None of the above!
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
If queue is implemented using arrays, what would be the worst run time complexity of queue and dequeue operations?
Ο(n), Ο(n)
Ο(n), Ο(1)
Ο(1), Ο(n)
Ο(1), Ο(1)
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?