Skip to content
Pooja Bhatia Classes Hari Nagar
  • We teach following classes
    • Class 12
    • Class 11
    • Class 10
    • Class 9
  • Sumita Arora IP/CS Solutions
  • Jobs/Internship
Pooja Bhatia Classes Hari Nagar

sa 12 cs chapter 10

21. Use a stack to evaluate the following postfix expression and show the content of the stack after execution of each operation. Don’t write any code. Assume as if you are using push and pop member functions of the stack AB – CD + E * +

sa 12 cs chapter 10 / PythonCSIP CS IP

(where A = 5, B = 3, C = 5, D= 4, and E= 2)   Algo : 1) If operand is encountered, push it onto Stack [End If] 2) If operator is encountered, Pop two elements i) A -> Top element ii) B-> Next to Top element iii) Evaluate B operator A push B […]

21. Use a stack to evaluate the following postfix expression and show the content of the stack after execution of each operation. Don’t write any code. Assume as if you are using push and pop member functions of the stack AB – CD + E * + Read More »

22. Change the following infix expression into postfix expression. (A + B) * C + D / E – F

sa 12 cs chapter 10 / PythonCSIP CS IP

22. Change the following infix expression into postfix expression. (A + B) * C + D / E – F Read More »

Post pagination
← Previous 1 … 3 4 5 … 28 Next →
  • We teach following classes
    • Class 12
    • Class 11
    • Class 10
    • Class 9
  • Sumita Arora IP/CS Solutions
  • Jobs/Internship
  • We teach following classes
  • Sumita Arora IP/CS Solutions
  • Jobs/Internship

Copyright © 2025 Pooja Bhatia Classes Hari Nagar | Powered by Pooja Bhatia Classes Hari Nagar.