TPNNR: Ffixnnmlwatron
TPNNR: Ffixnnmlwatron
(Plez.se u)rlte your Exdm 8.otl Na,| &xormRoI! IVo. ..........'..i..;... :..
(b) ti) ;H3::t;*'ll'i1;li;irtion sorrins on a numbers. Show uarious srasrs-inirserriun ro*,ng *::l- -
thedata:25,17,37,13,2. {g)
it.
{ii} What i! hashine? Explain l7l
Q,4, Atteppt
/ part of the following:-
gnV_g-[C
\QY$I Write an algorithm for inserting an item into the Stack and deleting an item from the Stack. (7t
(ii) Convert the foltowing expression from infix to postfix:
-
1) A*B+C/D
2l A+BIC-D
3)
{A+B}/(c-o)
4)
A+{B*C-{D/E^Fi*G}*H t8)
(b) (i) Write an algorithm for converting lnfix expression to Postfix form in the stack. 17l
(ii) Evaluate Postfix forrn:
t) 598+46*+7-*
.21 4213*3-84/L]-+/+ t8l