This Quiz contains totally 10 Questions each carry 1 point for you.
1. Which data structure is mainly used for implementing the recursive algorithm?
stack
queue
binary tree
listed link
Correct!
Wrong!
2. Which data structure is required to convert the infix to prefix notation?
stack
queue
linked list
binary tree
Correct!
Wrong!
3. Which of the following is the infix expression?
A+B*C
+A*BC
ABC+*
None of the above
Correct!
Wrong!
4. Which of the following is not the correct statement for a stack data structure?
Arrays can be used to implement the stack
Stack follows FIFO
Elements are stored in a sequential manner
Top of the stack contains the last inserted element
Correct!
Wrong!
5. Which of the following is the prefix form of A+B*C?
A+B*C
+A*BC
ABC+*
None of the above
Correct!
Wrong!
6. If the elements '1', '2', '3' and '4' are added in a stack, then what would be the order for the removal?
1234
4321
2143
none of these
Correct!
Wrong!
7. What is the outcome of the prefix expression +, -, *, 3, 2, /, 8, 4, 1?
12
11
5
4
Correct!
Wrong!
8. The minimum number of stacks required to implement a stack is
1
2
3
5
Correct!
Wrong!
9. Which of the following node is considered the top of the stack if the stack is implemented using the linked list?
first node
second node
last node
none of the above
Correct!
Wrong!
10. What is another name for the circular queue among the following options?
Square buffer
Rectangle buffer
Ring buffer
None of the above
Correct!
Wrong!
Share the quiz to show your results !
Subscribe to see your results
Ignore & go to results
Data-Structures-Quiz-2
You got %%score%% of %%total%% right
%%description%%
%%description%%
Loading...