Table of Content

Stack MCQ : Infix to Postfix Conversion (Multiple Choice Questions)


Question 1
Which of the following is an example of Postfix expression
A
* + A B C
B
A B C ^ / D E * + A C * -
C
(A + B) / C
D
None of these
Question 2
Convert the following infix expression to postfix expression -
A / B ^ C + D * E - A * C 
A
A B C ^ / D E * + A * C -
B
A B C / ^ D E * + A C * -
C
A B C ^ / D E * + A C * -
D
A B C ^ / D * E + A C * -
Question 3
Convert the following infix expression to postfix expression -
B * C - C + D / A / ( E + E )
A
B C * C - D A / E E + / +
B
B C C * - D A / E E + / +
C
B C C - * D / A E E + / +
D
B C C - * D A / E E + / +
Question 4
In Computer generally _________ expressions are preferred.
A
Prefix
B
Infix
C
Postfix
Question 5
Data Structure required to evaluate infix to postfix is __________.
A
Queue
B
Pointer
C
Heap
D
Stack
There are 5 questions to complete.