Recent questions tagged compiler-design

2 votes
1 answer
1441
2 votes
2 answers
1443
Read the below mentioned grammar:$S \rightarrow X$$X \rightarrow YX \mid \epsilon$$Y \rightarrow aY \mid b$This grammar is NOT:$LALR$$LR (0)$$LR(1)$None of the above
3 votes
1 answer
1445
The grammar which has no epsilon transition or two adjacent nonterminals in the right side of any production is ___________.LL(1) grammarUnambiguous grammarOperator gramm...
2 votes
1 answer
1446
___________ parsers build parse trees starting from the root node and work down to the leaves.LRLLSLRLALR
2 votes
2 answers
1447
Read the following grammar:$S \rightarrow Ka \mid bKc \mid dc \mid bda$$K \rightarrow d$This grammar is NOT:LALR(1)SLR(1)LR(1)None of the above
4 votes
1 answer
1448
2 votes
1 answer
1450
2 votes
1 answer
1451
A top-down parser generates ________________.right-most derivationright-most derivation in reverseleft-most derivationleft-most derivation in reverse
2 votes
1 answer
1453
The default type of conflict resolution rule for the Yacc parser generator is _________________. in favor of shift in favor of reduce either shift or reduce depen...
3 votes
1 answer
1454
Match the following:$$\begin{array}{|l|l|l|l|} \hline a. & \text{Canonical Parser} & 1. & \text{No adjacent nonterminals} \\ \hline b. & \text{SLR(1) Parser} & 2. & \text...
0 votes
1 answer
1456
17 votes
2 answers
1457
State whether the following statements are TRUE or FALSE with reason:The Link-load-and-go loading scheme required less storage space than the link-and-go loading scheme.
1 votes
3 answers
1459
Let 'x', 'y', 'z' and 'u' represents the number of entries in rows of Non-terminals 'S', 'A', 'B' and 'C' respectively. The value of x + y + z + u is ______ .
1 votes
0 answers
1461
0 votes
0 answers
1467
0 votes
1 answer
1468
0 votes
1 answer
1469
Which of the following class of statement usually produces no executable codes when compiled?Assignment Declaration Input and output statement Structural statements