Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged syntax-directed-translation
8
8 votes
2
2 answers
1.4k
1.4k views
GATE CSE 2026 | Set 1 | Question: 43
Consider the following two syntax-directed definitions $\text{SDD1}$ and $\text{SDD2}$ for type declarations. SDD1Grammar (G1)Semantic Rules$D \rightarrow T\ V$$D.t...
gatecse
1.4k
views
asked
Feb 23
Compiler Design
gatecse-2026-set1
compiler-design
syntax-directed-translation
two-marks
multiple-selects
+
–
2
2 votes
1
answers
1 answer
719
719 views
Compiler Design SDT - ISRO MadeEasy mock
Consider the following SDT:S - T RR - {printf("*")} + T {printf("*")} R {printf("+")}T - num {printf("*")}R - ε {printf("+")}How many * will be printed before the first +...
Wren Oswin
719
views
asked
Oct 23, 2025
Compiler Design
syntax-directed-translation
compiler-design
made-easy-test-series
+
–
0
0 votes
2
2 answers
389
389 views
Theory of compiler Ullman (Compiler Design) Edition 2 Thory of computation
Please please please help me Answer thisQ1. Given RE to DFA: (0+1)*10*10*Q2. Write the regular expression for: “All strings of {a,b}containing atleast two b’s.”
Ebrahim
389
views
asked
Oct 13, 2025
Theory of Computation
compiler-design
ullman
parsing
theory-of-computation
syntax-directed-translation
number-of-dfa
+
–
1
1 vote
1
1 answer
406
406 views
Theory of compiler Ullman (Compiler Design) Edition 2 Thory of computation
Q5b) Given RE to DFA: (b/a)*baa(Show Answer with Drawing and steps)
Ebrahim
406
views
asked
Oct 1, 2025
Theory of Computation
syntax-directed-translation
number-of-dfa
regular-language
compiler-design
theory-of-computation
ullman
parsing
+
–
0
0 votes
0
0 answers
264
264 views
Theory of compiler - Theory of Computation - Theory of compiler Ullman (Compiler Design) Edition 2
Hi my dear Please help me to Answer This Questions Q1. Answer the following a) Check the ambiguity for the string “aaa” in the given grammar:S → aB | bAA → aS | bAA | aB...
Ebrahim
264
views
asked
Oct 1, 2025
Theory of Computation
theory-of-computation
compiler-design
ullman
syntax-directed-translation
parsing
ambiguous-grammar
+
–
0
0 votes
2
2 answers
357
357 views
UGC NET CSE | June 2025 | Part 2 | Question: 92
Consider the following Three Address code sample for solving the questions:$\begin{array}{l}100: \text { t } 1=y+2 \\101: \text { initial }=x / t 1 \\102: \text { limit }...
Shubham Sharma 2
357
views
asked
Sep 10, 2025
Compiler Design
ugcnetcse-june2025
compiler-tokenization
intermediate-code
syntax-directed-translation
+
–
0
0 votes
2
2 answers
341
341 views
UGC NET CSE | January 2025 | Part 2 | Question: 71
Match the $\textbf{LIST-I}$ with $\textbf{LIST-II}$$\begin{array}{|l|l|l|l|} \hline & \textbf{ LIST-I } & & \textbf{ LIST-II } \\ \hline \text{A.} & \text{Conflict Resol...
Shubham Sharma 2
341
views
asked
Sep 10, 2025
Compiler Design
ugcnetcse-jan2025
compiler-design
syntax-directed-translation
intermediate-code
+
–
1
1 vote
1
1 answer
286
286 views
UGC NET CSE | August 2024 | Part 2 | Question: 67
Which of the following tasks could be attained using syntax trees in compiler design?Type CheckingCode GenerationCode OptimizationError HandlingChoose the correct answer ...
Shubham Sharma 2
286
views
asked
Sep 9, 2025
Compiler Design
ugcnetcse-aug2024
compiler-design
syntax-directed-translation
+
–
1
1 vote
0
0 answers
231
231 views
UGC NET CSE | December 2023 | Part 2 | Question: 71
Match List - I with List - II according to input to the compiler phase that process it:$$\begin{array}{lll} & \text{List - I} & \text{List - II} \\\text{(A)} & \text...
Shubham Sharma 2
231
views
asked
Sep 9, 2025
Compiler Design
ugcnetcse-dec2023
compiler-design
lexical-analysis
syntax-directed-translation
+
–
0
0 votes
0
0 answers
450
450 views
MADE EASY TEST SERIES
Caption
Jakian_Logi
450
views
asked
Aug 7, 2025
Compiler Design
made-easy-test-series
compiler-design
syntax-directed-translation
+
–
23
23 votes
8
8 answers
9.4k
9.4k views
GATE CSE 2025 | Set 2 | Question: 12
Given the following syntax directed translation rules:Rule 1: $R \rightarrow A B\{B . i=R . i-1 ; A . i=B . i ; R . i=A . i+1 ;\}$Rule 2: $P \rightarrow C D\{P . i=C . ...
Arjun
9.4k
views
asked
Feb 27, 2025
Compiler Design
gatecse2025-set2
compiler-design
syntax-directed-translation
one-mark
+
–
0
0 votes
1
1 answer
480
480 views
S-Attributed and L-Attributed
ROUSHAN17
480
views
asked
Nov 8, 2024
Compiler Design
syntax-directed-translation
+
–
0
0 votes
0
0 answers
468
468 views
Theory of compiler Ullman (Compiler Design) Edition 2
Q4. Check the ambiguity for the string id[id]in the given grammar:E → E+T | TT → id | id[ ] | id[X]X → E , E | E Please answer like example in this page link https://ww...
Ebrahim
468
views
asked
Oct 17, 2024
Compiler Design
compiler-design
ullman
parsing
syntax-directed-translation
descriptive
+
–
0
0 votes
1
1 answer
1.1k
1.1k views
Theory of compiler Ullman (Compiler Design) Edition 2
Q1. a) Convert the given NFA to DFA. (Show the steps) b) Write the regular expression for “ String starts with 1 and has an even length.”
Ebrahim
1.1k
views
asked
Oct 17, 2024
Compiler Design
compiler-design
ullman
syntax-directed-translation
parsing
descriptive
+
–
0
0 votes
1
1 answer
316
316 views
Theory of compiler Ullman (Compiler Design) Edition 2
5. Convert the following:a) Given FA to RE b) Given RE to DFA : (a|b)*(abb|a+ b)
Ebrahim
316
views
asked
Oct 17, 2024
Compiler Design
ullman
compiler-design
syntax-directed-translation
parsing
+
–
0
0 votes
0
0 answers
596
596 views
Syntax Directed Translation
In this question I believe as there is no evaluation taking place as you can see the Translation part of the production ruleonly printing is taking place nothing is given...
arpit.jha
596
views
asked
Aug 23, 2024
Compiler Design
syntax-directed-translation
compiler-design
testbook-test-series
+
–
1
1 vote
0
0 answers
315
315 views
Compiler Design
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;
Ebrahim
315
views
asked
May 5, 2024
Compiler Design
compiler-design
syntax-directed-translation
ullman
+
–
38
38 votes
3
3 answers
17.8k
17.8k views
GATE CSE 2024 | Set 2 | Question: 19
Which of the following statements is/are FALSE?An attribute grammar is a syntax-directed definition $\text{(SDD)}$ in which the functions in the semantic rules have ...
Arjun
17.8k
views
asked
Feb 16, 2024
Compiler Design
gatecse-2024-set2
compiler-design
syntax-directed-translation
multiple-selects
one-mark
+
–
15
15 votes
4
answers
4 answers
14.1k
14.1k views
GATE CSE 2024 | Set 1 | Question: 27
Consider the following syntax-directed definition $\text{(SDD)}$.$$\begin{array}{|l|l|} \hline \text{$S \rightarrow D H T U$} & \text{$ \left\{S.v a l = D.val + H.val +...
Arjun
14.1k
views
asked
Feb 16, 2024
Compiler Design
gatecse-2024-set1
compiler-design
syntax-directed-translation
two-marks
+
–
3
3 votes
0
0 answers
1.7k
1.7k views
GO Classes Test Series 2024 | Mock GATE | Test 14 | Question: 26
Which attributes in the following grammar are synthesized?A.aB.bB.xC.c
GO Classes
1.7k
views
asked
Feb 5, 2024
Compiler Design
goclasses2024-mockgate-14
compiler-design
syntax-directed-translation
multiple-selects
one-mark
+
–
0
0 votes
2
2 answers
783
783 views
compiler design tcompiler-design-timothy-g-griffin
6. Generate code for the following C program using any code generation algorithm. [3 Marks] main() { int x, a, b, c, d, e; ...
Ebrahim
783
views
asked
Jan 31, 2024
Compiler Design
compiler-design
syntax-directed-translation
code-optimization
parsing
ullman
+
–
0
0 votes
0
0 answers
444
444 views
is there something wrong in the production rules?
pcla
444
views
asked
Jan 27, 2024
Compiler Design
syntax-directed-translation
compiler-design
+
–
0
0 votes
0
0 answers
368
368 views
compiler-design-timothy-g-griffin
Find the FIRST and FOLLOW of the grammar to check whether it is LL (1) parser or not. N → AB | BA A → a | CAC B → b | CBC C → a | b
Ebrahim
368
views
asked
Jan 11, 2024
Compiler Design
compiler-design
parsing
ullman
syntax-directed-translation
code-optimization
+
–
Page:
1
2
3
4
5
6
...
9
next »