Recent questions and answers in Compiler Design

0 votes
0 answers
3
1. Generate intermediate code for the following code segment. a) (x<y) and (y>z) and not z b) if(i%2==0)evensum=evensum+elseoddsum=oddsum+i;
0 votes
0 answers
4
Use the semantic rules below to draw an annotated parse tree for the expression. Compute the final value. (4*2)+3+(3*3+2)n
0 votes
0 answers
5
Use the semantic rules below to draw an annotated parse tree for the expression. Compute the final value. (4*2)+3+(3*3+2)n
4 votes
3 answers
6
S - (L) | aL - L . S | SQuestion: Make necessary changes to make it suitable for LL(1) parsing and Construct FIRST and FOLLOW sets.
0 votes
1 answer
7
0 votes
0 answers
12
0 votes
1 answer
14
0 votes
4 answers
16
To see more, click for all the questions in this category.