Recent questions tagged compiler-design

1 votes
1 answer
1681
Which of the following feature(s) is/are needed to implement top down parsingSource string marker Prediction making mechanismMatching and Backtracking me...
3 votes
3 answers
1682
In compiler terminology reduction in strength meansReplacing run time computation by compile time computationRemoving loop invariant computationRemoving common subexpress...
1 votes
3 answers
1683
A shift reduce parser suffers from Shift reduce conflict only Reduce reduce conflict only Both shift reduce conflict and reduce reduce conflict Shift handle and reduce ha...
2 votes
1 answer
1684
0 votes
1 answer
1686
Which of the following components of a compiler runs earlier in the flow of compilation?- the lexical analyser- the type checker
0 votes
1 answer
1688
What exactly a translation Process is ? in compiler Design .Can someone explain Briefly .
1 votes
2 answers
1693
Either L attribute or S attributed .What kind of SDT it is ?S ->E# Out('#')E - E+E Out('+')E ->TT - T#F Out('*)T - FF - (E)F - a Out ('a')For the sentence...
2 votes
1 answer
1699
0 votes
1 answer
1700
While evaluating the semantic action which of the following parser is more efficient ?Top Down ParserBottom Up ParserExplain with the example ?
6 votes
1 answer
1701
Substitution of values for names (whose values are constants) is done inLocal optimizationLoop optimizationConstant foldingStrength reduction
4 votes
3 answers
1702
The expression $1 * 2 \wedge 3 * 4 \wedge 5 * 6$ will be evaluated as$32^{30}$$162^{30}$49152173458In original quetion 5 is not given.
0 votes
1 answer
1705
There may exist a grammar that is non LL(1) but generating an LL(1) language.Explain whether the above statement is true or false .
0 votes
1 answer
1706
The order in which alternative are tried in a backtracking parser affect the language accepted by the compiler or parser.Whether the given statement is valid? Explain wi...
2 votes
1 answer
1708