Login
Register
@
Dark Mode
Profile
Edit my Profile
Messages
My favorites
Register
Activity
Q&A
Questions
Unanswered
Tags
Subjects
Users
Ask
Previous Years
Blogs
New Blog
Exams
Dark Mode
Slides
Recent questions tagged parsing
4
votes
1
answer
1
GO Classes Test Series 2024 | Mock GATE | Test 14 | Question: 52
Consider the following given grammar and the parse tree for the sentence $x + y * z.$ The first reduction made by the shift-reduce parser is labeled as 1, and we keep labeling in the same increasing order, such that the 8th (here, the ... labeled 3. $T \rightarrow T^* P$ will be labeled 6. $T \rightarrow T^* P$ will be labeled 7.
GO Classes
asked
in
Compiler Design
Feb 5
by
GO Classes
255
views
goclasses2024-mockgate-14
compiler-design
parsing
2-marks
4
votes
0
answers
2
GO Classes Test Series 2024 | Mock GATE | Test 14 | Question: 53
The grammar shown below is LL(k) for some value of k. What is the smallest value of k for which this grammar is LL(k)?
GO Classes
asked
in
Compiler Design
Feb 5
by
GO Classes
820
views
goclasses2024-mockgate-14
numerical-answers
compiler-design
parsing
ll-parser
2-marks
0
votes
1
answer
3
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
asked
in
Compiler Design
Feb 1
by
Ebrahim
109
views
compiler-design
syntax-directed-translation
code-optimization
parsing
ullman
5
votes
1
answer
4
GO Classes Test Series 2024 | Mock GATE | Test 12 | Question: 2
Consider the following grammar- ... $\text{Follow(T)}$ are same. $\operatorname{First}(\mathrm{A})$ and $\operatorname{First}(\mathrm{T})$ are same.
GO Classes
asked
in
Compiler Design
Jan 21
by
GO Classes
505
views
goclasses2024-mockgate-12
goclasses
compiler-design
parsing
first-and-follow
multiple-selects
1-mark
4
votes
1
answer
5
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 .$ $ S \rightarrow \;\lt L \mid a \qquad L \rightarrow a R \mid \;\lt L R \quad R \rightarrow\;\gt\; \mid \;; L $ How many different parse trees are there for the string $\lt \lt a \gt ;a\gt ?$
GO Classes
asked
in
Compiler Design
Jan 21
by
GO Classes
330
views
goclasses2024-mockgate-12
goclasses
numerical-answers
compiler-design
parsing
context-free-grammar
1-mark
2
votes
1
answer
6
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 CORRECT right sentential form of the given grammar? $a b S^{\prime}$ $bS'$ $a S^{\prime} b$ $bbS$
GO Classes
asked
in
Compiler Design
Jan 21
by
GO Classes
426
views
goclasses2024-mockgate-12
goclasses
compiler-design
parsing
multiple-selects
2-marks
5
votes
1
answer
7
GO Classes Test Series 2024 | Mock GATE | Test 12 | Question: 34
$ \begin{aligned} & S \rightarrow S1 \;T \\ & S 1 \rightarrow a \mid(S S) \\ & T \rightarrow \varepsilon \mid b \;T \end{aligned} $ In the $\text{LL(1)}$ parser table, $M$ ... $\{T \rightarrow \varepsilon\}$ $\{S 1 \rightarrow a\}$ and $\{T \rightarrow \varepsilon\}$
GO Classes
asked
in
Compiler Design
Jan 21
by
GO Classes
375
views
goclasses2024-mockgate-12
goclasses
compiler-design
parsing
ll-parser
2-marks
0
votes
1
answer
8
Made easy mock test question from Compiler Design
Please show the procedure for the given question.
Rohit Chakraborty
asked
in
Compiler Design
Jan 15
by
Rohit Chakraborty
113
views
compiler-design
parsing
made-easy-test-series
3
votes
1
answer
9
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 cetrain $\text{LR(k)}$ parsers may exhibit uncertainty in ... The parser may perform reduction without generating any conflict. The parser may execute a shift operation without generating any conflict.
GO Classes
asked
in
Compiler Design
Jan 13
by
GO Classes
477
views
goclasses2024-mockgate-11
goclasses
compiler-design
parsing
lr-parser
multiple-selects
1-mark
4
votes
1
answer
10
GO Classes Test Series 2024 | Mock GATE | Test 11 | Question: 54
Consider the following grammar given below. ... the last character of the string: $a^* b($ $\operatorname{CC}($ $\mathrm{BC}($ $\mathrm{CB}$ $\mathrm{BB}$
GO Classes
asked
in
Compiler Design
Jan 13
by
GO Classes
697
views
goclasses2024-mockgate-11
goclasses
compiler-design
parsing
lr-parser
2-marks
0
votes
1
answer
11
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
asked
in
Compiler Design
Jan 13
by
Ebrahim
128
views
compiler-design
syntax-directed-translation
lexical-analysis
ullman
parsing
0
votes
0
answers
12
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
asked
in
Compiler Design
Jan 12
by
Ebrahim
77
views
compiler-design
parsing
ullman
syntax-directed-translation
code-optimization
0
votes
0
answers
13
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 | b Please provid in detail solution step by step
Ebrahim
asked
in
Compiler Design
Jan 11
by
Ebrahim
91
views
compiler-design
syntax-directed-translation
parsing
code-optimization
0
votes
1
answer
14
UGC NET CSE | June 2008 | Part 2 | Question: 33
At the end of parsing, tokens are identified. set of instructions are identified. the syntactic groups are identified. machine instructions are identified.
admin
asked
in
Others
Jan 7
by
admin
92
views
ugcnetcse-june2008-paper2
parsing
0
votes
1
answer
15
Compiler Design
Like Example Above please answer this question Q5. Implement a+b*(c+d)-e/f into: a). Quadruples. b). Triples. c). Indirect triples.
Ebrahim
asked
in
Compiler Design
Dec 18, 2023
by
Ebrahim
225
views
compiler-design
syntax-directed-translation
lexical-analysis
parsing
0
votes
1
answer
16
compiler Design
Please Answer this question 4. Discuss design issues in code generation. Generate target code for the following basic block. t1 : = a + b t2 : = c + d t3 : = e - t2 t4 : = t1 - t3
Ebrahim
asked
in
Compiler Design
Dec 18, 2023
by
Ebrahim
241
views
compiler-design
syntax-directed-translation
lexical-analysis
parsing
Page:
1
2
3
4
5
6
...
23
next »
Subscribe to GATE CSE 2024 Test Series
Subscribe to GO Classes for GATE CSE 2024
Quick search syntax
tags
tag:apple
author
user:martin
title
title:apple
content
content:apple
exclude
-tag:apple
force match
+apple
views
views:100
score
score:10
answers
answers:2
is accepted
isaccepted:true
is closed
isclosed:true
Recent Posts
Post GATE 2024 Guidance [Counseling tips and resources]
GATE CSE 2024 Result Responses
[Project Contest] Pytorch backend support for MLCommons Cpp Inference implementation
Participating in MLCommons Inference v4.0 submission (deadline is February 23 12pm IST)
IIITH PGEE 2024 Test Series by GO Classes
Subjects
All categories
General Aptitude
(3.5k)
Engineering Mathematics
(10.4k)
Digital Logic
(3.6k)
Programming and DS
(6.2k)
Algorithms
(4.8k)
Theory of Computation
(6.9k)
Compiler Design
(2.5k)
Operating System
(5.2k)
Databases
(4.8k)
CO and Architecture
(4.0k)
Computer Networks
(4.9k)
Artificial Intelligence
(79)
Machine Learning
(48)
Data Mining and Warehousing
(24)
Non GATE
(1.4k)
Others
(2.7k)
Admissions
(682)
Exam Queries
(1.6k)
Tier 1 Placement Questions
(17)
Job Queries
(80)
Projects
(11)
Unknown Category
(870)
64.3k
questions
77.9k
answers
243k
comments
79.6k
users
Recent questions tagged parsing
Recent Blog Comments
Hlo I'm Rupesh I got AIR 3485 in gate CS and AIR...
@Ajay Sasank here is the direct link...
Thank you for the post didi My GATE 2023 & 2024...
I Hope it helps 😊
Today's best post I seen thank you for motivation