Anna University Trichy 2009 B.E Computer Science and Engineering Principles of compiler Design - Question Paper
Trichy Anna University
BE Computer Science And Engineering
Sem 6
Subject : Principles of compiler Design
FXAMINATJON. APRII/WAY 2010
RK/n T*rh OECW-k
mxni skmkctter
,-OMinTKl.X.WNrl! AND KNC.CW.MUW
C.WJ l-BINOIIIJW (>r i-CIMI'II FR
,rkoimotion wont
I on
Muiw*
T\i TVrw hour*
\f\gm mx Al 1 qu*(wo*
P\KT \ |O-1-10tMrk*
1 Wntr *vpr*<w fr tdmaUft **4
J ('MifNtr* 9niiAi liw ami ln
5 PlWlnirl th* qul>l*n taM*
5 .ShS|hN<kS|,
4 Vknl# lb* ruJ* Ui diBintU UA
I TtUuUU liW inlhlMtM NpTMM* '
6 th ad*nUf* f I* At J
7 What ar* th uw u( r*|piT and atMrva* tWacnpMr* m cad*
* DaAn* bMr blocks
9 What t* m*ant by optimising cuinpilvr?
JO UTvi |a mMiil by cwwlant fnltluig and cvj>> prvp*g*uuu*
. of comp*'** ond InmibU lh#
H H*pln'" <f 'li'liill nlwnl 112 *4*'
r
,.A,lTU
tKllll (*
,inlmnt, |nw nm * r*l*
Or
.. fa lb)*ha l&)**nu NPA using la Cnnvert the jtfv,n mgulnr oipr*t
Thompson <onlni<tl<in mul thin U
, ,_hl (nr lh foiling ptmnur and
1!1 Oiiiornlc oparnUir iirecwlnnw |wrli>< (|
paro I ho ulring (n, fl)
S -(/-)|u L L,N\S
Or
14 Construct SLR panring Ubl* for th grnun*r
R ~K *T\T T~*rr\F F -* >*|o |6
16 () Wntr the trtMUUan )>** tor rvprMwiUiton whiiw
Ibl OwMf l thrv* ddm rad* (or lh
t<f
Or
16 fa) (ietwrel# Ihrw rwte fcr the Mh*y<ig ieewel (*'
whjl* a > 6 do begin
if r < / ihu r y i
Jm
I jr I
fid
(b) OiwuM how coinpilen grnor( cud* for prucwlur* call*.
;d
17 (m) Kxpiain lh truitur* prwwrving traiMformiinoti* on b**K blocks with ftxampl* , g,
<b) OtwruM th chararUmatica of lWphoU optunualiun <8,
<*-"*-W
It* I*1 lUK&tton K* Iff*'
Attachment: |
Earning: Approval pending. |