Recent questions tagged compiler-design

0 votes
1 answer
1714
9 votes
3 answers
1716
Whether LR(1) grammar is same as that of CLR(1) grammar. If yes then please explain and if not then what is the difference between them?
10 votes
2 answers
1717
2 votes
1 answer
1719
3 votes
4 answers
1721
Consider the following grammar. How many back tracks are required to generate the string aab from the above grammar?S → aB | aAbA → bAb | aB → aB | ε
2 votes
1 answer
1731
The LL(1) parsing table for the above grammar is Nonterminalabeit$SS->a S->iEtSS' S' S' ->epsilonS' ->es S'->epsilonE E->b By looking the parse table we found mult...
6 votes
7 answers
1733
Consider the grammar given belowS⟶ SS | a | ∈The number of inadequate states in the DFA of LR(1) items is(a) 1 (b) 2 (c) 3 (d) 4
0 votes
1 answer
1734
In each activation of a procedure , the local variables names in that procedure is bound to - storage location ?1) Diff2) same3) None
1 votes
1 answer
1736
System programs such as Compiler are designed so that they are1) Recursive2) Serially usable3) Non reusable4) ReenterablePlease provide explanation too
1 votes
1 answer
1737
Which of the following statement is true For lexical analysis ?a) Simplify the phasesb) Compiler effeciency improvedc) Portability is encahncedd)compiler work faster
1 votes
2 answers
1738
Hash tables can contribute to the following problems except1) Counting distinct values2) Dynamiic dictonary3) Symbol table look up4) Range search
0 votes
1 answer
1740
Consider the following sentences :1. Static allocation binding do not change at run time2. Heap Allocation allocate and deallocate at run timeWhich of the above is true ?...