PLEASE PLEASE use you own words do not copy and paste This

PLEASE PLEASE use you own words, do not copy and paste !!!

This is a computer science/ Data Structure assignment !!

Write one to two paragraphs describing each of the following topics separatly:

Postfix expressions

Infix expressions

Make sure to include resources. Thank you,

Solution

A postfix expressions are the one which are easily read and evaluated by the computer. The postfix expressions will not have a braces as part of them. In the postfix expression, the binary operator which operates on 2 operands, will be placed after both the operands, and that is why it is called POSTfix. The operator will be post the operands. The simple logic for postfix evaluation is, if it is an operand push it to stack, and if it is an operator, pop the top 2 elements from the stack, and apply the operator. The compiler usually stores the expression in postfix format so that, the computer can evaluate these expressions faster.

An infix expression the one which is easily read and understood by the human. In the infix expression, the binary operator which operates on 2 operands, will be placed in between both the operands, and that is why it is called INfix. The operatored will be In between the operands.

PLEASE PLEASE use you own words, do not copy and paste !!! This is a computer science/ Data Structure assignment !! Write one to two paragraphs describing each

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site