WBUT 2013 Compiler Design Question paper (Paper Code CS-702)

Submitted by Anonymous (not verified) on Sun, 12/29/2013 - 12:15

Question Paper for Computer Science and Engineering

CS/B.TECH/CSE(New)/SEM-7/CS-702/2013-14

2013

COMPILER DESIGN

Time Allotted : 3 Hours                                              Full Marks : 70

The figures in the margin indicate full marks.

Candidates are required to give their answers in their own words

as far as practicable.

GROUP – A

(Multiple Choice Type Question)

1.       Choose the correct alternatives for the following:     10 x 1 = 10

          i)       Which of the following is the most powerful parser?

                   a)      SLR                               b)      LALR

                   c)      Canonical LR                d)      Operator precedence.

          ii)      Inherited attribute is a natural choice in

                   a)      keeping track of variable declaration

                   b)      checking for the correct use of L values and R values

                   c)      both (a) and (b)

                   d)      none of these.

          iii)     A top down parser generates

                   a)      rightmost derivation

                   b)      rightmost derivation in reverse

                   c)      leftmost derivation

                   d)      leftmost derivation in reverse.

 

 

 

Comments

Related Items

WBUT 2009: Circuit Theory & Networks (Paper Code: EE301) Question Paper

2009 CIRCUIT THEORY & NETWORKS Time Allotted:3 Hours Full Marks:70 The Figures in the margin indicate full marks. Candidates are requested to give their answer in their own words as far as practicable.