# Table of Content

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

 Question 1
What will be the postfix expression for following infix expression
`b * c + d / e`
 A bcd*e/+ B bc*de+/ C b*cde/+ D bc*de/+
Question 1 Explanation:
Detail Explanation : Click here to See Solved Example A. Infix Expression :
`b * c + d / e`
Steps of Conversion :
```Ch   Stack   Output
---------------------------------------
b		  b
*	* 	  b
c	*	  bc
+	+	  bc*
d	+	  bc*d
/	+/	  bc*d
e	+/	  bc*de
#		  bc*de/+
```
Postfix Expression is :
`b c * d e / + `
 Question 2
What will be the postfix expression for following infix expression -
` A / B ^ C - D`
 A A B C ^ / D - B A B ^ / C D - C A B / ^ C D - D A B C / ^ D -
Question 2 Explanation:
Detail Explanation : Click here to See Solved Example A. Infix Expression :
`A / B ^ C - D`
Steps of Conversion :
```Ch   Stack   Output
----------------------------------
A		  A
/	/ 	  A
B	/	  AB
^	/^	  AB
C	/^	  ABC
-	-	  ABC^/
D	-	  ABC^/D
#		  ABC^/D-
```
Postfix Expression is :
`A B C ^ / D -`
 Question 3
What will be the postfix expression for following infix expression -
` A + B * C ^ D `
 A ABCD^*+ B ABCD*+^ C ABC+D*^ D ABCD+*^
 Question 4
Evaluate Postfix expression from given infix expression.
`A + B * (C + D)	/ F + D * E`
 A ABCD+*/F+DE* B ABCD+*F/+DE*+ C AB+CD*F/+DE* D AB+CD*F/+D*E
 Question 5
Expression in which Operator is written after Operand is called as ________.
 A Postfix Expression B Prefix Expression C Infix Expression
There are 5 questions to complete.