Infix and Postfix
1. What does the push operation on a stack do?
2. Situation: A teacher wants to process the operators in an arithmetic expression while temporarily remembering operators that cannot yet be placed in the output. Which approach best represents the use of a stack?
3. Situation: A teacher wants to process an arithmetic expression using a stack. What is an important limitation of this approach?
4. Which of the following best describes a stack?
5. On what principle are objects inserted and removed in stacks?
6. Which notation places the operator between its operands, as in ?
7. Why is operator precedence important when converting an infix expression to postfix?
8. What is the main purpose of converting a valid infix expression to postfix notation?
9. For the infix expression , which relationship between the operators must be respected during conversion?