0% found this document useful (0 votes)
265 views

05-Cse-19 (Lab File)

The document appears to be a student's laboratory journal containing the record of experiments performed in class related to data structures and algorithms. It includes the index, descriptions of experiments conducted on different dates, and teacher signatures certifying the work. The journal documents the student's work across multiple programming assignments involving concepts like linked lists, stacks, queues and trees.

Uploaded by

Pir Haris
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
265 views

05-Cse-19 (Lab File)

The document appears to be a student's laboratory journal containing the record of experiments performed in class related to data structures and algorithms. It includes the index, descriptions of experiments conducted on different dates, and teacher signatures certifying the work. The journal documents the student's work across multiple programming assignments involving concepts like linked lists, stacks, queues and trees.

Uploaded by

Pir Haris
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 20

OREREREOORECREORECREORORORECRERRNRRERR

CERTIFICATE
Name:BRAR HAANEED Class CSE- D

Roll No: OS-CSE-2/7 Exam No:

Institution SoCT, BGSBu


This is certified to be the bonafide work of the student in the

Drdaauct i C_Laboratory during the academic year


20 /20

No ofpracticals certified out of in the subject

of

Teacher ln-charge

Examiner 's Signature Principal

Date:.404.22 Institution Rubber Stamp


(N.B: The candidate is expected to retain his/herjournal till he/she passes in the subject.

A &REORERORRERORERERORERREREOREOREREOR
N D E X

S. Name of the experiment Page


No.
Date of
Experiment
Date of
Submission
Remarks
No.

eglan to tnitalelonnt-
Alack

2Pro Yan to mvt 3


elmAnt omkoch

3Proaxw to n t

S-6
4Tom Luul

S |roqYa to lsut. -8
e l m t L n dunkid l i t

6Dregnn Usve 9-/


elmtat Yom lrkid

souTUm
mcly dously 3
RERERERRU
IN D E X
Name of the experiment Page Date of Date of
No. Experiment Submission

8 e4am_eto 2eomeYe nede 14


om elaubly lnked

S
( e7ue oy Ln2uph -19
Date
Expt No...04 Page No.... .4. - -

LnsttelgadZ
Ktask

oleknt MaxS
LlLep =-L_kack LmAx1;
Void Psh Li
Veicd display_)i
VeLd maun L
Lal cla3
whule lA)
Punl h1 hoh In' Bn3 DupllnyiExit
Stand (ZdLch)i
Swteh (h)

break
Cce O
pieak

Cus3

Csy
Taachn'e Cinaturo
Date
Expt No....
Page No......

Lnl Val

Prundf tk a full")

Pelf (eatu ekegent to Peth)


Canf"d "Lvad)i
top =tep+L
stach ltef] =Val;

AShokA Teacher's Signature:


Date
Expt No..02... Page No.......

Ktack
nclue <stelio,h

Voiel Lep
Vocel 7in )

Vaid Pep O

els

Penli bkkd elemch e",stahlrt)


top = top-1_

AShokA Teacher's Signature:


Date
Expt No....03404.
Page No....7.

23&wdo aLegsamto ipsest ncl nve

#Lnclucde <steloh
nclude <COuo h

VoLcl sestan_

l[ieas n)LLLJort= =laacti lIlfml


Teaat]L

else if_(2sas-o

=L-
lse

Teacher's Signature:
AShokA1
Date
Page No..
Expt No...

Veicl aliletian )
ltient -0)
Pnl4 u tordupleu"

itm Liaond j
eni =-ica

end=0

clu i_ltaent-n)
ánt=

es
Date
Expt No. Page No.....

Ll mln )
K

clo

Paunt 4 1: Trsel ")}


Puni "2Delele];
Pal4 /"3:Pd");
Pet "4 Eail'");
Paint4"enduaur choice
Slen 4"2dLLop)j
Swtchl )
Cone
Lnstation l
break j
C
delebionD
boeak
Cuye 3
eak

whil Lop)! =9;


Teacher's Signature:

AShOKA
Date
Expt No..OS-06 Page No. . . 7

elenzend _at
likgeenilpesdian laked _udist
cliuele <stelio,h
#pchude KHlih
Sue7oele

Voicl trstt al beaantan hudWeele finteli


Shaat vNod uw-Yoele (iudnoclalla
nuw-nocle clig=dataj
1 -1nocle nel=(¥14)j

tnsunl efla hut and2de, intchh


eid
Cnecde=AlL)

end4["huitn pruis nrde Gunt ben

Teacher's Signature

AshokA
Date
Expt No..
Page No...... S.

stutWadenud-necle hud wade )rzulkelki g


hud d);
2ed-nocle data
2ico.cle 1) ent=nnele peat
2)ecle 9t 2ed- 222de

VoidLmLnl at end ud nacle danf,.ind dda


Staud sadenasenecle -lshud-MedëJzrallhc lstytz len)
Shud-node lad*LA;
esnecle >tin cdala
2 eLd n0de_ 2ent NULL;

2uneele.j

Lwhile Llustneat l z NuLL)

twn

Teacher's Signature:
Date
Expt No.
Page No.......

aiel clalcte wlecle tauut hdiAf eed Ly


stud locdelenp-af,P

aeLnp)-
ubn

Pw-lep-
Date
Expt No.
Page No...1o

Voic Pend list lhutpoea0le)


2n0ele
Luhle nocle Null
Pind4 (LAneele dea)
22ncle=22ede 22eil

Shud ede huld=NULL


Lstrl_at ad kheod 1h
bmul af Begineg LLtadlI;

Pinl 4 Lkd leliD


Pint List (hiad l
u tlmed );
clitilaneele/
Punt LLmdl;
Expt N o . . . 7 .
Date
Page No..

tiwe cles beluve


ncluude Lslele.}

KLut nacle
ntclasa
Sut.eele uj
slut22.0ce TnLit
acaed, Ylust
Voie ep4t ad lerd eluba,nd Prailnli
O
Lnd 22 clataschsice1;

uad-NULL
dust 2NULL
sunl4/ "erla he prs Hon whe geu want o nla
Lw22ecle "I
Slans /2A"Lnl
aual4/nla clula ld 2scle nJ

Teacher's Signature
AShokA
Expt No. .
Date
Page No..12
tnt at_a N(data, n);
Teuk
VoLc t N nt dadu, t leVas
Shut.adeogeuw nedlo lnp
L_headr=NoLL)
hidy Eelilá npy

n-head
P-1i
whil LL lenhon 1LLf l e NLL
lenp irf nLrd
+t
len ean=-1
Lrwel al btgeniy (dudal

vel ldda);}
Teacher's Signature
AShokA
Pege=13

necle =(3tud neolemallee (dijeq (Shul noele )


n
eudnocle olula o h
Noelo nend l 1ent
7 Cud
nw Nocl Puw tonp
tuonbned NUL)
t . ned > Puw n h oclo;

din ned = neonoclo',

Pount 1("Nede Crserte eluuesfuly at d PossHon, Pr

Prid 4 ("Enn, nvalid Pes Hi )


nferinm end No2 o By-1y
a rog Yam to move done bda
JNl
two ne ols LM
clowsly dnbrd dyt
bnclude <sldio. h
nclele sldL,4S
shut ne cle
nk Cloan;
aut ocle Pruw;

Shut nocemend;
Auad, +dost
voed delit om ( tnt r hon)

nucle lmmd
int Li
Cassent ad

Cuwmunt Cummt nan


Pe-1
(Pesik 1)
elelite som in

else i (Cuud Ju)


d o wel );

lst i (uwnent Nol)


Cuid- Pev ned ument nnt
Cwmund n e d Prw = Cumint P w ,

CuLnd)
Paund 4"ucmtuy oldtad Node rom el
Peri Hon"' Pai tion )

Phint ("Tnvalid Porn tion"); f


Erpt No 6

-1o wait r g Tam or


Entudo stolo.h
ncucle tdllib.h
Unt Seuna V, E dinty visi.tcl DoI,y Co) e
Void Drs (int i)
ent
Viibd iJ-1;
Peil 4 (; d W, i+1);
b J-o jeVj jt)

Dfs )

m cn)

iij , V, V;
nt

Prid rnps. \n"),


int Enln Hu no
g eelgs"
tan 4 ("2d) E);
Pis ( Estr a o
Verticls: "7;
Stus (" 2d yv);
Pe /2

OP-0; i eV; i++)

1fo lj-O;jev;j)

Punt f ("Eabs u elys (olmad V , ):);


un 4(" d rd') Sv,JV,);
yCvs-j v,-1) =1

Y lizoj teV; i-+4)

b Cj-oj jev; j++)


Peinl f("%d",L, teI Ue1);
Prunl 4('1");
Paint (" En ha somu: ";

DeS (ount- 1) ;
u n D;

You might also like