0 ratings0% found this document useful (0 votes) 50 views49 pagesDs Record
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, 
claim it here.
Available Formats
Download as PDF or read online on Scribd
aa
 
 
 
 
 
 
 
 
 
    
  
 
 
 
 
 
 
 
I iti in
} { expt. No 1__ : Page No. a
Design, Denatne and, Oe. Z AS aj Re =|
Te $82 the toto ~fatty Dptsa te Sree
_| o. Creating On fre of on —Tnh igen el daGenad dwn
|b. Bisplay—of Arrow clerundh with Suitable teasirgs |
(EO CECE st an tesund — od givin. Post |
_ Ditehrg an tlount of given vaticl Position ;
ee. exid oo |
|
L4— i 2 |
(| Bincuade ¢s3-elio b> a
| Pincluide CSidhib.h> manos
tnt afro} 5 = !
(| int 9 volt, 995 !
\
= void tote 1; |
__ | void cise Be
|_| yorol 4% nes !
| votd ditto
 
 
trad main O)
 
if
~ snk chotice +
while Cehsics)
 
 
 
 
“eantd (*\n t CReEnteln 2 DISPLAY \n 3 .aNsekT \s
4deleTeln S-ExLT ane
Prints [ln enreR YOoR crotce st")
Stand (¥2led", Bensite)
Papen ee ae
t
 
 
Teachers Signchre: mee
io ee
@ Scanned with OKEN ScannerOorpet +
(. cReate
2. Display
3. TwseRT
4. DELETE
So GA LT,
ENTER youR cnoice : +
Entm the size of AsOry tliranty 3
Ertor the elorunty fon -the aroy ¢
LOE ISs-a3G)
ENTER YyouR cuoice ee 3
Fhe Sor aber) Oru:
toes so
ENTER YOUR CHotce i 9
EMI tre postion for Pe neu Uw 4]
Ender the arent to ba inaoted .20
ENTER YouR CHorce: 2
The Woranty grt
Ghee aa0-5 BD
CISKER  SioeR CisHEE 4 iy
Ewin the posttim of the dbtrant to be Gakadad i
The Gateted elimet [Ss = 30
ENTER YOuR Cto4ice’ 5
Emit
@ Scanned with OKEN Scanner: Page No,
=m
os Case ty Crate () « ina
ese 9 4 ete: sb
Tense ae gg bras
 
 
 
 
 
| ae Chee” in)",
era gas)
Stand (% thd" yoltl):
 
 
 
Les} pte
 
4
ta disploy ty
 
 
 
 
 
 
 
 
 
 
 
a
t+— ee 4)
Printt (tfed\g> ,old):
Ty j Teacher's Signature :
 
 
@ Scanned with OKEN ScannerMca es
am
ovTpetT >
CREATE
pisplhY
iNsee@t
DELETE
S. Erit
Te
2
3
u.
1
oR CHOLCce %
ENTER YO (irc eee
if £ AHHo
Enin the suo :
entu tre aleends for the asay ¢
20 20 L190
ENTER YouR cHOoICcE=. a
The = aseay akerent&K are 7
S020. 20
aS
e
EWTER YooR CHOICE
Ext
@ Scanned with OKEN ScannerDate
 
Page No.
[vate inguct C)
 
Te ovina (wn Crd er tee postion for “the naa
| stand {**led", Boos): ——
rivat (“\a eniin tre absrund to be tarented « ay
SCand (tled var): -a |
PoxbtstS et i > Spos Sys),
aba pay wey |
   
 
afsH) = of 3):
 
 
 
 
 
| stant (* led", Hoos) +
vat = oLpos):
for (t= poss ten) 144)
f
Mawotnarsae me
faites ees
printt (alm the quisded eterank tse tf"! yal):
 
 
 
 
 
 
 
 
 
 
 
 
 
Lt
J
 
 
 
Teacher's Signature : —_____—__——
@ Scanned with OKEN ScannerProgram eas Suse elation of (-nea_pe Beare
-fecry hs — “a al
place z. stdio, n> oN Sag
__ | stinebude 2 Mackin hy 4 uP
aE tt woinl) =
 
An No, Mor, Look
intats bioel circ):
print 1th ogre ot a
| stant ek sted") Wl, ne):
f it (ni> ne)
BES mox—nt:
_ elie
Mons nt}
print t (rent tre conttuents of Heat polynoniale); |
for (iz mon irzo' t--)
fs
Pinte (tye hd st):
ccank P< FO Wet
iS
1 Printt (Xe ficients of retall")*
for ( fermax', 32=0' —
 
 
 
 
 
 
 
 
 
 
Printt (tet ehd 4" 5)4
scant _[*tled", @ bU))
ae
 
 
 
 
 
 
 
Teacher's Signature :
@ Scanned with OKEN Scannerovr pet ae
angi of potynont
ent the deg
q
fol xn
a £ fist polyno oh
erty tacoma e ‘4 *3 49
Xe
SAID
I Op @)
0 Ly nomi Ce
enin tre Coethcents of second Poly L7G
Kray.
‘
‘
xorg
Aye
shige
Oi
Sum OL the two Poly nonialr 4s 4 SMUT MSA Rr
ae |
@ Scanned with OKEN ScannerDate
Page No.
toc (K= mar jk>=0', e~-)
 
 
Sete) = ole) 4 ele,
for Cizma. r=
fae (“sum of the tus polnontols ts ced “yCs) ay |
Setusn O',
g
J
 
    
 
 
Leal
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
@ Scanned with OKEN ScannerDa
 
Page No.
Program Code
for Addition of two _pomjnortals, ustag
Sdruckate te
“Hinduoe ¢stdito.n >
    
 
 
 
 
tnt Cont, fa 7
nade tet po
alse}, bac). clase)"
int moin tl)
= a |
ave tee ae as a
Ldegt cag 2 |
fe int ¥=o t= ,m2n'
[| privet (4 ene high wt Ralari antigen |
pees Conte (ms cifeictiu) 4 deg |
for (f-o' Ft codeg sine Yl
   
 
Balas “ ‘ 2
Stant (%cled, H 2);
= for (f:0' ferdegn iat)
{
Beane SP poet Or antennae
—| sang (¥*led § Bblid , coett)s
bets) arposts
——}
Teacher's Signature : ——_______—
 
 
@ Scanned with OKEN ScannerOvT PLT Ly
t poly! *
toy the Wight! degre ad 7 ?
rte :
eae tre coel? ? wits!
coett © nae
Ent the xan
x3 0
waar S$
het dager of poly. 14
ah On ie
wiyt &
wie s O
5 Sisto se lea
eA 2
sty 4 OWS + 3K*2 4 Lear + oO
a
eet ye LES EOD EST LS KO
Erin the weg
Entn ty coef!
enim the Cott TE
eExprusen | =
| Erprution 2 =
| potynonial ottur addithon 3 tty Foxes Bete tartits
}
 
Ap ee—s—s—“‘(_‘ il
I
@ Scanned with OKEN ScannerC
a W pint (Wthed xt tld oft. coett oli] expo):
7
_
ale WE a | -
- 7 7 _Date
= 1
= Page No.
 
 
pee sled, olol.coet?):
| foc (iro. te-dagi+ 8)
f
4
print! (*Exreten 2: fed, ble}, coett)'
for (iro fe= sha +
 
E(UPlod ered » : £ z yD) *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ole ee
Teacher's Signature __—
@ Scanned with OKEN Scannerexpt. No
Program code for Spawe
| _ include CStdio n>
Lint wont)
Lf And spare Lr} {10) , Ho,
find trip te Livd fred Aonpr iy
_| Print t (“enti total no of eux of spawn entra) | ys
| Scant (**trd, Meow):
[| print (4 enter total no "Ol _Cotunm vt spake mods. 9). |
i eee ed. cot); \
| Print? (iso teams ie)
 
   
 
     
    
 
tor C205, s2coh, $44)
yo
 
 
 
 
 
 
 
 
 
Teacher's Signature :—_______—
 
@ Scanned with OKEN ScannerOvTpyT t
Endy total no of gows Of Spare wosrit 42
entuy total no of columns Of SPW modits &
| ety cluwdt | 02020
| cleents an 4
1 £0:
20
2 0
| ovTPet 2
| Enter total no tf aqows of spaws rodit, 3
Ento total no of column, OF Spare rab 2
Ent ators | 05 60 0
Eleruntt awe 3
 
 
 
@ Scanned with OKEN Scannertorpte Lo} Lo}= sow +
sawot [ol (1)= cor,
Asupte Lol ltl~ nrwo-
for (iz0', temo + ray,
   
eae Tips [romp ol= ty 1 easel,
,—_+____taipte Ctomp\ (Ma 35 a Sete
_ | tei Eeorspliels sponse COL isdt id cepueel
 
Aeomptt
SS
 
Ss rows tonzewti:, iat) : |
|
ton (j20', $23°, 344) |
aE
prinad (s\n 05
:
 
 
 
 
 
 
 
 
 
 
Teacher's Signature :
@ Scanned with OKEN ScannerDate
Expt. No Page No.
Dist ” Speaaeetee aa a ree Yip seat ia |
Cor the -foltowt Opwodion On STACK of 4
O.. Push an Elertend Ondo stock
b. pop an eleront Prom stacic ae
_C. Denonitrake Ovintiow and undo ttov Mucttions ens eth
ea Ptsploy ANe status of Stock
a Ett
fiopou Aa _Program with appeo pid Bites cchllt Mes
__| 04 -the above optnatton, fot
  
  
  
 
 
 
 
 
| Hinchude ¢ Stdio.n>
_ | Hincude Cstdiib.n>
_| 3 include CString « h>
H doting mor size
| tnt stack Cmax.sin) wtop=- 1 fg: Wi
| int $, temp item , num Lrax. a sis
Se Norsintsn (yt ee E
v = i Bi
| void cisployir, ty
fn maint )_ os
 
 
 
 
 
SSE Cn Cees Sears
 
_Print? (“\n\n stack OPERATIONS 5
Print? (81. ase 2.Pop Rn 3. Display\n 4. ett \n)s |
 
 
 
 
 
 
Pringt [* »
oes f+
{
Cc
 
print (*\n choir 4 \4");
 
ae Stant [ed wcnota) +
Teacher's Signature :
 
 
@ Scanned with OKEN ScannerOvipot f
eeang ope RATIONS
1. posh
2. pop
3 Disploy
YW. ext
Enten your Chofe + |
Endur the ated to be tractor 4 |
entn your choia * |
Ent te elvied to be tmoded * t
| Ent oun Choi % |
| rd ths eluent to be traded 45
Entu your choir 4
Ente Tho clout to be imuteds 4
EW youn Choft 2
rire -poped okoent 4 4
Erdn your chote 2 3
The SPOCK Ubrtendy gas
[eras 9
Ee ntn
GO Chota 4 4
Su
@ Scanned with OKEN ScannerPage No.
Swittn Conte)
Case | push C\*, break '
Case 2
 
 
“—poplr +
in (2h By
4. Print (*\n the poped ebinend sels a |
sl etaseca p LANA stem) |
a brears a ‘ z
Cosr 38% isp!
(1 keenn) a i ig
L Case _e tit Cols, beeaxs e
__| _defant) © print! (+
   
: IN dewalfd Chita t\ne) sheaags |
alt wdeecn. 2
 
x a ee ae |
—-aid_push Ha
“og (top== (max sin-))
f print? (4In Stace Ovbrtlow +>): 4
etna
 
{pratt Crendin tae atid 40 be anredt ad NaN)
Sant (Xd, Hetem)
4op=+top+ 1
Statrl4op] = item: 5
5 emp = top *
— Void _popt )
i ope
4 Teacher's Signature :
@ Scanned with OKEN ScannerOvtpeT 2
sTACK OPE
1. push
2. pop
gee DAS}
&.Eextt
eATIONS
Ent your Chota 4 |
eEnttn ths clnunk to be imoded 1%
| entn your Chote + |
Enter the atepnt to be rmwded 4 16
| Ent your Chott * |
Erctur Tne client to be trruded oF
Enter your chofu % 2
The poped atemunt 4 o¥
Erdon your Chota 4 3
The STOCK aterrentt Oo 3
SG)
 
Erde youn Chotte +4
EU
@ Scanned with OKEN ScannerPage No.
ene
| Hem = Stack L4op]) + |
j top=-top-17
a 4
| void _ isptoy by
 
 
 
 
 
| “rite Tin sae Tis EMETY 15 ¥, a
Bs ee
f = de) ipl
Ort .
toc Uistep) eet ‘occeomail
— pet L&tled Xn’, srace ti) y
v3
 
 
4
J
 
 
 
 
 
 
Teacher's Signature :
 
@ Scanned with OKEN ScannerHin retest ‘Cshdi oOn>
[| are Aebuude 
   
| th inetesde ¢c eo. nwo
 
ind +4op = — ts,
 
 
 
 
 
 
CI chon stock (10)*
ee Comon Gay
Hise es 7 Stack [4 4+4op)=ch + : = i
Pe a popt) — Zl puestet it
B steal Stack [--top 3) *
 
 
int patou Cchox ch).
fF Con=- '(? Wehes 4")
 
 
 
 
 
 
 
se Qiskusun 1 5
eters 5 ES Cry eevee)
Bere OGRA detes
{2 Concec#'M th=='/')
quitunn 8"
enna
 
 
 
 
 
 
 
| Teacher's Signature :
@ Scanned with OKEN ScannerOutput f
endur erprasion
The comrnponding P
ovtputT 2
entur the expyerin
The conn eponcing postfix erprarator 's%
abt cwdss/t*le
OvTPLT 3
9 2 C6- 3) 4 Cros )-2
ost ht erp resin §s4
Cac t Cbte
TESCLIOS |
tare) ocd As ‘lel
Enter the erpeatio lat(b-d¥a)
postfit edpreaion %S%
The  Connepondt
abc-de+t
@ Scanned with OKEN ScannerExpt. No.
Print? (“endin a vatidl
SCant (* "7/5", tntin)-
fon Ciso 5 gn fitli t= ‘Vo?
imfx expression”) +
Sais
it Cisotnum (nts i)
Post fir (gat } = inte lids
clre
 
{ft Gatatid--'C) 5 reece
posh Cintiy Lid); ———_____ ss
efee tf Cimtix Lidn = Pt rit gor
While Catack [doe] | =
  
 
 
 
 
 
Posa fix L344) = popty _ <4 a
pop ly 5 Zs |
ad = ehne a 7 A 7
wht Cprioa (stack (0p) >= prion (enti Li))
—— posi tit L344) ~ popl)-
 
 
ee eoish Crotty
Bay
| obits Canc renpl = EN) eae
-|_pdstHi [y+] = popt) +
posths (3): '\o’ -
+ _printt Oe aelng pain nmin TOS
 
 
 
 
 
 
 
 
 
 
Teacher's Signature :
@ Scanned with OKEN Scannermere Stouk
Date
xpt. No Page No.
Design _Dudop ond ‘Leplertend 0. Progrom in_C_for ts |
tntowing Stack fepticatiors . O. evalttatton pf softy |
| Expreetion ust sgt ligt opwends, ond operators _ if
ateree ee ft de *
 
 
| Hincluds 2 Conto n> an
Ftincdue Crotn >
MAX 20
 
faire
Foot stn Lmary
Bae: Bs
chan post#x Caand;. : =
void push (tloot)’ a
flood poet): ew = |
  
 
 
int isopssand ( cho») * il
“food operate (foot toot char) 5
ink rain C) = a
 
 
 
int 120°
print (SEntu exprenion: ") ;
 
 
cont ear en es
to.
 
Oot Ani, Opl
att Cet ais
___f# Lisopuiond (post 44019)
push (pos dix [iJ- 48)>
 
 
 
af
|< Opler
Opre popu, Teacher's Signature =
 
@ Scanned with OKEN ScanneroutTPoTt ft
¢ 34 224 arh4+
‘insu a post Ht er
Result + 10
Ovrpot 2
Inwd a postti notation 37 134
Result 145
@ Scanned with OKEN ScannerOns: Operas e (Op! ,Op2 , post 4 C49) *
Push Cons) 5 ;
@ Prine (ME oc tet
J 4a 3
Print! it
Gun Oy;
Cie #\a" ops +pos8 Fit (iD 061, any:
“IS stu fs.to el);
ind iSopmrand Cohor x) ane 7 Ze
it (ed. "0 wh Keeg)
   
 
See
if (S.top >= max) i
pintd («Stace is tut\n stace ovattow\n")*
— acid push Lito)
 
fue
S.topts :
7 stuls.top) =%*%
1
popl)
it (S.top > - =)
 
fintt (“state + nN Stace wi Lt oe)
quau;
 
Teacher's Signature :
 
@ Scanned with OKEN ScannerExpt. No.
ene - E _Date
 
   
Page No.
    
 
ae ° ao bel fund oo 2 ,chona) Oe
{Satie (a) rd
 
 
Cau +" * aaturn op2-+o p+
Com '— 1 * setuxn opt -OP1* as
 
 
Cort ‘4e' 5 Hetann Opt POOL,
| {| Cass '/" * setuin opr foets
}_{__Cos ‘As ¢ sptunn pow lop op!) :
4
 
 
 
 
i
Sy
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Teacher's Signature :
@ Scanned with OKEN ScannerDate
ot. Nc \
Expt Page No \
b. Town of Hanol problun with 0 dists
_ Hindude éstdio h>
Himluds CCONIO-AD> bi
void tower Cink nj tr SOONG, pnp Lanp , Tat dudtination)
i# Cn: <0) = = mata =
LL _ Artorwn 5
{ |  sornenCn-t isos dutinglinn gue lea
 
 
 
 
 
 
 
 
 
 
 
Print+ (“\n Hove dist led trom 2lec to? cone socal
A. wtinatton) + |
| town fn, texp, sociedad ation) 3 ———_
1 vonen main oO [3 ae ~ ere a
ig
nay =eeae
printt (v\n ot discas\nr) 4
| Seant (s*ed », Bn)
Cera er ie (ry pat naman ges cnn) 2
| __printe (4\n|n total wurber of novw ores led Lint
- pow (2, n)-) +
; ‘
 
 
 
 
 
 
 
 
 
 
| Teacher's Signature ; —________——
 
@ Scanned with OKEN ScannerOvTPOT
Entw the nuebu of disca 4.3
Move disc 1 from # to ¢
Move dict 2 from f 40 G
Move die 1 from cto B
Moe disc 3 Hom # +40 ¢
MOve deer 1 Hor Bt A
Hove dic o tion 5 ®
Move dist v dige, * ere
Total Wurba Of nove ane t+
@ Scanned with OKEN ScannerC_ Program ‘Leplount Gucoe
Hinckuda 65 tdi0.n7
te nctuadt CS4dG6.h>
#oafing mAX SO
void ined O) 4,
void duteteur,
void display t\,
int qucut assay Lax) =
Ant duane U4 =
tnt front 2 —U, = ——_—_|
int moint) ee
  
 
 
mi} Patt [81 taseed thunent to. ne
pdt? (ete Delete ded PC
| Prtndd (63. Hf ‘Soho AML eburanth Of Oyrere n't
Quit \n
print (Wu. “)s
_ pringe (4 Cntr Sa
Stant (ethos, HthoiG)s
Suit Cehoice) ik
L -— t
| 2 cae ne ‘india a2 92 a
aos Sette C2 aaa
perc 8 Oi + ——_—
| Babe Craton sont =n 0) ncaa
ae detowst prt * wro! Log Ant]
5 Teacher's Signature : —________—
 
@ Scanned with OKEN ScannerQviv por
1 Tntud clunent to ort
Oot
Y. Delete clasant from
of gut
> tsplay atk clone nt?
u Qul4
Endy ou choi +!
nd Ye dlount SA Qureut * to
entur your choi 2!
Tr the cane Tr Quagee 315
Emin youn thot 3!
Traut “tre alenent In Quest iro
Erin oun Chota t 2
cluunt> dated trom Suir is 210
End yout Choia 2 |
Hound tn Qu * 2S
ENy your choi 13
Displey ar ours Of Que ts)
1s 2
PVH Your Choia 44
Quid
@ Scanned with OKEN ScannerExpt. No:
 
void tart
t Sind add. thems
$4 (xeon = = max)
Pritt (¥ Guus oventios \n")*
ee :
|_| { +4 ttront == -') S|
Se yowt 20 tone a ae ae oo
Print t (4 inrot ts e er =.
Scant (x ehed jpodd ster ued Oa!
 
 
 
 
 
es SOOn > Heant 14 a aa
ao assay (ean) = oa eee
ia
 
 
 
 
 
 
 
ts 2 tle *
 
 
 
 
Teacher's Signature
 
@ Scanned with OKEN ScannerIexpt. No.
 
void disphay 1 pal ea
(ota Gs Gene geae
| tt bhrnng ee =")
prindt (Gua is_ taeky ine ‘
cla = : ee Sate
 
   
 
 
printt (caucus ist \ns)s_
for Liz ont + te- aeons i++)
pdt th (Xt od, owen vey 140)
al _printt (s\ne))
 
 
 
 
 
 
 
 
 
 
 
 
 
Teacher's Signature : ___——
a
@ Scanned with OKEN Scanner_C Program to _ uplunt __Cirendon Buu
Hinaade Lstdio | n> 7 <5 |
_stindude ¢5 tdif bw
 
find seu)
pte
|
7 # Satins mow 8 ee ’
[ia eitelais ect? suas las
 
i (Urn 250, BE guon— rot) nUfrond ==s40043)) |
[| exe
maree AS Expy)
whan 0 |
Preeti a
Seudrusuy 17 = Sen=o50 =
oAat Satusu 07
 
3
 
Lyord tom “Uae we)
 
 
 
RUCRe) ee
ne “s rots |)
cha |
a4 (how ==-)
Front =o’
suo Coos tt)? le moe,
a, Louast) < be}
 
Teacher's Signature : _____——
@ Scanned with OKEN ScannerOvT PLT
(niet
ov. Dutt
3. Disploy
4. But
Entu your choia 4!
Inet an avant + 16
ent your Chott 2 2
Detsted elovrnt V1G
ERE Your Chotcr Sa
Intod an dunt) 20
Entyy Youn choi 23
Disploy the dsrunds 3
32 SY 30
Ent yo nies 4
Gut
@ Scanned with OKEN Scannerink Vator 5 ee ee
it List nptyO) :
p(s Sues is. “enphy ©
   
pant? CX Dude aasand s2bd ', votueys,
4
| ai Gisploy O)
it Us Exp ty ty) —
f
Onnd! (¥ Quew iS Expty ")!
Sethu |
7
 
Jor (int i=front 5 4) csuom 5 42 fi+i)* le mos) ————
te
Pangt( Ketdle", cyl DV
4 Teacher's Signature = ——_—_—_———
@ Scanned with OKEN ScannerExpt. No. Page No
L word maint}
i pe ind ch, ele iis
_tlo ibd Ms :
    
  
priest al thon ae e nto our Chote %"")!
___ Stand {xtledu, g me
SemEm EC LEN Ee ot ta he ON ae
 
   
 
 
 
Cou “Ls print 4 (4 Saked on ohana Leena
eS Saenes Stand (x teeth
a : ingot Cus)
Pe bree
| Cass 2% Ae tese O14
break!
 
Cast 8% printt {2 Dis plas She dasuantn § ‘
cisploy ty’,
my UO
clefoutt + pantt et toronge Chota“)
 
 
4
4 whi (oh = 4)!
ce
 
 
 
 
 
Teacher's Signature : ——_—————
 
@ Scanned with OKEN ScannerDate
Page No
C_ Program to inpleunt operators [ inset \
pt _Singty linted List te U SAO ladony
eat
_flinctude ¢stdio.n>
| finds ¢stdtibhy a
Struct note f f i jcc a
 
  
   
  
 
_int dodo:
 
 
     
  
 
_Pringt (1. INSERT A WODE AY THE B —
 
 
= a. RT ANODE AT WWE EWD\n |
3. “DELETE A NODE AMINE BeEQanHIWhlA
4K. DelLeTE A Node AT THE EWO\H
_OTSPLA
 
“Oriny! “tn Ent youn cheie 2")
Scant (**led4, & chpice
 
 
 
Cast 11 print! (in ent tha_atanad to be Sosodes°Y
Stand t veld {ul}
na
bree,
Teacher's Signature
 
 
 
@ Scanned with OKEN ScannerDvTPut °% /
stugry Lineed rst
lL. Tysear A NODE AT THE BEGINNING
D.tosert A wode AT THE End
3. pelLeTE A NODE AY THE SEHINH ING
&. Delete A NOOE AT THE END
S Paserayv THe LIST
6. Grut
Ertu youn Choices 1
Ent the duunt to be inmeded 73
Ent your chotas 4
trdw the opunt to be tnenbed t2
End youn chou 3 t
Ergin the test to be trovted 31
ERB Youn Chote t 2
Entin the elorend to be Traded sy
Ent YOwL Chofea 2
Ent tho Unstand fo be meted 1 5
EntQ\ Yon Chou: g
Dutd doud is t
ee ee tendon you! Chota
Sal sid ent a
@ Scanned with OKEN Scanner
Ent your choi +4
Det usead ts 5
+6Case 2 2 print (« “in Ent ta due $9 BO
—Stan# (#%ron ety
tarot end Cu,
—breacs
i vabs dated begs aces
— Print (* Duatid” tenant ts ted svar \
rears 2
Ya Nad dettee aan Os ek
Post C Deteted eberunt ts fed
 
   
 
 
 
 
 
beeass fei
Coase $2 display - st, a
brear y
: Case 6% enst “Coy, brary ass
5 Oefautt + Printt (« erder vatid Chote "}s
ian jist
4
Wid inaud . beg (as)
Strack node? nun node
naw node = (Strict nods sb) alin (ee een
___ nus nods —> data = ett
| new-node — link -s00t,
   
 
 
~_ sii ae pie nus node 3
News - * sunt node):
nu - node awa. solo’
nuo-nods me Une = weres laiereGguaet
 
@ Scanned with OKEN ScannerPty > soot 5
while ( ptn—>link t- wut) :
pin= ptn > Link | 7 =
Ptn—> Link = nesw-nods 4
  
  
  
   
| ont dude, 7 beg y
_$4 Camot >= vit) ieee ye 2 al
print (\n List as emery” 1
_ Struct node * P44,
pin aHoot’, — ==
Hoof = ont Unk
   
 
 
 
 
 
 
| it Caco = = ety
_ | ptntt (*|n Ltst ts emery]
Struct nocle © pH,» Prapters
Pina root, ; =
bho ( pau — Uns slo yur)
{
| Papi = pt TS eee
pau = pta— Link 5
ll ae
aatunn pix > dota +
__ tres Cotads
5 Touches SUR ra
 
@ Scanned with OKEN Scanner__woid. display Oy
       
 
 
 
 
 
 
 
[Strat modi ® Gr be
a if (quo04 == NULL) ‘ og te
Print (*\n last as emerys seis ca
et cae on ee Se EE ee she)
__—_cohf te Cort = aa
| +— , =WOLL eee
| H
| printt (sefodu Cun —>doto\!
Bo} _crgnt = oun —) link
 
 
 
 
 
 
 
 
 
 
 
 
ra
 
Teacher's Signature 5
@ Scanned with OKEN Scanneree EES |
Expt. No.
Design . Dwedoo ond t }
Lr plercent *
fase ot ie snp Omen seven Program ind
Opurattons on pit ag
: ; 4 prog. ‘
the filo’ os ap -NOmt, Bronth Area of afnieane |
So Crate 4 OLt samen nt ay ‘ ao
| ‘ -Profurma's Dota
By be Cet ote gp ii Oyun of oa
__ Display the status, of Og
 
Proferows Data a
found the nibin of node
in ith
 
 
 
Bt induce estdib n>
Struct pmfenon
 
     
 
BBS A yor neee 2 ae laa area
Be Chan nome (20);
Pee Ona Oran lane
fe Chan axsootspec ro];
 
ts a » front = NOLL wStome SOL
Void mainty
tat Choliee hs +
rl Na 3 L Lists Pe ;
sntl ie 1
inte (“in 3. exry *)s
wht Oy
   
 
    
      
 
 
 
  
 
 
ES Printt (“\y eroteR YOUR CHotce: ):
| Stont (X*led *, & choi) 5
Teacher’s Signature :___
@ Scanned with OKEN ScannerOvtPut %
4. DOUBLY LaweED LEST STACK OF PROFESSOP'S Dara,
oe MHUELY ured LST aust OF PROFESSOR'S Dar,
SG hat
ENTER YOUR CHorce * |
LT. PROFESSOR DETAILS re
2. Drspiay professor DETAT
es SiS EAE
EWTER YooR Celorce : |
EMTER PRoFESSOe 1D |
ENTER PROFESSORS NAME: X
ENTER PROFESSOR'S BRANCH 4 CSL
ENTER PRDFESSOR'S Area vf SPECTA LIZATION + dada seu
ENTER YooR Cuoice: |
ENTE® PROFESSOR LOL.
EwTeR PROFESSDe'S HAME® Y
ENTER PROFESSOP'S BRANLH : CSe
ENTER PROFESSOR'S AREA OF SPECTALIZATION , Oi-md
Wenger OF NODES = 2
ENTER YouR CHolce 33
EX LY
ENTER YOUR CHOICE
PeroressoR ie, |
PROFESSOR NAMES ye
PRoEeSSOR'S BRAwecy
soe
Se SSE
PROFESSOR'S Arto Of SPecTAttATION % dato sUUe
@ Scanned with OKEN ScannerDaté
Page Ne
{_swittn Conster)
COSe 12 punt t (“\n t PROFESSOR OErAT
 
: LsGehe
Prindt(“\n 2. Display Peoressog a \
—____ Print #(“|na. ext) 3
   
white Cr)
Print t (ln eoner Youn cearce ss\un a
Stand { «+/+ gical Gaz aag eee
ee ee CoQ eae ad
 
 
 
poss Casel % PuShO)s breaks ats
pee EE Cos e>- chip 5 brook | oi eae ey
Case 34 oxi tors
ett sprint! (Xin enter valid Chota ")s |
| sit |
4
 
 
ES@OSersss,
c 4 (vlna 1. PROFESSOR OEVALLS.Y) \
 
|
print? (eins cxat") \
ave hs |
whi ©)
]
Print ty (x\n_2-OTSPLAY PROFESSOR DeqAZLS.")'
Print? (MIR ENTER YouR CHoice 2) |
Stand (thos, ¥On)!
Switch (th)
case tt inv ¥
Ly 3 '
>
Teacher's Signature : —
@ Scanned with OKEN ScannerPRorsssSoR 1%?
PRoEEsSOP's NAME og
Processor's BRANLU > CSE : :
PONPESSOR, AREA, OF SPECTALILATION 3 Qt-mf
Ltst sTACE OF PROFESSOR's orn
t. PooBly Linked
Last aveve OF PO RoFEsSoP's Dara
2. DOvBly Lrwere
3 Extt
ENTER yooR CHorce: t
1. PROFESSOR OETAILS
2. Dasplay PROFESSOR OeEFALLS
an EHET
EHTEP YouR CHoice:T
EWTER PROFESSOP TID* 3
ENTER PROFESSOR'S HAME > A
ERTER pRoFESSOR'S BAANCH mee
ENTER ORdFESSOR'S ADEA OF SPECTALT ZATION 7 Robots,
EnTeR YooR Chote 4 tf
ERTER PROFESSOR ID, Y
ENTER PROEESSOR'S KHAME 2 G&
ENTER PROFESSOR'S BRANCH 4 Ec
ENTER PROFESSOR'S AREA OF SPECIALEZATION 7 VISTPEY
akus
4
SS —_
@ Scanned with OKEN Scanner|
 
  
 
Date
a Page No.
Cose 8 4 erty Lo):
Actoult + pratt (sent vatid Chote)!
4
Aetoutd + print (“in entu valid Chote) \
w a
(js
i. = a
CEC Ra ee as =
 
 
 
Strutt prof uo © ener
—protdetoits = ( (cet ona ca Soa
44 ( profderaits == voir) i
__Prindd (X MEMOeY Ts wor ALLOCATED)!
_pPrinrt (xin EWTER PpRoressoe 10;
 
 
 
 
 
 
 
sya g a
SCant (hd, Bprofdetai,—> Id): |
pitt Cin enner tioresioe wane oy,
L Stand (%cleS",  profdetait, > name)!
___Peintt (*|n_ enter Tc
- cont (K 2S"). profdet ait, —> brantn)s
_peintt (*In Ewer peoressoe's AREA Of SPEcTALIZATIONL
Scant (eles, profdetail, > axaoots pe) + *
|___Protdetoily —> Prey > NULL’ Le
#4 (op ==no) oy |
Pane, S |
"top = profddaik ° : |
| Pmt chedorle > nert= uo
trong = top +, a j : \
 
 
|
Teacher's Signature; —________ |
@ Scanned with OKEN ScannerRQ cHorce ar
ewer yoo
professor re. 3
peoresso® wane > A
peoressoF BRANCH , EC
Soe en oF spec TALTZAT ION 2
pe pFESS? Rebel
&
Peneesso® ap. 4
8
ROFESSOF WAME *
& BRANCH > ec
ROFESSO
f SPECTALL2ATION 2 Visto
a
peoresso® AREA ©
ewrer YooR CHOICE 73
BRIT
RonBee of NODES’ >
@ Scanned with OKEN Scannerctxt { protdetatl: Dang -
tOP ~ Prof details
front > 400°,
tops
}
3
void intwd C)
i
Strud_profenron * profdetaih »
profdttail = (Struc prof waar
id (protatetans « sree ton ©) notte (sits of (strutd professor)”
Printt ( brant): pe
___Prindt (*]n EWtee pporessoe's AREN OF SPEC TA LIZATION):
—_Stant [*°hS", prof details —rasnactspec)' |
___protdetail: > nett =npirs 2 es
if (foes nove) ‘ xs eee oe
____ front =rean =profoletaits 5 i a i ale
____ Frond => nett = NULL
—__Htay—yrnetto atti
ia 3 profédetails > pro = NOLL
clit { suan —r044 = profdasaite: oe
 
 
 
 
 
 
th > Pray > aor) ——
Suan = proldetaile,
, 5 Teacher's Signature:
 
@ Scanned with OKEN ScannerPrints 7 ne POFESSHO TO 4 old \ ROE aera cel ee)
print! (‘ImPeoerssne pane: AG
| printt (In opocessoR Beane +: 25 uae STEN
print (In Peneesso® Agee of specraumatzon 4+
2 trons — x09. 0f Spe):
| pas seen eee Ss
prints Cs \n oupee CF woos = ef
Th 7
ee
4
|
|
Teacher's Signature : —________—
1
 
 
@ Scanned with OKEN Scanner