Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 9

JAGANNATH GUPTA INSTITUTE OF ENGINEERING AND TECHNOLOGY

Sitapura, Jaipur
Department of Computer Siene an! Information Te"no#o$%
THE COURSE FILE CONTENTS
1. Time Table
2. Faculty Guidelines
3. cademic Calenda!
". Syllabus C#$y
%. Less#n &lan
'. Lectu!e (e$l#yment
). &!e*i#us +ea! Uni*e!sity ,uesti#n &a$e!s
-. ssi.nment Summa!y
/. ssi.nment S0eets
11. Class Test Summa!y
11. Class Test S0eets
12. ttendance S0eet
13. &!e*i#us yea! !esult #2 t0e sub3ect
1". N#tes
JAGANNATH GUPTA INSTITUTE OF ENGINEERING AND TECHNOLOGY
Sitapura, Jaipur
Department of Computer Siene an! Information Te"no#o$%
SYLLA&US
Name of Su'(et ) DAA *+u'(et o!e),CS-.
Unit Content+
I
&AC/GROUND4 Re*ie5 #2 l.#!it0m C#m$le6ity7 O!de! N#tati#ns4
(e2initi#ns and calculatin. c#m$le6ity.
DI0IDE AND CON1UER 2ETHOD4 8ina!y Sea!c07 9e!.e S#!t7 ,uic: s#!t
nd St!assen;s mat!i6 multi$licati#n al.#!it0ms.
GREEDY 2ETHOD4 <na$sac: &!#blem7 =#b Se>uencin.7 O$timal 9e!.e
&atte!ns and 9inimal S$annin. T!ees.
II
DYNA2IC PROGRA22ING) 9at!i6 C0ain 9ulti$licati#n. L#n.est C#mm#n
Subse>uence and 1?1 <na$sac: &!#blem.
&RANCH AND &OUND4 T!a*elin. Salesman &!#blem and L#5e! 8#und
T0e#!y. 8ac:t!ac:in. l.#!it0ms and >ueens $!#blem.
III
PATTERN 2ATCHING ALGORITH2S4 Na@*e and Rabin <a!$ st!in.
9atc0in. al.#!it0ms7 <9& 9atc0e! and 8#ye! 9##!e l.#!it0ms.
ASSIGN2ENT PRO&LE2S4 F#!mulati#n #2 ssi.nment and ,uad!atic
ssi.nment &!#blem.
I0
RANDO2I3ED ALGORITH2S. Las Ae.as al.#!it0ms7 9#nte Ca!l#
al.#!it0ms7 !and#miBed al.#!it0m 2#! 9inCCut7 !and#miBed al.#!it0m 2#! 2C
ST. &!#blem de2initi#n #2 9ultic#mm#dity 2l#57 Fl#5 s0#$ sc0edulin. and
Net5#!: ca$acity assi.nment $!#blems
0
PRO&LE2 CLASSES NP, NP4HARD AND NP4CO2PLETE4 (e2initi#ns #2 &7
N&CHa!d and N&CC#m$lete &!#blems. (ecisi#n &!#blems. C##:;s T0e#!em.
&!#*in. N&CC#m$lete &!#blems C Satis2iability $!#blem and Ae!te6 C#*e!
&!#blem. $$!#6imati#n l.#!it0ms 2#! Ae!te6 C#*e! and Set C#*e! &!#blem.
JAGANNATH GUPTA INSTITUTE OF ENGINEERING AND TECHNOLOGY
Sitapura, Jaipur
Department of Computer Siene an! Information Te"no#o$%
Name of Su'(et) DAA La' Year5Sem )III50I
&ran") CS4A5&5IT Sc0edule $e! Dee: Pratia# Hr+6)7 "r+
2a8imum 2ar9+) :;;
ESessi#nal?9idCte!m F'1G H EndCte!m F"1GI E6aminati#n Time J T0!ee H#u!s
O'(eti<e+) t t0e end #2 t0e semeste!7 t0e students s0#uld 0a*e clea!ly unde!st##d and
im$lemented t0e 2#ll#5in.4
S6 No6 Li+t of E8periment+
1 D!ite a &!#.!am t# Im$lement s#!tin. met0#dsFbubble7inse!ti#n7selecti#nG
2 D!ite a &!#.!am t# Im$lement me!.e s#!t met0#dFdi*ide and c#n>ue!G
3 D!ite a &!#.!am t# Im$lement >uic: s#!t met0#dFdi*ide and c#n>ue!G
" D!ite a &!#.!am t# Im$lement 8ina!y Sea!c0 met0#dFdi*ide and c#n>ue!G
% D!ite a &!#.!am t# Im$lement 2!acti#nal <na$sac: $!#blem. FG!eedy 9et0#dG
' D!ite a &!#.!am t# Im$lement 1?1 <na$sac: $!#blem. Fdynamic &!#.!ammin.G
) D!ite a &!#.!am t# Im$lement LCS &!#blem. Fdynamic &!#.!ammin.G
- D!ite a &!#.!am t# Im$lement 9at!i6 C0ain 9ulti$licati#n. Fdynamic &!#.!ammin.G
/ D!ite a &!#.!am t# Im$lement &atte!n 9atc0in. l.#!it0ms.FNa@*e7Rabin <a!$7<9&
9atc0e!78##ye! 9##!eG
11 A +imp#e pro'#em on +orte! arra%4 (esi.n an OFnGCtime al.#!it0m t0at7 .i*en a !eal
numbe! 6 and a s#!ted a!!ay S #2 n numbe!s7 dete!mines 50et0e! #! n#t t0e!e e6ist t5#
elements in S 50#se sum is e6actly 6
11 Sear"in$ for a frien!) +#u a!e standin. at a c!#ssin. 2!#m 50e!e t0e!e eme!.e 2#u!
!#ads e6tendin. t# in2inity. +#u! 2!iend is s#me50e!e #n #ne #2 t0e 2#u! !#ads. +#u d#
n#t :n#5 #n 50ic0 !#ad 0e is and 0#5 2a! 0e is 2!#m y#u. +#u 0a*e t# 5al: t# y#u!
2!iend and t0e t#tal distance t!a*eled by y#u must be at m#st a c#nstant times t0e actual
distance #2 y#u! 2!iend 2!#m y#u. In te!min#l#.y #2 al.#!it0ms7 y#u s0#uld t!a*e!se OFdG
distance7 50e!e d is t0e distance #2 y#u! 2!iend 2!#m y#u.
12 2er$in$ t=o +ear" tree+) +#u a!e .i*en t5# 0ei.0t balanced bina!y sea!c0 t!ees T and
T;7 st#!in. m and n elements !es$ecti*ely. E*e!y element #2 t!ee T is smalle! t0an e*e!y
element #2 t!ee T;. E*e!y n#de u als# st#!es 0ei.0t #2 t0e subt!ee !##ted at it. Usin. t0is
e6t!a in2#!mati#n 0#5 can y#u me!.e t0e t5# t!ees in time OFl#. m K l#. nG F$!ese!*in.
b#t0 t0e 0ei.0t balance and t0e #!de!GL
LECTURE PLAN
JAGANNATH GUPTA INSTITUTE OF ENGINEERING AND TECHNOLOGY
Sitapura, Jaipur
Department of Computer Siene an! Information Te"no#o$%
Su'(et) 4 DAA Su'(et Co!e) 4,CS-5,IT-
Name of Fau#t%) 4Pa=an /i+"ore J"a("aria 2ar9+) 4
Tota# No6 of Leture+ Re>uire!) ?6
Unit+ Topi+ Let6 Re>6
Tota#
Let+65Unit
Remar9
I
2o!u#e) BACKGROUND:
Review of Algorithm Complexity and
Order Notations
2
12
orting !ethods
2
D"#"D$ AND CON%U$R !$&'OD: Binary
ear(h)
1
!erge ort) %*i(+ sort 2
trassen,s matrix m*ltipli(ation
algorithms.
1
GR$$D- !$&'OD: Knapsa(+ .ro/lem 1
0o/ e1*en(ing) Optimal !erge .atterns
and !inimal panning &rees2
2
C3A &$& 1
II
2o!u#e) D-NA!"C .ROGRA!!"NG:
!atrix Chain !*ltipli(ation2 3ongest
Common */se1*en(e
3
-
456 Knapsa(+ .ro/lem2
2
BRANC' AND BOUND: &raveling
alesman .ro/lem
1
3ower Bo*nd &heory2 Ba(+tra(+ing
Algorithms
%*een,s pro/lem2
1
C3A &$& 1
III
2o!u#e) .A&&$RN !A&C'"NG
A3GOR"&'!:
Na7ve and Ra/in Karp string mat(hing
algorithms
1
'
K!. !at(her and Boyer !oore
Algorithms
2
A"GN!$N& .ROB3$!: 8orm*lation of
Assignment
1
%*adrati( Assignment .ro/lem 1
C3A &$& 1
I0
2o!u#e) RANDO!"9$D A3GOR"&'!
3as #egas algorithms)
!onte Carlo algorithms) randomi:ed
algorithm for !in;C*t)Randomi:ed
algorithm for <;A&2
2
'
.ro/lem de=nition of !*lti(ommodity
>ow
1
8low shop s(hed*ling and Networ+
(apa(ity
Assignment pro/lems2
2
C3A &$& 1
JAGANNATH GUPTA INSTITUTE OF ENGINEERING AND TECHNOLOGY
Sitapura, Jaipur
Department of Computer Siene an! Information Te"no#o$%
Unit+ Topi+ Let6 Re>6
Tota#
Let+65Unit
Remar9
0
2o!u#e) .ROB3$! C3A$ N.) N.;
'ARD AND N.;CO!.3$&$:
De=nitions of .) N.;'ard and N.;
Complete .ro/lems
1
%
De(ision .ro/lems2 Coo+?s &heorem
1
.roving N.;Complete .ro/lems ;
atis=a/ility pro/lem and #ertex Cover
.ro/lem
1
Approximation Algorithms for #ertex
Cover and et Cover .ro/lem
1
C3A &$&
1
RTU E@A2 PAPERS 2
2
TOTAL
3/
Reommen!e! &oo9+)
:6 Cormen, Lei+er+on, Ri<e+t) Intro!ution to A#$orit"m+, Prentie Ha## of In!ia6
-6 Horo=itA an! Sa"ani) Fun!amenta# of Computer a#$orit"m+6
76 A"o A60 , J6D U#man) De+i$n an! ana#%+i+ of A#$orit"m+, A!!i+on Be+#e%
Tut#!ial H
ssi.nment
Class Test 9id Te!m Test 9ain E6am
&a$e!
T0e#!y
9a!:s
Lab 9a!:s
1% 1% 12 11 111 111
Si$nature of Fau#t% Si$nature of HOD Si$nature of Prinipa#

JAGANNATH GUPTA INSTITUTE OF ENGINEERING AND TECHNOLOGY
Sitapura, Jaipur
Department of Computer Siene an! Information Te"no#o$%
Cour+e Co<era$e
Name of Fau#t%) Pa=an 9r6 ("a("aria Seme+ter an! &ran") 0I4CS4A
Su'(et) DAA Tota# Stren$t")
Leture
No
Date Topi Co<ere! Unit
No
No of Stu!ent+
Pre+ent
Remar9
1
2
3
"
%
'
)
-
/
11
11
12
13
1"
1%
1'
1)
1-
1/
21
JAGANNATH GUPTA INSTITUTE OF ENGINEERING AND TECHNOLOGY
Sitapura, Jaipur
Department of Computer Siene an! Information Te"no#o$%
21
22
23
2"
2%
2'
2)
2-
2/
31
31
32
33
3"
3%
3'
3)
3-
3/
"1
"1
Si$nature of Fau#t% Si$nature of HOD
JAGANNATH GUPTA INSTITUTE OF ENGINEERING AND TECHNOLOGY
Sitapura, Jaipur
Department of Computer Siene an! Information Te"no#o$%
Cour+e Co<era$e
Name of Fau#t%) Pa=an 9r6 ("a("aria Seme+ter an! &ran") 0I4CS4&5IT
Su'(et) DAA Tota# Stren$t")
Leture
No
Date Topi Co<ere! Unit
No
No of Stu!ent+
Pre+ent
Remar9
1
2
3
"
%
'
)
-
/
11
11
12
13
1"
1%
1'
1)
1-
1/
21
JAGANNATH GUPTA INSTITUTE OF ENGINEERING AND TECHNOLOGY
Sitapura, Jaipur
Department of Computer Siene an! Information Te"no#o$%
21
22
23
2"
2%
2'
2)
2-
2/
31
31
32
33
3"
3%
3'
3)
3-
3/
"1
"1
Si$nature of Fau#t% Si$nature of HOD

You might also like