Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Search results for compiler
689
views
1
answers
5
votes
GO Classes Test Series 2024 | Mock GATE | Test 12 | Question: 2
Consider the following grammar- ... .$\operatorname{First}(\mathrm{A})$ and $\operatorname{First}(\mathrm{T})$ are same.
GO Classes
689
views
GO Classes
asked
Jan 21
Compiler Design
goclasses2024-mockgate-12
goclasses
compiler-design
parsing
first-and-follow
multiple-selects
1-mark
+
–
707
views
1
answers
3
votes
GO Classes Test Series 2024 | Mock GATE | Test 11 | Question: 26
A lexical analyzer uses the following patterns to recognize four tokens $\textsf{T1, T2, T3},$ and $\textsf{T4}$ over the alphabet $ \{a,b,c\}.$ ... outputs the token that matches the longest possible prefix.Rule$1$Rule$2$Rule$3$Rule$4$
GO Classes
707
views
GO Classes
asked
Jan 13
Compiler Design
goclasses2024-mockgate-11
goclasses
compiler-design
lexical-analysis
compiler-tokenization
multiple-selects
1-mark
+
–
632
views
1
answers
3
votes
GO Classes Test Series 2024 | Mock GATE | Test 13 | Question: 38
Consider the syntax-directed translation given by the following grammar and semantic rules. Here, $S$ is the only non-terminal and $\Sigma=\{0,1,2\}$ is a ... The value computed by the translation scheme for the input string $201$ is $20.$
GO Classes
632
views
GO Classes
asked
Jan 28
Compiler Design
goclasses2024-mockgate-13
goclasses
compiler-design
syntax-directed-translation
multiple-selects
2-marks
+
–
2.3k
views
2
answers
0
votes
GATE CSE 2024 | Set 1 | Question: 27
Consider the following syntax-directed definition $\text{(SDD)}$.$S \rightarrow D H T U$ ... $ value computed by the $\text{SDD}$ (in the attribute $S.val$)?$45$50$55$65$
Arjun
2.3k
views
Arjun
asked
Feb 16
Compiler Design
gatecse2024-set1
compiler-design
syntax-directed-translation
+
–
445
views
1
answers
4
votes
GO Classes Test Series 2024 | Mock GATE | Test 13 | Question: 39
Consider the following grammar$\begin{aligned}& A \rightarrow B B \\& B \rightarrow b\end{aligned}$Suppose we draw an $\operatorname{LR}(0)$ ... state with $2$ incoming transitionsThere is exactly one state with $3$ outgoing transitions
GO Classes
445
views
GO Classes
asked
Jan 28
Compiler Design
goclasses2024-mockgate-13
goclasses
compiler-design
lr-parser
multiple-selects
2-marks
+
–
595
views
1
answers
3
votes
GO Classes Test Series 2024 | Mock GATE | Test 11 | Question: 27
Suppose there is a handle on the top of the stack at some point in time while performing $\text{LR(k)}$ parsing. In this context, a ... generating any conflict.The parser may execute a shift operation without generating any conflict.
GO Classes
595
views
GO Classes
asked
Jan 13
Compiler Design
goclasses2024-mockgate-11
goclasses
compiler-design
parsing
lr-parser
multiple-selects
1-mark
+
–
2.5k
views
1
answers
1
votes
GATE CSE 2024 | Set 1 | Question: 16
Which of the following is/are Bottom-Up Parser(s)?Shift-reduce ParserPredictive ParserLL$(1)$ Parser LR Parser
Arjun
2.5k
views
Arjun
asked
Feb 16
Compiler Design
gatecse2024-set1
multiple-selects
compiler-design
parsing
+
–
450
views
1
answers
4
votes
GO Classes Test Series 2024 | Mock GATE | Test 12 | Question: 16
Consider the following context-free grammar, with start symbol $S$ and terminals $a, ; , \lt , \gt .$ ... many different parse trees are there for the string $\lt \lt a \gt ;a\gt ?$
GO Classes
450
views
GO Classes
asked
Jan 21
Compiler Design
goclasses2024-mockgate-12
goclasses
numerical-answers
compiler-design
parsing
context-free-grammar
1-mark
+
–
1.7k
views
1
answers
0
votes
GATE CSE 2024 | Set 1 | Question: 49
Let $G=(V, \Sigma, S, P)$ be a context-free grammar in Chomsky Normal Form with $\Sigma=\{a, b, c\}$ and $V$ containing $10$ variable symbols ... number of steps (application of rules) in the derivation $S \rightarrow^* w$ is __________.
Arjun
1.7k
views
Arjun
asked
Feb 16
Compiler Design
gatecse2024-set1
numerical-answers
compiler-design
grammar
+
–
15.4k
views
7
answers
49
votes
GATE CSE 2011 | Question: 36
Consider evaluating the following expression tree on a machine with load-store architecture in which memory can be accessed only through load and store instructions. The ... $9$5$3$
go_editor
15.4k
views
go_editor
asked
Sep 29, 2014
Compiler Design
gatecse-2011
compiler-design
register-allocation
normal
+
–
553
views
1
answers
2
votes
GO Classes Test Series 2024 | Mock GATE | Test 12 | Question: 33
Consider the following grammar:$\begin{aligned}& S \rightarrow a S^{\prime} \\& S^{\prime} \rightarrow b S^{\prime} \mid \epsilon\end{aligned}$Which of the following is/are ... $bS'$a S^{\prime} b$bbS$
GO Classes
553
views
GO Classes
asked
Jan 21
Compiler Design
goclasses2024-mockgate-12
goclasses
compiler-design
parsing
multiple-selects
2-marks
+
–
164
views
0
answers
0
votes
is there something wrong in the production rules?
pcla
164
views
pcla
asked
Jan 27
Compiler Design
syntax-directed-translation
compiler-design
+
–
294
views
1
answers
0
votes
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; x= a + b -( c + d ) * e }
Ebrahim
294
views
Ebrahim
asked
Jan 31
Compiler Design
compiler-design
syntax-directed-translation
code-optimization
parsing
ullman
+
–
256
views
1
answers
0
votes
Compiler-design
Q1. For the following grammar N -> AB | BA A -> a | CAC B -> b | CBC C -> a | b Find the FIRST and FOLLOW
Ebrahim
256
views
Ebrahim
asked
Jan 12
Compiler Design
compiler-design
syntax-directed-translation
lexical-analysis
ullman
parsing
+
–
170
views
1
answers
0
votes
Made easy mock test question from Compiler Design
Please show the procedure for the given question.
Rohit Chakraborty
170
views
Rohit Chakraborty
asked
Jan 15
Compiler Design
compiler-design
parsing
made-easy-test-series
+
–
18.4k
views
6
answers
37
votes
GATE CSE 2001 | Question: 1.18
Which of the following statements is false?An unambiguous grammar has same leftmost and rightmost derivationAn LL(1) parser is a top-down parserLALR is more powerful than SLRAn ambiguous grammar can never be LR(k) for any k
Kathleen
18.4k
views
Kathleen
asked
Sep 14, 2014
Compiler Design
gatecse-2001
compiler-design
grammar
normal
+
–
181
views
1
answers
0
votes
Compilers: Principles, Techniques, and Tools by ALFRED Aho
Find the minimum number of total variables in SSA form:a = b + mm = a + ed = b + mb = a + e
abhiyodayapandey
181
views
abhiyodayapandey
asked
Jan 7
Compiler Design
compiler-design
+
–
592
views
3
answers
1
votes
Made Easy Test Series - Compiler Design
$\text{ Find $\textbf{First(A)}$ and $\textbf{Follow(B)}$ }?$
Rahhul A
592
views
Rahhul A
asked
Nov 10, 2023
Compiler Design
compiler-design
made-easy-test-series
first-and-follow
+
–
137
views
0
answers
0
votes
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
137
views
Ebrahim
asked
Jan 11
Compiler Design
compiler-design
parsing
ullman
syntax-directed-translation
code-optimization
+
–
199
views
0
answers
0
votes
compiler-design-timothy-g-griffin
Please provide in detail solution step by step 5. 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 | bPlease provid in detail solution step by step
Ebrahim
199
views
Ebrahim
asked
Jan 10
Compiler Design
compiler-design
syntax-directed-translation
parsing
code-optimization
+
–
Page:
« prev
1
2
3
4
5
6
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register