Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged syntax-directed-translation
418
views
0
answers
0
votes
Syntax directed translation
Parshu gate
418
views
Parshu gate
asked
Sep 16, 2017
Compiler Design
compiler-design
syntax-directed-translation
+
–
742
views
2
answers
1
votes
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?
Xylene
742
views
Xylene
asked
Sep 4, 2017
Compiler Design
compiler-design
syntax-directed-translation
made-easy-booklet
+
–
442
views
1
answers
1
votes
Syntax directed translation
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 print..............
mystylecse
442
views
mystylecse
asked
Aug 15, 2017
Compiler Design
compiler-design
syntax-directed-translation
descriptive
+
–
378
views
1
answers
2
votes
Test by Bikram | Mock GATE | Test 4 | Question: 41
Read the following grammars and their translations:$S\rightarrow xX\;\left \{ print ``0" \right \}$ ... $ using Bottom-Up Parsing (with the above translations)?$0111012$0111-20$0211-10$011112$
Bikram
378
views
Bikram
asked
May 14, 2017
Compiler Design
tbb-mockgate-4
syntax-directed-translation
compiler-design
+
–
1.1k
views
2
answers
2
votes
Testbook Test Series: Compiler Design - Syntax Directed Translation
Let Grammar be with these transitions:S -> a{print "0"}AA -> b{print "1"}BA -> c{print "2"}A -> ε{print "-"}B -> d{print "1"} ... input string abdbdc using Bottom-Up Parsing with above translations:A) 0211-10B) 0211110C) 0111-20D) 0111012
the.brahmin.guy
1.1k
views
the.brahmin.guy
asked
Jan 22, 2017
Compiler Design
syntax-directed-translation
testbook-test-series
compiler-design
+
–
802
views
1
answers
1
votes
Compiler Design #2
Consider translation rules : S → S1 * A{S. Val = S1. Val + A. Val}/A{S. Val = A. Val}A → A1 - B{A. Val = A1. Val - B. Val}/B{A. Val = B. Val}B → C | ... * 4 is a1 and output for input 6 * 2 / 1 - 2 * 3 is a2, then a1 - a2 is ___________.
vishwa ratna
802
views
vishwa ratna
asked
Jan 18, 2017
Compiler Design
compiler-design
syntax-directed-translation
expression-evaluation
numerical-answers
+
–
825
views
1
answers
0
votes
Test by Bikram | Mock GATE | Test 1 | Question: 7
A shift reduced parser carries out the actions specified within braces Immediately after reducing with the corresponding rule of grammar.S --> xxW (print ... translation scheme described by the above rules.bcacaaabcc aabca ccbaa
Bikram
825
views
Bikram
asked
Jan 16, 2017
Compiler Design
tbb-mockgate-1
compiler-design
parsing
syntax-directed-translation
+
–
441
views
2
answers
0
votes
Testbook test
some one pls tell why it is wrong?
mohit chawla
441
views
mohit chawla
asked
Jan 10, 2017
Compiler Design
compiler-design
syntax-directed-translation
ll-parser
testbook-test-series
+
–
420
views
1
answers
2
votes
MadeEasy Subject Test: Compiler Design - Syntax Directed Translation
pranjalgennext
420
views
pranjalgennext
asked
Jan 8, 2017
Compiler Design
made-easy-test-series
compiler-design
syntax-directed-translation
+
–
1.6k
views
2
answers
5
votes
MadeEasy Subject Test: Compiler Design - Syntax Directed Translation
...
vaishali jhalani
1.6k
views
vaishali jhalani
asked
Jan 7, 2017
Compiler Design
made-easy-test-series
compiler-design
syntax-directed-translation
+
–
309
views
1
answers
0
votes
Compiler Design
Çșȇ ʛấẗẻ
309
views
Çșȇ ʛấẗẻ
asked
Jan 4, 2017
Compiler Design
compiler-design
syntax-directed-translation
test-series
+
–
1.3k
views
4
answers
1
votes
MadeEasy Subject Test: Compiler Design - Syntax Directed Translation
How do we know when to execute which semmentic action?
rahul sharma 5
1.3k
views
rahul sharma 5
asked
Dec 29, 2016
Compiler Design
made-easy-test-series
compiler-design
syntax-directed-translation
numerical-answers
+
–
1.2k
views
5
answers
0
votes
ACE-MOCK-compiler
Associativity and precedence of operators is defined by grammar. So C should be right.Please help
thor
1.2k
views
thor
asked
Dec 28, 2016
Compiler Design
compiler-design
syntax-directed-translation
ace-test-series
+
–
507
views
1
answers
0
votes
MadeEasy Subject Test: Compiler Design - Syntax Directed Translation
#plz explain ?? i am not get solution
Hradesh patel
507
views
Hradesh patel
asked
Dec 27, 2016
Compiler Design
made-easy-test-series
compiler-design
syntax-directed-translation
+
–
1.3k
views
1
answers
2
votes
Compilers
here it is given bottom up parsing still action is given in middle so output should be GAAAAT??? Is it true that in syntax tree tanslation bottom up and top down gives same answer???
Rahul Jain25
1.3k
views
Rahul Jain25
asked
Dec 26, 2016
Compiler Design
compiler-design
syntax-directed-translation
test-series
+
–
4.0k
views
1
answers
1
votes
S and L-attribute
iita
4.0k
views
iita
asked
Dec 20, 2016
Compiler Design
compiler-design
syntax-directed-translation
test-series
+
–
767
views
1
answers
1
votes
GATE CSE 1989 | Question: 10b
Consider the following grammar for variable declarations:<vardecl> $\rightarrow$ <vardecl><idlist> : <type>;<vardecl> $\rightarrow \in$ ... procedures operating on the symbol table; you need not elaborate upon these procedures.
makhdoom ghaya
767
views
makhdoom ghaya
asked
Dec 5, 2016
Compiler Design
descriptive
gate1989
compiler-design
syntax-directed-translation
unsolved
+
–
286
views
1
answers
0
votes
Compiler Design
Consider the following syntax directed definitionA --> BCC.i = c(A.i) .........1B.i = b(A.s) ... attribute.Which one is violating L attribute definition?(a) 1(b) 2(c) 3(d) None of the above.
ARUN KUMAR 3
286
views
ARUN KUMAR 3
asked
Nov 30, 2016
Compiler Design
compiler-design
syntax-directed-translation
+
–
2.3k
views
1
answers
1
votes
Compiler Design
Which of the following Attribute can be evaluated by a shift-reduce parser that executes semantic action only at reduce moves and never at shift?(a) synthesized attribute(b) inherited attribute(c) both (a) and (b)(d) none of the above
ARUN KUMAR 3
2.3k
views
ARUN KUMAR 3
asked
Nov 30, 2016
Compiler Design
compiler-design
syntax-directed-translation
+
–
856
views
1
answers
3
votes
Test by Bikram | Compiler Design | Test 1 | Question: 28
Consider the following syntax directed definition of any desk calculator:$L \rightarrow En \{ \text{print}(E.val) \}$E \rightarrow E1 + 1 \{ E.val = E1.val + Z.val \} ... $?$9$6$10$11$
Bikram
856
views
Bikram
asked
Nov 25, 2016
Compiler Design
tbb-cd-1
compiler-design
syntax-directed-translation
+
–
715
views
2
answers
2
votes
Test by Bikram | Compiler Design | Test 1 | Question: 15
Which of these is NOT true about Abstract Syntax Tree (AST)?An AST is usually the result of the syntax analysis phase of a compiler.AST has ... a programming language.AST is also used in program analysis and program transformation systems.
Bikram
715
views
Bikram
asked
Nov 25, 2016
Compiler Design
tbb-cd-1
compiler-design
syntax-directed-translation
intermediate-code
+
–
299
views
1
answers
3
votes
Test by Bikram | Compiler Design | Test 1 | Question: 13
Consider following Translation Scheme:$S \rightarrow ER$R \rightarrow ^* E \{ print \{' *' \}; \} R \mid \epsilon$E \rightarrow F + E \{ print ('+');\} \mid F$F \rightarrow S \mid id \{ ... * 7 + 9$ "?$1 7* + 9$1 * 7 9 +$1 7 9 * +$179 + *$
Bikram
299
views
Bikram
asked
Nov 25, 2016
Compiler Design
tbb-cd-1
compiler-design
syntax-directed-translation
+
–
667
views
0
answers
2
votes
MadeEasy Test Series: Compiler Design - Syntax Directed Translation
I think we can not traverse the tree..because it is not a valid SDT, A is taking value from sign.Correct me if i am wring.
vaishali jhalani
667
views
vaishali jhalani
asked
Nov 23, 2016
Compiler Design
made-easy-test-series
compiler-design
syntax-directed-translation
+
–
640
views
0
answers
1
votes
MadeEasy Test Series: Compiler Design - Syntax Directed Translation
vaishali jhalani
640
views
vaishali jhalani
asked
Nov 23, 2016
Compiler Design
made-easy-test-series
compiler-design
syntax-directed-translation
+
–
1.0k
views
2
answers
1
votes
MadeEasy Test Series: Compiler Design - Syntax Directed Translation
vaishali jhalani
1.0k
views
vaishali jhalani
asked
Nov 23, 2016
Compiler Design
made-easy-test-series
compiler-design
syntax-directed-translation
+
–
838
views
1
answers
0
votes
S-attribute grammar
Is this statement correct...Attribute evaluation in S-attribute grammars can be incorporated conveniently in both top-down parsing and bottom-up parsing since S-attributed grammars are not inherited.
vaishali jhalani
838
views
vaishali jhalani
asked
Nov 21, 2016
Compiler Design
compiler-design
syntax-directed-translation
descriptive
+
–
383
views
1
answers
2
votes
Compiler SDT Evaluation
KISHALAY DAS
383
views
KISHALAY DAS
asked
Nov 14, 2016
Compiler Design
compiler-design
syntax-directed-translation
numerical-answers
test-series
+
–
1.4k
views
1
answers
1
votes
Compiler SDT Evaluation
KISHALAY DAS
1.4k
views
KISHALAY DAS
asked
Nov 14, 2016
Compiler Design
compiler-design
syntax-directed-translation
expression-evaluation
test-series
+
–
1.1k
views
1
answers
1
votes
Compiler Inherited Attribute
KISHALAY DAS
1.1k
views
KISHALAY DAS
asked
Nov 14, 2016
Compiler Design
compiler-design
syntax-directed-translation
test-series
+
–
1.5k
views
1
answers
4
votes
TestBook Test Series: Compiler Design - Syntax Directed Translation
$Q_1 \Rightarrow$ For synthesized attribute, value is only computed when symbol is on the _____ side of production. For inherited attribute, value is computed in productions ... is called $c).$ Refers to global variable $d).$ None of these
mcjoshi
1.5k
views
mcjoshi
asked
Nov 11, 2016
Compiler Design
testbook-test-series
compiler-design
syntax-directed-translation
+
–
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