logo

Crowdly

Compiler Design(BCSE307L)

Looking for Compiler Design(BCSE307L) test answers and solutions? Browse our comprehensive collection of verified answers for Compiler Design(BCSE307L) at lms.vit.ac.in.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

Consider the

following statements:

I:

Every SLR(1) grammar is unambiguous but

there are certain unambiguous grammars that 

are not SLR(1).

II:

For any context-free grammar, there is a

parser that takes at most O(n

3) time to parse a 

string of length

n.

Which of the

following option is correct?

0%
0%
100%
0%
View this question

If a “Three Address Code” consists of

100%
0%
0%
0%
View this question

Which one of the

following statements is FALSE?

0%
100%
0%
0%
View this question

Which

one of the following kinds of derivation is used by LR parsers?

0%
100%
0%
0%
View this question

The

least number of temporary variables required to create a three-address code in

static single assignment form for the expression

a = -i + j / (3*k) + l – m * 5* n + o * p /q   is

0%
0%
0%
100%
View this question

Consider the following grammar.

         S → aScB / e

         B → b

The

number of reduction steps taken by a bottom-up parser while accepting the

string  

aaaecbcbcb

100%
0%
0%
0%
View this question

Quadruple is a record structure with four fields

0%
100%
0%
0%
View this question

Three address code for the following function

call 

Newton ( x1, x2, y1, y2, z1) is

0%
0%
100%
0%
View this question

Consider the grammar given below

              S→ CC

              C→cC / d

The grammar is

0%
100%
0%
0%
View this question

Consider the augmented grammar given below:

S' → S

S → S+X | X | Y

X → X*Y | Y | Y

+ Z

Z → aSb | c

Let I0

= CLOSURE ({[S' →

•S]}). The number of items in the set GOTO (I

0

, a

) is: ________.

 

0%
0%
0%
100%
View this question

Want instant access to all verified answers on lms.vit.ac.in?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!