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
Recent questions tagged ambiguous-grammar
1
vote
1
answer
1
NPTEL Assignment Question
Natural language constructs are (A) Unambiguous (B) Ambiguous (C) May be unambiguous or ambiguous (D) None of the other options
rsansiya111
asked
in
Compiler Design
Dec 6, 2021
by
rsansiya111
392
views
compiler-design
nptel-quiz
ambiguous-grammar
3
votes
4
answers
2
ISRO2020-60
A given grammar is called ambiguous if two or more productions have the same non-terminal on the left hand side a derivation tree has more than one associated sentence there is a sentence with more than one derivation tree corresponding to it brackets are not present in the grammar
Satbir
asked
in
Compiler Design
Jan 13, 2020
by
Satbir
7.7k
views
isro-2020
compiler-design
ambiguous-grammar
easy
0
votes
0
answers
3
Ullman (Compiler Design) Edition 2 Exercise 4.6 Question 9 (Page No. 259)
The following is an ambiguous grammar: $S\rightarrow AS\mid b$ $A\rightarrow SA\mid a$ Construct for this grammar its collection of sets of $LR(0)$ items. If we try to build an LR-parsing table for ... choosing a possible action whenever there is a conflict. Show all the possible sequences of actions on input $abab$.
Lakshman Patel RJIT
asked
in
Compiler Design
Aug 20, 2019
by
Lakshman Patel RJIT
317
views
ullman
compiler-design
ambiguous-grammar
lr-parser
descriptive
0
votes
1
answer
4
Michael Sipser Edition 3 Exercise 2 Question 27 (Page No. 157)
$G$ is a natural-looking grammar for a fragment of a programming language, but $G$ is ambiguous$.$ Show that $G$ is ambiguous$.$ Give a new unambiguous grammar for the same language$.$
Lakshman Patel RJIT
asked
in
Theory of Computation
May 4, 2019
by
Lakshman Patel RJIT
1.2k
views
michael-sipser
theory-of-computation
context-free-grammar
ambiguous-grammar
0
votes
1
answer
5
UPPCL AE 2018:11
Which of the following statements are $\text{FALSE}?$ Ambiguous grammars must have more than one parse tree for every string. Addition(+), subtraction(-), and assignment(=) operators in $\text{C}$ are left associative. Python is a weekly typed language. $1$ and $2$ $2$ and $3$ $1$ and $3$ $1, 2$ and $3$
Lakshman Patel RJIT
asked
in
Compiler Design
Jan 5, 2019
by
Lakshman Patel RJIT
184
views
uppcl2018
compiler-design
ambiguous-grammar
0
votes
1
answer
6
Context free grammars
Any left factored Context-Free Grammar is both unambiguous and non-left-recursive. True or false?
Iamniks4
asked
in
Compiler Design
Dec 12, 2018
by
Iamniks4
166
views
compiler-design
context-free-grammar
ambiguous-grammar
true-false
1
vote
1
answer
7
self doubt
S->AB A->a B->b this grammar is ambiguous or not. Q2; is it true that the number of left most derivation tree is always equal to number of right most derivation tree.?
eyeamgj
asked
in
Compiler Design
Nov 12, 2018
by
eyeamgj
190
views
compiler-design
parsing
ambiguous-grammar
descriptive
1
vote
1
answer
8
Is all ambiguous grammar could be converted to unambiguous?
Dhananjay15
asked
in
Compiler Design
Aug 14, 2018
by
Dhananjay15
969
views
compiler-design
grammar
ambiguous-grammar
2
votes
3
answers
9
Ambiguous and unambiguous grammar
If a grammar( $CFG$ ) has more than one Right most derivation, Can it be called ambiguous ? Or we say a grammar is ambiguous only when it has more than one left most derivation ?
Rahul Ranjan 1
asked
in
Compiler Design
May 28, 2018
by
Rahul Ranjan 1
1.2k
views
compiler-design
parsing
ambiguous-grammar
0
votes
5
answers
10
Finding Handles in a grammer
Total number of Handles for $(w=aa)$ in the following grammar ? $S\rightarrow DT$ $D\rightarrow aa$ $T\rightarrow \epsilon$
Abhishek Malik
asked
in
Compiler Design
Apr 5, 2018
by
Abhishek Malik
725
views
compiler-design
grammar
ambiguous-grammar
0
votes
1
answer
11
Test Questiion
$G: S\rightarrow SbS\mid a$ Grammars are ambiguous True/False.
Nikhil Patil
asked
in
Compiler Design
Feb 8, 2018
by
Nikhil Patil
227
views
compiler-design
parsing
ambiguous-grammar
true-false
test-series
0
votes
1
answer
12
ambiguity
E→E−T ∣ T T→T/F ∣ F F→(E) ∣ id (E is the start symbol) This grammar is unambiguos.........but shouldnt it be ambiguos because it has left recursion ?
A_i_$_h
asked
in
Compiler Design
Dec 23, 2017
by
A_i_$_h
325
views
compiler-design
ambiguous-grammar
left-recursion
descriptive
0
votes
2
answers
13
[Compiler Design] Ambiguity
The productions E -> E+E | E-E | E*E | id a:) generates inherently ambiguous languages b:) generates and ambiguous language c:) is an ambiguous grammer d) none of these
rahul sharma 5
asked
in
Compiler Design
Oct 17, 2017
by
rahul sharma 5
7.9k
views
compiler-design
parsing
ambiguous-grammar
1
vote
1
answer
14
PARSER
Is this statement true:- If Grammar is unambiguous must be LL(1) if not LL(1) it does not mean ambiguous.
learner_geek
asked
in
Compiler Design
Aug 16, 2017
by
learner_geek
2.8k
views
compiler-design
parsing
ambiguous-grammar
2
votes
1
answer
15
Ullman 4.3
Is this grammar ambiguous? S-->SxA|A A-->AyB|B B-->zB|(S)|m|n I cant prove it ambiguos.As this grammar is not in LR(1) it may or may not be ambiguous.
reena_kandari
asked
in
Compiler Design
Aug 15, 2017
by
reena_kandari
239
views
compiler-design
parsing
ambiguous-grammar
lr-parser
descriptive
2
votes
2
answers
16
Complier Design Test 1.1
Ques. S --> Aa/bAc/dc A --> d Which of them is correct. Please provide detailed information. a) LALR(1) but not SLR(1) b) Both SLR(1) and LALR(1) c) Grammar is Ambiguous d) Neither SLR(1) NOR LALR(1)
Shivam Bhardwaj
asked
in
Compiler Design
Aug 10, 2017
by
Shivam Bhardwaj
546
views
compiler-design
parsing
lr-parser
ambiguous-grammar
test-series
2
votes
1
answer
17
Ambiguous to unambiguous
Make this grammer into unambiguous
learner_geek
asked
in
Compiler Design
Aug 5, 2017
by
learner_geek
844
views
compiler-design
ambiguous-grammar
1
vote
1
answer
18
Basic grammer
A Grammar which is only left recursive or right recursive can be ambiguous grammar??? Or it should have both left recursive and right recursive to be ambiguous???
learner_geek
asked
in
Compiler Design
Aug 3, 2017
by
learner_geek
136
views
compiler-design
ambiguous-grammar
left-recursion
descriptive
1
vote
1
answer
19
Parse tree ambiguous or not
If i am wrong please let me correct with giving proper explanation.
learner_geek
asked
in
Compiler Design
Aug 3, 2017
by
learner_geek
323
views
compiler-design
parsing
ambiguous-grammar
true-false
1
vote
1
answer
20
COMPILER DESIGN
How to prove that every regular language is unambiguous?
jatin kumar 3
asked
in
Compiler Design
Jul 31, 2017
by
jatin kumar 3
160
views
compiler-design
regular-language
ambiguous-grammar
descriptive
1
vote
1
answer
21
#testbook test series
shefali1
asked
in
Compiler Design
Jul 24, 2017
by
shefali1
627
views
compiler-design
parsing
ll-parser
lr-parser
left-recursion
ambiguous-grammar
testbook-test-series
0
votes
1
answer
22
Operator Precedence
E → E + E | E * E | ( E ) | id What will be operator precedence for above grammar.Is precedence differs due to ambiguity
jatin khachane 1
asked
in
Compiler Design
Jun 7, 2017
by
jatin khachane 1
310
views
compiler-design
operator-grammar
operator-precedence
ambiguous-grammar
descriptive
0
votes
1
answer
23
grammer
Ankita Shingala
asked
in
Compiler Design
Jan 14, 2017
by
Ankita Shingala
309
views
compiler-design
grammar
ambiguous-grammar
test-series
0
votes
1
answer
24
gate 2001
An unambiguous grammar has same leftmost and rightmost derivation Please provide an example to show this.
Adiaspirant
asked
in
Compiler Design
Jan 8, 2017
by
Adiaspirant
1.2k
views
compiler-design
grammar
ambiguous-grammar
descriptive
1
vote
4
answers
25
Compiler
Consider the following grammar 1)Left Recursive 2)Ambiguos 3)Left factored 4)None of these
reena_kandari
asked
in
Compiler Design
Jan 5, 2017
by
reena_kandari
384
views
compiler-design
context-free-grammar
left-recursion
ambiguous-grammar
ace-test-series
Page:
1
2
next »
Subscribe to GATE CSE 2023 Test Series
Subscribe to GO Classes for GATE CSE 2023
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
From Rank 4200 to 64: My Journey to Success in GATE CSE Exam
What are the key things to focus on during the final 10-15 days before the GATE exam to improve performance?
All India GO Classes Mock test
NTA UGC NET JRF December 2022 Apply Online Form 2023
Life happens, just chill and do hardwork
Subjects
All categories
General Aptitude
(2.5k)
Engineering Mathematics
(9.3k)
Digital Logic
(3.3k)
Programming and DS
(5.8k)
Algorithms
(4.6k)
Theory of Computation
(6.7k)
Compiler Design
(2.3k)
Operating System
(5.0k)
Databases
(4.6k)
CO and Architecture
(3.8k)
Computer Networks
(4.6k)
Non GATE
(1.3k)
Others
(2.4k)
Admissions
(649)
Exam Queries
(842)
Tier 1 Placement Questions
(17)
Job Queries
(74)
Projects
(9)
Unknown Category
(853)
Recent questions tagged ambiguous-grammar
Recent Blog Comments
@abhi_3_0_12 bro revise now, Gate is on upcoming...
I want to buy the test series today but I want to...
@mahendrapatel The more you give those (some...
@ChatGPT bhai muze vo test bhi dena tha...
AIMT is live now:...