Professional Documents
Culture Documents
PUE - 2022-23 Solution
PUE - 2022-23 Solution
caar 1 X xtl
L0at 2
kat 3
duault c-1
t, goto (6)
2 gcto(6)
3 qoto (1o)
59oto 12)
t tl
3 t3yt2
.
10
t
ty
ts -1
13 ts
Aras o Actiwation ueed
u
AnBLmaluen MAded hy aingl acliwalon poadwa as
o
RLUsU valu
AcOl pastamutu
evbu&l unk lepünal)
Acusink eptenal
mahuu dtolus
Lo cal data
Unpotws
Rusun valuu
takuld uasd by hu talid pALeCuduu tw iwn tha atut
o thu
pallung unulbn précuciutu
Bcual þauamilu
i 4uld utd by thu talld paHamulvs b Supply fhu pauamsltns
te h talling Juneien
enbukunk
suLa to thi 4atuealen LcGuds al oiumas
BccEA i k
a t ttu nn Aecal dada thad i aud bj etha
actueatet LLedA
machinAtalus
t uaud to aleu thu ineLmate abtut the atalus u
huelcallng uncten
e c a l data
TumpeHax
u a d to hu tmpHLA uauabits aaia
aleHL at
cod
totic dato
Stack
Heap
Hrs 6 a) DAG
DAG
eluminatu th sudundanciu
+p*lq ) + lq-n) S.
Schen A
ablaa)' (bh)
YACC
atands e et anetu emplu Umplve
s uad to sucegnisu singk hataclou as tekuns Assecuald
Letkun numbul muat net euvuap with ths Ascl valu
Lunka
Dainituen
token
Ruls
waU subewinis
dtaqam
dbe eutf
abt YACC HPaan1)
emplu
abe.L
E EtE
EE
9a
t9b
sLCLLALen A B.
hun
A A
A A
EXF
L
A A P
E + EE E EE
E FE E FE|E
EEEE
E tEE EE
E alb
E +EE
d)Hand Psuunung
i ffu pudas o duttetung and th handung thu hondls
huu handl o h aubuun in tung that Ynatcho uuth fw
sud bid1 o poductuon akl suduk fo 4t aids temuat
Loduch0 ng Hduc elununalOn
e) (atbtc) (ctq)
ct cqt
atbtC
Ot bct
a bc t t
(abett)*(cqt)
peatto
ndtatem abctt cq+ *
Synthtaised attubuu
hu uauu
ecynthuaised albuhul: dt 1h noc o
thu vateet
Cenmpultd om thu uau of al attubuts at
at Chldu
he c
t t called tu S-attubute
E EtT tval-
T
Eval t T. vat
E val= T.vci
E-val E-va
nhwitd atthtbut
hualuu o nhuutd cctiubuute at nod
emmpulud
e ni valu e a aubuly at
poruntsiblunq o ha
nodi
St io catid th L- atbu
DE
D
Hashung
.
d hah tabl to ulculau ths haah vaut aina fh ha
Lunciuen
dotbp
Btnt Aupp6 ALtsuL
UuduS
Duta abuwlusu ann b iunietd ti
LHLaTLd dynamital
1) Constant hetding
can eLaluat h
cemAtand pauosen at commpil tmi and
a ta vau at sun tumt
Ruputaemtaten
Lemput atuen
ek 9Lun tums computotuen byt COmpul
pa tms
call tOnatantett
a fo t 2*
todt
qunwate tha sunal phast Bc0mptle fhat
uaLd to
qunuat the tauget cod
Desiqning icsuus
naGucu8n atlcien
thAlctn thu insÜuden deptnds n
thinsuucien
AAt thu machntauquid
Rugitiu Aliecatuom
uatu auluclue
ecluen C
s to Oymbtl able
t tha mpettant dataalkuduts that ounted and mairtainad
y thu Lempulu in pudu to aleu thu inkoumator ik yauahl
nhn, unien nam, sbungs elc
t alsoléuaS ingoumaten dheut hindung nams and uobe
u a d duungJuucal and suntaanalysin phas
All Ahe ingetmaton a trad ndially and iuuused twthiu
e thu quuatuem hu taugut odi
i c a l analys4 bhaat
in fhi, oúatu o tabl emibus
tedt ULalo c
to
ts
pCt, addlstss o aU dato objects uaid
3enucatt the tanqut codt
LINEAR usT.
huL ymbe tabli
t o thu meat simpt implumutalom e
iaddd to thu tabl on th aeuval baas
Sn this , nuuwemby
nams to thu Labl, stauch 0patuen sGpplud
ueaddug
to h ruast Jiat to chtek uhithist aunilablu o not
o t aunilo.bl, hun na i adole to emd Auat
athu mest
4hscuumi way impluniting ths Lymbot tabl
has unks ndnds u t and suglt 1hLs Ainks poina to othu
suceds An the
Jymbo tahl
ad dung am to the Hable, Atath OputaueT i appuad to
chtck nuhuthit it
iauailah l p not
net auailabl, nam J added to tha eLHLCT pE utem in the
AaLch t u
HASH TABLE
k
hash umbel fablu
tab
a) Baaic block
Blotk
4qutna ek atatumunu in thuh
ingettmaten is added Cenluet tew miu
tmiwu ha
enbuE
tha hlock and
"6
ALautA bleck
nitha ut bung halted o
bstanthin Unubuuluom
Alq0sithm tu suat a blok
Fiat statumunt
is thu uadut
my
my tonditimal e atatimunt oh fhi blodk
uncmdiienal goto o uadu
Statinut
talimunt elleng th goto AraUmunt a uadu
srslkmund
a b goto )
t ty leadu ctalimint
t
a b qoto )
b
t, lead tatumint
C C-
Cew gaph
t4duuctid gaph AO lew Dnouiatuen uuthun a
bL&Ck
ih uuat tatimund el bLeck tha uadut halmant eclled th
tal block
block
a b goto
block 2
t
whil y ) goto (
b dte block
got )
Anu
A(y) lytz)t (x1y12)
A
i hao 4
Auadsuple
julds
A9q Asq2 Reault |
SNC
Aq 2 Rault
t
t
t
t t
tu
6
A
2
3 adduss cod
t, t
y
t, t
ttz
ttta
A
suplts
f tenaist e 3 lds, A919|Ag
SNO.
A Aa9
S 4
5
tnduuct uples
to Incdto
dis eLnin
pLeui
SAO Ag Ag
SOO
()
2
(12)
2
(13) )02
3 13
(14)
t (14) 13)
15
l6)
6 6
4h fanh }
al. fac) (h
NFA to DfA
Leaw
e nput a
e clew
et put b,
Fe utatt B, check input a tatuB
inpu b.
For staz C chick kol input a
i ninput b. 19% tat (C
F tat Dcheck e tnput a
iaauu
FO siat E, theck kot inpeut o 9 7 .9u i e t t B,
Cu C
oinputb 91
Ans E EtT|T
TTF |F
f F1 |alb
FIRSTE)= a,b FoLLOw(E)t,f
FIRST (T)= o,b) FoLLOW (T) 0,b,t,f1
PIR&TF)fo,by FOLDW(F) a,b,t, f,*
tOnst suuting augmuntid quamma by addun4
augmutd psoduttir
EEtT
T TEE
F F alb
Ip ittms eleststt
E EtT, +|{
E T, +
1 TF ,a6|+I$
T F alb|
albl
P b .) $,t
I(s,E) clpawss E.
T
T