Question: 1.Evaluate the following postfix expressions: i. 6 2 + 4 * 16 4 / - ii. 4 5 6 * + 13 - 6 +

1.Evaluate the following postfix expressions:

i. 6 2 + 4 * 16 4 / -

ii. 4 5 6 * + 13 - 6 + 18 2 / /

2. Convert the following infix expressions to postfix notation.

i.(A - B) / ( C * D) E

ii.((A - B) * (C + D) - E) / F * G

iii.A + B / (C + D) / E + F * G - H

3. Convert the following infix expressions to prefix notation.

i.(A * B) / ( C - D) + E

ii.((A * B) * (C D) / E) / F + G

iii.A + B / (C - D) / E + F * G - H

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!