Professional Documents
Culture Documents
HT TP: //qpa Pe R.W But .Ac .In: 2010 Language Processor
HT TP: //qpa Pe R.W But .Ac .In: 2010 Language Processor
HT TP: //qpa Pe R.W But .Ac .In: 2010 Language Processor
htt
Roll No. : ………………………………………………………..
Invigilator's Signature : ……………………………………….
CS/B.Tech(CSE)/SUPPLE/SEM-7/CS-701/2010
p:/
2010
 ANGUAGE PROCESSOR
L
Time Allotted : 3 Hours Full Marks : 70
/q
The figures in the margin indicate full marks.
Candidates are required to give their answers in their own words
pap
as far as practicable.
GROUP – A
( Multiple Choice Type Questions )
er.
a) Always
ut .
b) Never
a c.
d) None of these.
in
canonical LR parser
er.
d) None of these.
iv) In call-by-name
d) none of these.
in
SE-46 2
CS/B.Tech(CSE)/SUPPLE/SEM-7/CS-701/2010
node
p:/
b) from the values of attributes of the parent of the
node
/q
c) from the values of attributes of the siblings of the
node
pap
d) none of these.
a) Regular
er.
b) Context free
c) Context sensitive
wb
d) None of these.
b) four fields
p:/
c) one field
d) none of these.
/q
d) none of these.
wb
d) none of these.
in
SE-46 4
CS/B.Tech(CSE)/SUPPLE/SEM-7/CS-701/2010
GROUP – B
htt
( Short Answer Type Questions )
Answer any three of the following. 3 × 5 = 15
T==set of terminaal
1 1
V==set of variable. 22 + 22
GROUP – C
ut .
parsing phase ?
d) What is sentinel ?
/q
1 1
e) What is its use ? 3 + 4 + 32 + 22 + 2
pap
S ∅ (L)/a
ut .
L ∅ L, S/S
1 1
d) Describe handle and viable prefix. 32 + 12 + 6 + 2 + 2
in
SE-46 6
CS/B.Tech(CSE)/SUPPLE/SEM-7/CS-701/2010
d:=b+c
e:=a+b
er.
b : = b* c
a : = e-d.
wb
5+4+2+4
a c.
in