Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Webpage for Compiler Design:
Recent questions tagged compiler-design
1
votes
0
answers
931
Gateforum Tests
vishal chugh
201
views
vishal chugh
asked
Jan 15, 2018
Compiler Design
compiler-design
parsing
+
–
2
votes
1
answer
932
Intermediate Code Generation
dragonball
1.5k
views
dragonball
asked
Jan 14, 2018
Compiler Design
compiler-design
intermediate-code
+
–
2
votes
0
answers
933
SDT Compiler
dragonball
569
views
dragonball
asked
Jan 14, 2018
Compiler Design
compiler-design
syntax-directed-translation
+
–
3
votes
1
answer
934
Dynamic Scoping
How to solve any dynamic scoping question . Plz describe in detail.
How to solve any dynamic scoping question . Plz describe in detail.
dragonball
899
views
dragonball
asked
Jan 14, 2018
Compiler Design
compiler-design
dynamic-scoping
+
–
1
votes
1
answer
935
Compiler Design - Parsing: Is LALR(1) made from the LR(0) or the LR(1) automaton?
According to my understanding, we LALR is constructed by reducing LR(1) automaton states. So I think it should be LR(1) However, we construct SLR(1) items from the LR(0) automaton, and we say with surety that number of states in SLR(...) is equal to number of states in LALR(...), how can this be?
According to my understanding, we LALR is constructed by reducing LR(1) automaton states. So I think it should be LR(1)However, we construct SLR(1) items from the LR(0) a...
vaibhav101
666
views
vaibhav101
asked
Jan 13, 2018
Compiler Design
compiler-design
lr-parser
parsing
+
–
2
votes
0
answers
936
Rank of node: dependacy graph
please describe in detail I have no idea how to find rank of the node?
please describe in detail I have no idea how to find rank of the node?
thepeeyoosh
360
views
thepeeyoosh
asked
Jan 13, 2018
Compiler Design
compiler-design
+
–
2
votes
1
answer
937
Static variable doubt
thepeeyoosh
381
views
thepeeyoosh
asked
Jan 13, 2018
Programming in C
static-single-assignment
compiler-design
+
–
2
votes
1
answer
938
Compiler
Code optimization is in syllabus or not . like dead code elimination ..... loop inveriant
Code optimization is in syllabus or not .like dead code elimination ..... loop inveriant
Nitesh Choudhary
321
views
Nitesh Choudhary
asked
Jan 11, 2018
Compiler Design
compiler-design
parsing
syllabus
+
–
1
votes
6
answers
939
The grammar G is
Consider the following grammar G: $S\rightarrow AB\mid d$ $A\rightarrow aA\mid b$ $B\rightarrow bB\mid c$ The grammar G is: LL (1) grammar and not LR (0) LL (1) and LR (0) Not LL (1) but LR (0) Neither LL (1) nor LR (0)
Consider the following grammar G:$S\rightarrow AB\mid d$$A\rightarrow aA\mid b$$B\rightarrow bB\mid c$The grammar G is:LL (1) grammar and not LR (0)LL (1) and LR (0)Not L...
Rohit Gupta 8
1.6k
views
Rohit Gupta 8
asked
Jan 10, 2018
Compiler Design
compiler-design
parsing
made-easy-test-series
+
–
1
votes
0
answers
940
doubt
Total number of states in LALR(1) parser i am getting 11 somone verify
Total number of states in LALR(1) parser i am getting 11 somone verify
Prateek kumar
136
views
Prateek kumar
asked
Jan 10, 2018
Compiler Design
compiler-design
+
–
1
votes
0
answers
941
test series
Number of states in LALR(1
Number of states in LALR(1
Prateek kumar
151
views
Prateek kumar
asked
Jan 10, 2018
Compiler Design
compiler-design
+
–
4
votes
1
answer
942
MOCK TEST compiler design
Consider the given below grammar S→ cAd A→ bA | aA | b If a recursive descent parser is used for string “cbababd” then number of back trackin worst case is:
Consider the given below grammarS→ cAdA→ bA | aA | bIf a recursive descent parser is used for string “cbababd” then number of back trackin worst case is:
mohitbawankar
1.6k
views
mohitbawankar
asked
Jan 10, 2018
Compiler Design
compiler-design
grammar
parsing
numerical-answers
test-series
+
–
2
votes
1
answer
943
MadeEasy Test Series 2018: Compiler Design - Grammar
I'm getting 4, can someone verify
I'm getting 4, can someone verify
charul
657
views
charul
asked
Jan 9, 2018
Compiler Design
compiler-design
grammar
made-easy-test-series
madeeasy-testseries-2018
+
–
2
votes
0
answers
944
Compiler Syllabus
did we have to study static single assignments for gate 2018? is it a part of code optimization or intermediate code generation?
did we have to study static single assignments for gate 2018? is it a part of code optimization or intermediate code generation?
hacker16
570
views
hacker16
asked
Jan 9, 2018
GATE
syllabus
gatecse-2018
compiler-design
+
–
1
votes
8
answers
945
#of variables in SSA
Consider the following code segment: c=b+a e=c-a f=c*e h=c+a i=h+f The minimum number of $\color{blue} {total}$ and $\color{blue} {temporary }$ variable required to convert the above code segment to static single assignment form are ________
Consider the following code segment:c=b+ae=c-af=c*eh=c+ai=h+f The minimum number of $\color{blue} {total}$ and $\color{blue} {temporary }$ variable required to convert t...
Anjan
1.9k
views
Anjan
asked
Jan 9, 2018
Compiler Design
compiler-design
static-single-assignment
+
–
2
votes
0
answers
946
gate forum test series
charul
298
views
charul
asked
Jan 8, 2018
Compiler Design
compiler-design
+
–
3
votes
0
answers
947
MadeEasy Test Series 2018: Compiler Design - Code Optimization
I got answer 8 nodes and 10 edges. but answer is 6 nodes and 6 edges anyone plz explain.
I got answer 8 nodes and 10 edges.but answer is 6 nodes and 6 edgesanyone plz explain.
ashish pal
693
views
ashish pal
asked
Jan 8, 2018
Compiler Design
compiler-design
code-optimization
madeeasy-testseries-2018
made-easy-test-series
+
–
3
votes
1
answer
948
Compile
Nitesh Choudhary
442
views
Nitesh Choudhary
asked
Jan 8, 2018
Compiler Design
compiler-design
parsing
lr-parser
numerical-answers
made-easy-test-series
+
–
1
votes
0
answers
949
Average length of stack in parsing LR(1)
Consider the following grammar: $S \rightarrow A$ $S \rightarrow xb$ $A \rightarrow aAb$ $A \rightarrow B$ $B \rightarrow x$ The average length of the stack used while parsing the string "axb$" using LR(1) parser is _________. I am getting 5, but answer is 2.5.
Consider the following grammar:$S \rightarrow A$$S \rightarrow xb$$A \rightarrow aAb$$A \rightarrow B$$B \rightarrow x$The average length of the stack used while parsing ...
Shubhanshu
678
views
Shubhanshu
asked
Jan 7, 2018
Compiler Design
compiler-design
made-easy-test-series
parsing
lr-parser
+
–
1
votes
2
answers
950
number of tokens
1) 8 2) 9 3) 12 4) 10
1) 82) 93) 124) 10
set2018
704
views
set2018
asked
Jan 7, 2018
Compiler Design
compiler-design
lexical-analysis
compiler-tokenization
+
–
2
votes
0
answers
951
compiler sdt
consider the following schema shown below: P-->QRS Q-->Q+R {print(′*′);}R | S R--> R * R {print(′+′); } ε | S S--> Num { print (num.value) ;} | ε { print( ... 5 $' this translation schema will print: a) 2 3 * * 7 5 + $ b) 2 3 + 7 + 5 * $ c) 2 3 * 7 5 + * $
consider the following schema shown below:P >QRSQ >Q+R {print(′*′);}R | SR R * R {print(′+′); } ε | SS Num { print (num.value) ;} | ε { print($)}Here ‘num�...
Jaspreet Kaur Bains
386
views
Jaspreet Kaur Bains
asked
Jan 7, 2018
Compiler Design
compiler-design
+
–
1
votes
0
answers
952
Leaf node of the tree always have only inherited atrribute.
Leaf node of the tree always have only inherited atrribute. State true or false.
Leaf node of the tree always have only inherited atrribute.State true or false.
set2018
313
views
set2018
asked
Jan 7, 2018
Compiler Design
compiler-design
+
–
2
votes
0
answers
953
Number of nodes in a parse tree
......
......
junaid ahmad
393
views
junaid ahmad
asked
Jan 7, 2018
Compiler Design
compiler-design
+
–
3
votes
0
answers
954
Compiler
Lakshman Bhaiya
309
views
Lakshman Bhaiya
asked
Jan 6, 2018
Compiler Design
compiler-design
+
–
2
votes
1
answer
955
me test number of tokens
here i got 44(i count &x and *x as one one) tokens but nas is 53 doubt ----> in general we count 1. *x is one token or two? 2. &x is one token? please tell me i m right or wrong . for this q i think & x are two tokens bcs there is space?
here i got 44(i count &x and *x as one one) tokens but nas is 53 doubt in general we count1. *x is one token or two?2. &x is one token? please tell me i m rig...
mohitbawankar
386
views
mohitbawankar
asked
Jan 6, 2018
Compiler Design
compiler-design
lexical-analysis
compiler-tokenization
numerical-answers
made-easy-test-series
+
–
2
votes
1
answer
956
Lexeme and Token
A lexeme is an identifier for a token? True or False
A lexeme is an identifier for a token?True or False
Mk Utkarsh
1.0k
views
Mk Utkarsh
asked
Jan 5, 2018
Compiler Design
compiler-tokenization
compiler-design
+
–
0
votes
0
answers
957
Follow ,LFollow and Rfollow
For a CFG, Follow (A) is the set of all terminals that can immediately appear to the right of the non-terminal A in some sentential form. Consider two sets LFollow (A) and RFollow(A) by replacing the word sentential by Left most sentential and right most ... same. All three are different Follow (A) and LFollow (A) must be same. RFollow (A) and Follow (A) may be same
For a CFG, Follow (A) is the set of all terminals that can immediately appear to the right of the non-terminal A in some sentential form. Consider two sets LFollow (A) an...
sunil sarode
422
views
sunil sarode
asked
Jan 4, 2018
Compiler Design
compiler-design
+
–
3
votes
1
answer
958
COMPILER DESIGN
If operator precedence parser can parse ambiguous grammar so why don't we use this parser all the time, Why should we care about all the parsers just use this.
If operator precedence parser can parse ambiguous grammar so why don't we use this parser all the time, Why should we care about all the parsers just use this.
The Technical Guy
1.2k
views
The Technical Guy
asked
Jan 4, 2018
Compiler Design
compiler-design
parsing
+
–
2
votes
3
answers
959
COMPILER DESIGN
Check whether this grammar is LL(1) or not?
Check whether this grammar is LL(1) or not?
The Technical Guy
1.0k
views
The Technical Guy
asked
Jan 4, 2018
Compiler Design
compiler-design
parsing
+
–
1
votes
0
answers
960
Code Generation
Difference between assembly code generation and intermediate code generation lies in number of registers both of them used for intermediate results Which is more register and in which phase?
Difference between assembly code generation and intermediate code generation lies in number of registers both of them used for intermediate resultsWhich is more register ...
srestha
599
views
srestha
asked
Jan 4, 2018
Compiler Design
compiler-design
intermediate-code
+
–
Page:
« prev
1
...
27
28
29
30
31
32
33
34
35
36
37
...
68
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register