Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged context-free-grammar
8.9k
views
1
answers
5
votes
Which of following features cannot be captured by CFG?
Which of the following features cannot be captured by CFGSyntax of if then else statementsSyntax of recursive proceduresWhether a variable is declared before its useMatching nested parenthesis
sh!va
8.9k
views
sh!va
asked
Jun 21, 2016
Compiler Design
compiler-design
context-free-grammar
+
–
569
views
1
answers
0
votes
What is Regular right part grammar Explain with Example.And where do we use such a grammar ?
Deepak jain
569
views
Deepak jain
asked
Jun 4, 2016
Compiler Design
compiler-design
context-free-grammar
+
–
923
views
1
answers
9
votes
ISI2013-PCB-CS-4a
Give a context-free grammar $G$ that generates $L = \{0^i1^j0^k \mid i + k = j\}$.Prove that $L = L(G)$.
go_editor
923
views
go_editor
asked
Jun 1, 2016
Theory of Computation
descriptive
isi2013-pcb-cs
context-free-grammar
theory-of-computation
+
–
2.1k
views
1
answers
2
votes
CFG is ambiguous is it possible to make top down and bottom up parsing?
If a grammer(CFG) is ambiguous then we can construct the topdown and bottomup parsing is possible directly???or we will make them into unambiguous then we will construct???
Prakash059
2.1k
views
Prakash059
asked
May 3, 2016
Compiler Design
compiler-design
context-free-grammar
ambiguous-grammar
+
–
5.9k
views
4
answers
3
votes
Consider the following grammar. How many back tracks are required to generate the string aab from the above grammar?
Consider the following grammar. How many back tracks are required to generate the string aab from the above grammar?S → aB | aAbA → bAb | aB → aB | ε
Harit
5.9k
views
Harit
asked
Apr 25, 2016
Compiler Design
compiler-design
context-free-grammar
parsing
numerical-answers
normal
+
–
397
views
1
answers
0
votes
Compiler question
I did in this way :There is conflict , right ? As A -> g. and B -> g. both going to $ and g
worst_engineer
397
views
worst_engineer
asked
Jan 9, 2016
Compiler Design
compiler-design
context-free-grammar
parsing
lr-parser
test-series
+
–
416
views
1
answers
1
votes
Complier
nitish
416
views
nitish
asked
Dec 27, 2015
Compiler Design
compiler-design
ambiguous-grammar
context-free-grammar
test-series
+
–
851
views
3
answers
3
votes
Couting the number of reduce moves
The maximum number of reduce moves that can be taken by a bottom-up parser with no epsilon and unit productions to parse a string of length 3 tokens is ____ ?
shikharV
851
views
shikharV
asked
Nov 13, 2015
Compiler Design
compiler-design
context-free-grammar
compiler-tokenization
numerical-answers
+
–
3.7k
views
6
answers
2
votes
Simplified CFG
Consider the following grammar$S\rightarrow Aa\mid B $B\rightarrow a\mid BC$C \rightarrow a\mid \in$the no of productions in simplified cfg is
Pooja Palod
3.7k
views
Pooja Palod
asked
Oct 26, 2015
Compiler Design
compiler-design
context-free-grammar
+
–
1.9k
views
1
answers
0
votes
Regular or Context Free Grammar?
Consider the following statement:if (expression) statement else statement Which of the following describe the above statement?A). Regular grammarB). Context free grammarC). Both (A) and (B)D). None of these
prasitamukherjee
1.9k
views
prasitamukherjee
asked
Jul 17, 2015
Compiler Design
compiler-design
regular-grammar
context-free-grammar
+
–
4.2k
views
3
answers
3
votes
Can DPDA accept ambiguous grammars?
Option D is correct. But G is ambiguous. Can DPDA accept G?
prasitamukherjee
4.2k
views
prasitamukherjee
asked
Jun 27, 2015
Theory of Computation
theory-of-computation
context-free-grammar
+
–
381
views
1
answers
1
votes
according to me answer should be 3. give correct explanation.
sumit_62
381
views
sumit_62
asked
Dec 21, 2014
Compiler Design
compiler-design
context-free-grammar
numerical-answers
test-series
+
–
Page:
« prev
1
...
7
8
9
10
11
12
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register