DOWNLOAD FREE PDF <<CLICK HERE>>
Data Structure Questions and Answers-Stack Operations
Congratulations - you have completed Data Structure Questions and Answers-Stack Operations.
You scored %%SCORE%% out of %%TOTAL%%.
Your performance has been rated as %%RATING%%
Your answers are highlighted below.
Question 1 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER] |
The result of evaluating the postfix expression 5, 4, 6, +, *, 4, 9, 3, /, +, * is?
600 | |
350 | |
650 | |
588 |
CLICK HERE FOR ALL SUBJECTS MCQ
Question 2 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER] |
Convert the following infix expressions into its equivalent postfix expressions
(A + B $\wedge$D)/(E - F)+G
(A B D $\wedge$ + E F - / G +) | |
(A B D +$\wedge$ E F - / G +) | |
(A B D $\wedge$ + E F/- G +) | |
None of the mentioned |
CLICK HERE FOR ALL SUBJECTS MCQ
Question 2 Explanation:
Applying the postfix expression evaluation.
Question 3 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER] |
Convert the following Infix expression to Postfix form using a stack
x + y * z + (p * q + r) * s, Follow usual precedence rule and assume that the expression is legal.
xyz*+pq*r+s*+ | |
xyz*+pq*r+s+* | |
xyz+*pq*r+s*+ | |
None of the mentioned |
CLICK HERE FOR ALL SUBJECTS MCQ
Question 3 Explanation:
Applying the postfix expression evaluation.
Question 4 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER] |
Which of the following statement(s) about stack data structure is/are NOT correct?
Linked List are used for implementing Stacks | |
Top of the Stack always contain the new node | |
Stack is the FIFO data structure | |
Null link is present in the last node at the bottom of the stack |
CLICK HERE FOR ALL SUBJECTS MCQ
Question 4 Explanation:
Stack follows LIFO.
Question 5 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER] |
Consider the following operation performed on a stack of size 5.
Push(1);
Pop();
Push(2);
Push(3);
Pop();
Push(4);
Pop();
Pop();
Push(5);
After the completion of all operation, the number of elements present in stack are
1 | |
2 | |
3 | |
4 |
CLICK HERE FOR ALL SUBJECTS MCQ
Once you are finished, click the button below. Any items you have not completed will be marked incorrect.
There are 5 questions to complete.