Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged syntax-directed-translation
3
votes
1
answer
121
MadeEasy Test Series 2018: Compiler Design - Syntax Directed Translation
Consider the following schema shown below: Here num' is a token that represents an integer and num.val represents the corresponding integer value. For an input string 2 + 3 + 7 5 ... d:) + 2 3 7 5 I am not able to generate any option.Please verify?
Consider the following schema shown below:Here ‘num’ is a token that represents an integer and num.val represents the corresponding integer value. For an input string...
rahul sharma 5
721
views
rahul sharma 5
asked
Jan 23, 2018
Compiler Design
compiler-design
syntax-directed-translation
made-easy-test-series
+
–
2
votes
0
answers
122
MadeEasy Test Series: Compiler Design - Syntax Directed Translation
Came across this question on SDT in one of the ME mock paper. Option: A. Syntax directed definition are L-attributed. B. Syntax directed definition is not L-attributed because of 2nd rule. C.Syntax directed definition is ... parent and/or left sibling only. Need your help to correct my approach for this question. Thanks in adance.
Came across this question on SDT in one of the ME mock paper.Option:A. Syntax directed definition are L-attributed.B. Syntax directed definition is not L-attributed becau...
nishitshah
363
views
nishitshah
asked
Jan 21, 2018
Compiler Design
compiler-design
syntax-directed-translation
made-easy-test-series
+
–
2
votes
0
answers
123
Ace Test Series: Compilers - Syntax Directed Translation
Kuldeep Pal
271
views
Kuldeep Pal
asked
Jan 18, 2018
Compiler Design
ace-test-series
compiler-design
syntax-directed-translation
+
–
1
votes
0
answers
124
Ace Test Series: Compilers - Syntax Directed Translation
Kuldeep Pal
385
views
Kuldeep Pal
asked
Jan 18, 2018
Compiler Design
ace-test-series
compiler-design
syntax-directed-translation
+
–
2
votes
1
answer
125
Test Series
How to get the second string,i.e., 6*2/1-2*3 from the given grammar?
How to get the second string,i.e., 6*2/1-2*3 from the given grammar?
vishal chugh
381
views
vishal chugh
asked
Jan 15, 2018
Compiler Design
compiler-design
syntax-directed-translation
+
–
2
votes
0
answers
126
SDT Compiler
dragonball
576
views
dragonball
asked
Jan 14, 2018
Compiler Design
compiler-design
syntax-directed-translation
+
–
1
votes
1
answer
127
Compiler-Design SDT
Abhishek Kumar Singh
548
views
Abhishek Kumar Singh
asked
Dec 31, 2017
Compiler Design
compiler-design
syntax-directed-translation
parsing
test-series
+
–
5
votes
1
answer
128
L and S attribute
Match the following 1) L attributed definition 1)Top down parsing 2) S attributed definition 2) Bottom up parsing 3) DFS 4) BFS
Match the following1) L attributed definition 1)Top down parsing2) S attributed definition 2) Bottom up parsing ...
srestha
3.3k
views
srestha
asked
Dec 28, 2017
Compiler Design
compiler-design
syntax-directed-translation
match-the-following
+
–
0
votes
1
answer
129
L and S attribute
Which of the following is true? (A) Every L attributed definition is S attributed (B) Every S attributed definition is L attributed
Which of the following is true?(A) Every L attributed definition is S attributed(B) Every S attributed definition is L attributed
srestha
1.4k
views
srestha
asked
Dec 26, 2017
Compiler Design
compiler-design
syntax-directed-translation
descriptive
+
–
0
votes
0
answers
130
Ace Test Series: Compiler Design - Syntax Directed Translation
ashish pal
340
views
ashish pal
asked
Dec 20, 2017
Compiler Design
compiler-design
syntax-directed-translation
ace-test-series
+
–
0
votes
1
answer
131
syntactic directed definition
if any production of given grammar is A → ε {A.v = 0} then A.v is ? a) inherited attribute b) synthesized attribute
if any production of given grammar isA → ε {A.v = 0}then A.v is ?a) inherited attributeb) synthesized attribute
skyby
439
views
skyby
asked
Dec 14, 2017
Compiler Design
compiler-design
syntax-directed-translation
+
–
0
votes
1
answer
132
SDT (attribute )
pls explain c option
pls explain c option
sid1221
273
views
sid1221
asked
Dec 10, 2017
Compiler Design
compiler-design
syntax-directed-translation
made-easy-test-series
+
–
2
votes
2
answers
133
made-easy
Consider the following productions along with their semantic rules Here ⋅ i and ⋅ s corresponds to inherited and synthesized attributes respectively. The value for expression 3 ∗ 4 __________.
Consider the following productions along with their semantic rulesHere ⋅ i and ⋅ s corresponds to inherited and synthesized attributes respectively. The value for exp...
Jaspreet Kaur Bains
1.1k
views
Jaspreet Kaur Bains
asked
Dec 6, 2017
Compiler Design
compiler-design
syntax-directed-translation
expression-evaluation
numerical-answers
made-easy-test-series
+
–
0
votes
0
answers
134
Syntax directed Translation
Parshu gate
1.0k
views
Parshu gate
asked
Dec 5, 2017
Compiler Design
syntax-directed-translation
compiler-design
+
–
0
votes
1
answer
135
L attributed
atul_21
366
views
atul_21
asked
Nov 28, 2017
Compiler Design
compiler-design
syntax-directed-translation
ace-test-series
+
–
0
votes
1
answer
136
compiler doubt
what is semantic stack? and where it is used?
what is semantic stack? and where it is used?
iarnav
433
views
iarnav
asked
Nov 22, 2017
Compiler Design
compiler-design
syntax-directed-translation
parsing
+
–
1
votes
1
answer
137
doubt on SDT in compiler
Do L attributed SDT needs to have both synthesized attributes and inherited attributes? What if we don't have synthesized attributes but inherited attributes (IN WHICH VALUE IS TAKEN FROM LEFT SIBLING ONLY) then is it L- attributed SDT?
Do L attributed SDT needs to have both synthesized attributes and inherited attributes?What if we don't have synthesized attributes but inherited attributes (IN WHICH VAL...
iarnav
621
views
iarnav
asked
Nov 22, 2017
Compiler Design
syntax-directed-translation
compiler-design
+
–
1
votes
2
answers
138
Compiler Design Test Series Question
What is the correct answer to this problem? In the key, the answer is given as A but I'm getting C. Please tell me why it is so. Thanks.
What is the correct answer to this problem? In the key, the answer is given as A but I'm getting C. Please tell me why it is so. Thanks.
Lakshay Kakkar
848
views
Lakshay Kakkar
asked
Nov 20, 2017
Compiler Design
compiler-design
syntax-directed-translation
ace-test-series
+
–
0
votes
1
answer
139
self doubt
in 1 first part answer is d? in 2nd part i have doubt regarding c==>4. is it synthesised attribute?
in 1 first part answer is d?in 2nd part i have doubt regarding c==>4. is it synthesised attribute?
arch
427
views
arch
asked
Nov 20, 2017
Compiler Design
compiler-design
syntax-directed-translation
test-series
+
–
0
votes
1
answer
140
What is difference between syntax analysis and syntax direct translation
hem chandra joshi
570
views
hem chandra joshi
asked
Nov 15, 2017
Compiler Design
compiler-design
syntax-directed-translation
descriptive
+
–
4
votes
0
answers
141
L attributed Definition
I read from Dragon Book that Syntax directed translation is used for type checking for instance where performing some reductions and other operation on the string or symbol we perform some additional operations. https://en.wikipedia.org/wiki/L- ... attributes definition I understand that but it could be Both because L attribute definition is both. Resolve my doubt !
I read from Dragon Book that Syntax directed translation is used for type checking for instance where performing some reductions and other operation on the string or symb...
saxena0612
4.3k
views
saxena0612
asked
Nov 12, 2017
Compiler Design
syntax-directed-translation
compiler-design
+
–
1
votes
0
answers
142
SDT-compiler design
For synthesized attribute, value is only computed when symbol is on the _____ side of production. For inherited attribute, value is computed in productions where symbol is on the _____ side. 1. Left, Right 2. Right, Right 3. Right, Left 4. Left, Left
For synthesized attribute, value is only computed when symbol is on the _____ side of production. For inherited attribute, value is computed in productions where symbol i...
set2018
1.3k
views
set2018
asked
Nov 3, 2017
Compiler Design
compiler-design
syntax-directed-translation
+
–
1
votes
1
answer
143
SDT-compiler
what is the output produced for the input "pqsqsr" using the top down parsing?Also what is the result if semantic actions are at right not in middle
what is the output produced for the input "pqsqsr" using the top down parsing?Also what is the result if semantic actions are at right not in middle
set2018
877
views
set2018
asked
Oct 26, 2017
Compiler Design
syntax-directed-translation
compiler-design
test-series
+
–
0
votes
0
answers
144
made-easy
I tried to traverse from left to right depth first and evaluating semantic rules, but getting stuck when i reach " T'---> empty " As its semantic rule can't be evaluated at that point because T'.i value is still left to calculate. I think the question is wrong ? What you think ?
I tried to traverse from left to right depth first and evaluating semantic rules, but getting stuck when i reach " T' - empty " As its semantic rule can't be evaluated at...
♥_Less
467
views
♥_Less
asked
Oct 3, 2017
Compiler Design
compiler-design
syntax-directed-translation
+
–
0
votes
0
answers
145
Syntax_Directed_translation
Any other derivation possible?
Any other derivation possible?
saxena0612
422
views
saxena0612
asked
Sep 28, 2017
Compiler Design
syntax-directed-translation
+
–
0
votes
1
answer
146
Syllabus
in syntax directed translation top down translation is in syllabus?
in syntax directed translation top down translation is in syllabus?
sachin!
223
views
sachin!
asked
Sep 20, 2017
Compiler Design
compiler-design
syntax-directed-translation
descriptive
+
–
0
votes
0
answers
147
TRUE/FALSE
1) For Bottom-up implementation of L-attributed definition all the semantic actions must be at the end of productions(Postfix SDT). I think it is true because for BU implementation of L-attributed definition it must be based on LL(1) grammar.and we can convert ... then we will get different outputs during BU and TD parsing and this case is not desired in SDT. please share your views.
1) For Bottom-up implementation of L-attributed definition all the semantic actions must be at the end of productions(Postfix SDT).I think it is true because for BU imple...
reena_kandari
549
views
reena_kandari
asked
Sep 19, 2017
Compiler Design
compiler-design
syntax-directed-translation
+
–
0
votes
0
answers
148
Syntax directed translation
Parshu gate
412
views
Parshu gate
asked
Sep 16, 2017
Compiler Design
compiler-design
syntax-directed-translation
+
–
1
votes
2
answers
149
Evaluating SDT
Here a as well as c can be the answer based on the construction of the parse tree. So how to decide which one to choose?
Here a as well as c can be the answer based on the construction of the parse tree. So how to decide which one to choose?
Xylene
709
views
Xylene
asked
Sep 4, 2017
Compiler Design
compiler-design
syntax-directed-translation
made-easy-booklet
+
–
1
votes
1
answer
150
Syntax directed translation
Consider the following transition rules: A--> BC C-->+BC | A | epsilion B--> DB{print '+';} | epsilion D--> (A)| id{print id.value;} On input ' 5+67 ', this translation schme will print..............
Consider the following transition rules:A BCC >+BC | A | epsilionB DB{print '+';} | epsilionD (A)| id{print id.value;}On input ' 5+67 ', this translation schme will pr...
mystylecse
423
views
mystylecse
asked
Aug 15, 2017
Compiler Design
compiler-design
syntax-directed-translation
descriptive
+
–
Page:
« prev
1
2
3
4
5
6
7
8
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register