info@avatto.com
+91-9920808017
21. Stack A has the entries a, b, c (with an on top), Stack B is empty. An entry popped out of stack A can be printed immediately or pushed to stack B. An entry popped out of stack B can only be printed. In the arrangement, which of the following permutations of a, b, c is not possible?
b a c
b c a
c a b
a b c
Your email address will not be published. Required fields are marked *
Report
Name
Email
Website
Save my name, email, and website in this browser for the next time I comment.
Comment
22. The postfix equivalent of the prefix * + a b - c d is
ab+cd-*
ab cd + - *
ab + cd * -
ab + - cd *
23. Stacks cannot be used to
evaluate an arithmetic expression in postfix form
iumplemen recursion
convert a given arithmetic expression in infix form to its equivalent postfix form
allocate resources (like CPU) by the operating system
24. The postfix expression for the infix expression A + B* (C+D) / F + D*E is
AB+CD + *F/ D+E*
ABCD + *F / + DE* +
A*B + CD / F* DE ++
A + *BCD/ F* DE ++
25. Stack is useful for implemeting
breadth-first search
depth-first search
recursion
Both (b) & (c)
Login with Facebook
Login with Google
Forgot your password?
Lost your password? Please enter your email address. You will receive mail with link to set new password.
Back to login