Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged viable-prefix
876
views
0
answers
5
votes
Ullman (Compiler Design) Edition 2 Exercise 4.6 Question 1 (Page No. 257 - 258)
Describe all the viable prefixes for the following grammars:The grammar $S\rightarrow 0S1\mid 01$ of Question $4.2.2(a)$ ... The grammar $S\rightarrow S(S)\mid \epsilon$ of Question $4.2.2(c)$.
admin
876
views
admin
asked
Aug 20, 2019
Compiler Design
ullman
compiler-design
grammar
viable-prefix
descriptive
+
–
738
views
3
answers
1
votes
gate academy, all india mock test 2019
manvee
738
views
manvee
asked
Jan 15, 2019
Compiler Design
compiler-design
viable-prefix
gate-academy-test-series
+
–
2.5k
views
1
answers
3
votes
MadeEasy Subject Test 2019: Compiler Design - Parsing
Consider the following grammar:S-->XXX-->bX-->aXWhich of the following can be the viable prefixes?baabaabaaababbbbaX
Sambhrant Maurya
2.5k
views
Sambhrant Maurya
asked
Jan 11, 2019
Compiler Design
compiler-design
viable-prefix
parsing
made-easy-test-series
+
–
1.7k
views
1
answers
4
votes
GATE Overflow | Mock GATE | Test 1 | Question: 57
Which of the following statements on Viable Prefixes is incorrect?A viable prefix does not extend past the right end of the handleFor any context-free grammar, ... a parser has viable prefixes on the stack no parsing error has been detected
Ruturaj Mohanty
1.7k
views
Ruturaj Mohanty
asked
Dec 27, 2018
Compiler Design
go-mockgate-1
lr-parser
compiler-design
parsing
viable-prefix
+
–
404
views
0
answers
1
votes
Doubt regarding Viable prefix
I have one doubt regarding getting viable prefixes for a grammar. Suppose I am given a grammar G which is told to be LR(0).I have observed, if I ... to give me viable prefix in a reasonable amount of time and accurate answer.Pleas help.
Ayush Upadhyaya
404
views
Ayush Upadhyaya
asked
Dec 12, 2018
Compiler Design
viable-prefix
compiler-design
+
–
8.2k
views
4
answers
15
votes
Handle in a grammar
Consider the following Grammar :$S \rightarrow ZZ$ ... it. And do explain the difference between viable prefix and Handle Please :)
Na462
8.2k
views
Na462
asked
Sep 18, 2018
Compiler Design
compiler-design
grammar
viable-prefix
+
–
1.6k
views
1
answers
0
votes
Handles and Viable Prefixes
I am confused in the Concept of Handles in right sentential form and Viable Prefix. Can Please anybody explain these two concepts Briefly using Examples :)
Na462
1.6k
views
Na462
asked
Jun 8, 2018
Compiler Design
compiler-design
viable-prefix
+
–
583
views
1
answers
0
votes
SR parsing
Which of the following is true at any valid state in shift reduce parsing1.viable prefixes appear only at the bottom of the stack and not inside2 ... inside3.Stack contains only a set of viable prefixes4.Stack never contains viable prefixes
A_i_$_h
583
views
A_i_$_h
asked
Nov 10, 2017
Compiler Design
compiler-design
viable-prefix
+
–
305
views
1
answers
0
votes
selfdoubt
what is difference between handle and viable prefixes?
Nils
305
views
Nils
asked
Oct 24, 2017
Compiler Design
compiler-design
viable-prefix
+
–
771
views
1
answers
2
votes
Compiler Zeal sheet
S - >aSb | cGive viable prefix for this with details of how to find viable prefix? for string - - aacbb
Kuldeep Pal
771
views
Kuldeep Pal
asked
Oct 17, 2017
Compiler Design
compiler-design
viable-prefix
zeal-workbook
+
–
1.0k
views
2
answers
3
votes
parsing
what is the difference between Handle and Viable prefix??
Hira Thakur
1.0k
views
Hira Thakur
asked
Aug 14, 2017
Compiler Design
compiler-design
viable-prefix
descriptive
+
–
1.4k
views
1
answers
5
votes
Compiler: Viable Prefixes
Consider the following grammar:$S\rightarrow0S1 | 01$How many of the following are the viable prefixes of the grammar?i. 01 ii. 001iii. 00011iv. 00S1PS: given answers i, ii and iv , please explain!
Vijay Thakur
1.4k
views
Vijay Thakur
asked
Jan 13, 2017
Compiler Design
compiler-design
parsing
viable-prefix
+
–
1.1k
views
1
answers
1
votes
parsing
consider the following grammar productionS->XXX->0X|1In the canonical LR method if [X->0•X,0] is an item then which of the following is the viable prefix of the item?a)000 b)111 c) 011 d)110
kirtikanwar
1.1k
views
kirtikanwar
asked
Jan 4, 2017
Compiler Design
compiler-design
viable-prefix
+
–
4.5k
views
4
answers
3
votes
#compiler
given GrammarE → E + EE → E * EE → ( E )E → idFind set of handles and viable prefixes for the input string id1 + id2 * id3
papesh
4.5k
views
papesh
asked
Dec 13, 2016
Compiler Design
compiler-design
viable-prefix
+
–
3.2k
views
1
answers
2
votes
Compiler Viable Prefix
KISHALAY DAS
3.2k
views
KISHALAY DAS
asked
Nov 12, 2016
Compiler Design
compiler-design
viable-prefix
parsing
test-series
+
–
1.4k
views
2
answers
4
votes
MadeEasy Test Series: Compiler Design - Viable Prefix
i think "(E+F*" is viable prefix but "E+F*" is not viable prefix. correct?
Anusha Motamarri
1.4k
views
Anusha Motamarri
asked
Sep 30, 2016
Compiler Design
made-easy-test-series
compiler-design
viable-prefix
+
–
2.8k
views
2
answers
11
votes
Bottom-Up Parsing
Consider the folllowing grammar$ S\rightarrow AaS \ |\ b$ A\rightarrow c \ |\ d \ |B$ B\rightarrow AgC \ |\ AhC \ | \ DgC | \ DhC$ ... )Aab$ \left ( 2 \right )ca$ \left ( 3 \right )cab$\left ( 4 \right )AgCS$
ManojK
2.8k
views
ManojK
asked
Sep 20, 2016
Compiler Design
compiler-design
viable-prefix
parsing
+
–
14.7k
views
2
answers
4
votes
what is viable prefix?
Can someone describe what is a viable prefix with an example?
Suvam Chatterjee
14.7k
views
Suvam Chatterjee
asked
Sep 28, 2015
Compiler Design
compiler-design
viable-prefix
+
–
1.5k
views
3
answers
2
votes
SET OF VIABLE PREFIXES FOR A GIVEN SLR(1) GRAMMAR IS REGULAR LANGUAGE ?
SET OF VIABLE PREFIXES FOR A GIVEN SLR(1) GRAMMAR IS REGULAR LANGUAGE ?
Ankit Chourasiya
1.5k
views
Ankit Chourasiya
asked
Sep 9, 2015
Compiler Design
compiler-design
parsing
lr-parser
viable-prefix
+
–
2.9k
views
3
answers
4
votes
Viable Prefix
Suvam Chatterjee
2.9k
views
Suvam Chatterjee
asked
Jul 18, 2015
Compiler Design
compiler-design
parsing
viable-prefix
test-series
+
–
1.2k
views
1
answers
0
votes
Liveness of a variable
https://gateoverflow.in/?qa=blob&qa_blobid=6419625116648850773
spriti1991
1.2k
views
spriti1991
asked
Apr 4, 2015
Compiler Design
compiler-design
viable-prefix
live-variable-analysis
+
–
19.5k
views
2
answers
53
votes
GATE CSE 2015 Set 1 | Question: 13
Which one of the following is TRUE at any valid state in shift-reduce parsing?Viable prefixes appear only at the bottom of the stack and not ... insideThe stack contains only a set of viable prefixesThe stack never contains viable prefixes
makhdoom ghaya
19.5k
views
makhdoom ghaya
asked
Feb 12, 2015
Compiler Design
gatecse-2015-set1
compiler-design
parsing
normal
viable-prefix
lr-parser
+
–
To see more, click for the
full list of questions
or
popular tags
.
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register