Recent questions tagged compiler-design

2 votes
1 answer
1351
here it is given bottom up parsing still action is given in middle so output should be GAAAAT??? Is it true that in syntax tree tanslation bottom up and top down gives sa...
2 votes
1 answer
1352
Which of the following is correct?a) Top-down parser complexity is O(n4)b) Bottom-up parser complexity is O(n3)(A) True, False(B) False, True(C) True, True(D) False, Fals...
0 votes
1 answer
1355
0 votes
2 answers
1356
State Trur/False: "every LL grammar is a proper subset of LR grammar".
4 votes
1 answer
1357
How to find unnecessary production while optimising DAG. for ex-a = b * c d = b e = d * c b = e f = b + c g = f + dHow many production need to be removed and how to find ...
1 votes
1 answer
1358
1 votes
1 answer
1359
0 votes
2 answers
1360
0 votes
1 answer
1362
0 votes
2 answers
1363
From the following topics which are out of syllabus. plz mark it out.Thanks.I got the syllabus change page from gatecse but still unable to clearly differentiate out of s...
0 votes
1 answer
1364
2 votes
1 answer
1365
$\begin{align*} &\color{blue}{\text{Top down predictive parsers detect errors earlier than bottom up parsers (true/false)}} \\ &\color{maroon}{\text{Justify your answer}}...
4 votes
2 answers
1367
Consider the following grammar:$S \rightarrow S$$S \rightarrow SS \mid a \mid \epsilon$Indicate the shift-reduce and reduce-reduce conflict (if any) in the various states...
10 votes
2 answers
1368
Consider the following grammar:$S \rightarrow S$$S \rightarrow SS \mid a \mid \epsilon$Construct the collection of sets of $\text{LR (0)}$ items for this grammar and draw...
8 votes
1 answer
1370
0 votes
1 answer
1373
1 votes
2 answers
1376
Consider the grammar given below. It isE - T+E | TT - aa. SLR(1) but not LL(1)b. Not an operator grammarc. Ambiguousd. None of these