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
Number of derivation trees
rahul sharma 5
asked
in
Compiler Design
Oct 14, 2017
retagged
Jun 18, 2022
by
Lakshman Bhaiya
1,612
views
1
vote
1
vote
`How many derivation trees are there to derive string"te" from below grammer:-
G->ATE | g | $\epsilon$
A->TE | a | $\epsilon$
T-> t | $\epsilon$
E-> e | $\epsilon$
compiler-design
grammar
parsing
rahul sharma 5
asked
in
Compiler Design
Oct 14, 2017
retagged
Jun 18, 2022
by
Lakshman Bhaiya
by
rahul sharma 5
1.6k
views
answer
comment
Follow
share this
share
2 Comments
by
joshi_nitish
commented
Oct 14, 2017
reply
Follow
share this
i am getting 4.
0
0
by
Warlock lord
commented
Oct 20, 2017
reply
Follow
share this
It's 4.
0
0
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
2
Answers
2
votes
2
votes
Best answer
4 tree are possible
Prateek Raghuvanshi
answered
Oct 14, 2017
selected
Oct 20, 2017
by
rahul sharma 5
by
Prateek Raghuvanshi
comment
Follow
share this
0 Comments
Please
log in
or
register
to add a comment.
0
votes
0
votes
.........
Hira Thakur
answered
Oct 20, 2017
by
Hira Thakur
comment
Follow
share this
0 Comments
Please
log in
or
register
to add a comment.
← Previous
Next →
← Previous in category
Next in category →
Related questions
–1
vote
–1
vote
1
answer
1
iita
asked
in
Compiler Design
Feb 3, 2017
5,967
views
number of steps in derivation
iita
asked
in
Compiler Design
Feb 3, 2017
by
iita
6.0k
views
compiler-design
context-free-grammar
parsing
numerical-answers
test-series
1
vote
1
vote
1
answer
2
shikharV
asked
in
Compiler Design
Nov 19, 2015
417
views
Finding number of right derivation
Given answer: 1 I am able to get 2 rightmost derivation of 'a+a' First: S -> E + E -> E + a -> a + a Second: S -> E + E -> E + a -> a + a Total derivation -> 2
shikharV
asked
in
Compiler Design
Nov 19, 2015
by
shikharV
417
views
compiler-design
parsing
test-series
2
votes
2
votes
0
answers
3
rahul sharma 5
asked
in
Compiler Design
Oct 14, 2017
1,518
views
Compiler Design:- Number of conflicts in LR(0)
Consider the following grammer:- Stmts -> Stmt | Stmts;Stmt Stmt -> Var =E Var ->id[E] | id E-> id | (E) Find the number of conflicts in LR(0)?
rahul sharma 5
asked
in
Compiler Design
Oct 14, 2017
by
rahul sharma 5
1.5k
views
compiler-design
lr-parser
grammar
parsing
6
votes
6
votes
7
answers
4
srestha
asked
in
Compiler Design
Apr 16, 2016
7,275
views
Number of conflict
Consider the grammar given below S⟶ SS | a | ∈ The number of inadequate states in the DFA of LR(1) items is (a) 1 (b) 2 (c) 3 (d) 4
srestha
asked
in
Compiler Design
Apr 16, 2016
by
srestha
7.3k
views
compiler-design
grammar
parsing
lr-parser
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