1.

Evaluation of 4*5+3/2-9 inprefix notation.(a) *45-/32+9(b) *+453/-29(c) -+*45/329(d) *+/45932I had been asked this question in quiz.This key question is from Trees in section Trees of Discrete Mathematics

Answer»

Correct choice is (c) -+*45/329

Explanation: The expression=4*5+3/2-9

={(4*5)+(3/2)-9}

={(*45)+(/32)-9}

={+(*45)(/32)}-9

=-{+(*45)(/32)9

So the output is; -+*45/329.



Discussion

No Comment Found

Related InterviewSolutions