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
#madeeasy_workbook
Anil Ji
asked
in
Compiler Design
Oct 13, 2018
retagged
Jul 15, 2022
by
Anjana5051
349
views
0
votes
0
votes
compiler-design
syntax-directed-translation
made-easy-booklet
Anil Ji
asked
in
Compiler Design
Oct 13, 2018
retagged
Jul 15, 2022
by
Anjana5051
by
Anil Ji
349
views
answer
comment
Follow
share this
share
1 comment
by
Raghav Khajuria
commented
Oct 17, 2018
reply
Follow
share this
L-attributed definition both synthesized & inherited attributes but get inherited attributes either from parent or left siblings ,it is satisfying so L - attributed
A is correct
0
0
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
0
votes
0
votes
Option (A) is correct.
gatenidhi2018
answered
Oct 13, 2018
by
gatenidhi2018
comment
Follow
share this
2 Comments
by
Anil Ji
commented
Oct 13, 2018
reply
Follow
share this
given is C
0
0
by
Rajat Negi
commented
Oct 17, 2018
reply
Follow
share this
maybe because f(A.s) is asking for a synthesized attribute but Q itself is a child of A
0
0
Please
log in
or
register
to add a comment.
← Previous
Next →
← Previous in category
Next in category →
Related questions
1
vote
1
vote
2
answers
1
Xylene
asked
in
Compiler Design
Sep 4, 2017
707
views
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
asked
in
Compiler Design
Sep 4, 2017
by
Xylene
707
views
compiler-design
syntax-directed-translation
made-easy-booklet
0
votes
0
votes
1
answer
2
Anil Ji
asked
in
Compiler Design
Oct 13, 2018
179
views
#madeeasy_workbook
Anil Ji
asked
in
Compiler Design
Oct 13, 2018
by
Anil Ji
179
views
compiler-design
parsing
made-easy-booklet
0
votes
0
votes
1
answer
3
Souvik33
asked
in
Compiler Design
Jan 1, 2023
856
views
Made Easy Textbook Problem | Compiler Design | CLR(1) | Look-a-heads
Let G be any grammar with the following productions: X → X+Y | Y Y→ Y*Z | Z Z → (X) Z → id If LR(1) parser is used to parse the above grammar, then total how many look-a-heads are present for the item “X→.Y” and “Z →.id” in the initial state?
Souvik33
asked
in
Compiler Design
Jan 1, 2023
by
Souvik33
856
views
compiler-design
made-easy-test-series
parsing
made-easy-booklet
lr-parser
1
vote
1
vote
2
answers
4
Shubham_Kr
asked
in
Compiler Design
Apr 11, 2019
3,100
views
Made easy question of compiler design
Find the number of tokens in the following C code$:$ main() { int x = 10 , *P ; int y = x ++ ; char * q ; P = & x ; q = 'A' ; if(*P>=10) { *P = x + 100; } else { printf("%d" , x); /*comment*/ } }
Shubham_Kr
asked
in
Compiler Design
Apr 11, 2019
by
Shubham_Kr
3.1k
views
compiler-design
lexical-analysis
compiler-tokenization
made-easy-booklet
numerical-answers
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
(25)
Non GATE
(1.4k)
Others
(2.7k)
Admissions
(684)
Exam Queries
(1.6k)
Tier 1 Placement Questions
(17)
Job Queries
(80)
Projects
(11)
Unknown Category
(870)
64.3k
questions
77.9k
answers
244k
comments
80.0k
users
Recent Blog Comments
category ?
Hi @Arjun sir, I have obtained a score of 591 in ...
download here
Can you please tell about IIT-H mtech CSE self...
Please add your admission queries here:...
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy