Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged conjunctive-normal-form
1
1 vote
0
0 answers
646
646 views
Self doubt about CFG to CNF conversion.
I am still having some doubts when it comes to Context-Free Grammar to Chomsky Normal Form conversion. Here is what I did for the following CFG: $S \rightarrow bXb \ |\ b...
HenryAsks21
646
views
asked
May 2, 2022
Theory of Computation
theory-of-computation
conjunctive-normal-form
+
–
0
0 votes
0
0 answers
497
497 views
Ullman (Compiler Design) Edition 2 Exercise 4.4 Question 8 (Page No. 232)
A grammar is said to be in Chomsky Normal Form (CNF) if every production is either of the form $A\rightarrow BC$ or of the form $A\rightarrow a$, where $A, B$, and $C$ ar...
admin
497
views
asked
Aug 20, 2019
Compiler Design
ullman
compiler-design
conjunctive-normal-form
grammar
descriptive
+
–
0
0 votes
0
0 answers
700
700 views
Ullman (Compiler Design) Edition 2 Exercise 4.4 Question 5 (Page No. 231 - 232)
The grammar $S\rightarrow a\:S\:a \mid \:a\: a$ generates all even-length strings of $a's$. We can devise a recursive-descent parser with backtrack for this grammar. If w...
admin
700
views
asked
Aug 20, 2019
Compiler Design
ullman
compiler-design
conjunctive-normal-form
recursive-descent-parser
descriptive
+
–
0
0 votes
1
1 answer
933
933 views
Michael Sipser Edition 3 Exercise 2 Question 35 (Page No. 157)
Let $G$ be a $CFG$ in Chomsky normal form that contains $b$ variables$.$ Show that if $G$ generates some string with a derivation having at least $2^{b}$ steps$, L(G)$ is...
admin
933
views
asked
May 4, 2019
Theory of Computation
michael-sipser
theory-of-computation
context-free-language
conjunctive-normal-form
proof
+
–
1
1 vote
1
1 answer
848
848 views
Michael Sipser Edition 3 Exercise 2 Question 26 (Page No. 157)
Show that if $G$ is a $CFG$ in Chomsky normal form$,$ then for any string $w\in L(G)$ of length $n\geq 1,$ exactly $2n − 1$ steps are required for any derivation of $w.$
admin
848
views
asked
May 4, 2019
Theory of Computation
michael-sipser
theory-of-computation
context-free-grammar
conjunctive-normal-form
proof
+
–
0
0 votes
1
1 answer
2.6k
2.6k views
Michael Sipser Edition 3 Exercise 2 Question 14 (Page No. 156)
Convert the following $\text{CFG}$ into an equivalent $\text{CFG}$ in Chomsky normal form,using the procedure given in $\text{Theorem 2.9.}$$A\rightarrow BAB \mid B \mid ...
admin
2.6k
views
asked
May 4, 2019
Theory of Computation
michael-sipser
theory-of-computation
context-free-grammar
conjunctive-normal-form
+
–
7
7 votes
1
1 answer
37.2k
37.2k views
CONVERT CFG TO GNF
S→ ABA→ BS|bB→ SA|a INTO GNF
Menon Karthik
37.2k
views
asked
Dec 14, 2018
Theory of Computation
gnf
conjunctive-normal-form
theory-of-computation
context-free-language
+
–
0
0 votes
1
1 answer
1.8k
1.8k views
UGC NET CSE | July 2018 | Part 2 | Question: 35
To obtain a string of n Terminals from a given Chomsky normal from grammar, the number of productions to be used is$2n-1$$2n$$n+1$$n^2$
Pooja Khatri
1.8k
views
asked
Jul 13, 2018
Theory of Computation
ugcnetcse-july2018-paper2
theory-of-computation
conjunctive-normal-form
+
–
0
0 votes
0
0 answers
1.7k
1.7k views
what is cnf for following grammer ?
Eliminate ε productions, unit productions, useless symbols and then rewrite the resulting grammar in the Chomsky Normal Form (in that order) for the following two input g...
hem chandra joshi
1.7k
views
asked
Apr 10, 2018
Theory of Computation
theory-of-computation
conjunctive-normal-form
+
–
3
3 votes
1
1 answer
4.3k
4.3k views
CFG to GNF
Convert the given CFG to GNF.$S \rightarrow MN$$M\rightarrow aMb|\epsilon $$N\rightarrow aNb|\epsilon $
Mk Utkarsh
4.3k
views
asked
Mar 25, 2018
Theory of Computation
theory-of-computation
context-free-language
conjunctive-normal-form
gnf
+
–
1
1 vote
1
1 answer
1.1k
1.1k views
Explain This
Every grammar in Chomsky normal form is context-free, and conversely, every context-free grammar can be transformed into an equivalent one[note 1] which is in Chomsky nor...
Anshul Shankar
1.1k
views
asked
Jan 22, 2018
Theory of Computation
theory-of-computation
conjunctive-normal-form
+
–
1
1 vote
2
2 answers
5.7k
5.7k views
Chomskey Normal Form
State true/falseIn CNF , S- espilon and Start symbol can appear on RHS side of production.
Anjan
5.7k
views
asked
Jan 1, 2018
Theory of Computation
theory-of-computation
conjunctive-normal-form
+
–
0
0 votes
0
0 answers
1.3k
1.3k views
Chomsky Normal Form
Sanjay Sharma
1.3k
views
asked
Dec 10, 2017
Theory of Computation
theory-of-computation
context-free-grammar
conjunctive-normal-form
+
–
0
0 votes
1
1 answer
1.7k
1.7k views
Ullman--Chomsky Normal Form
If the start symbol derives epsilon.Can we eliminate all epsilons while converting to Chomsky Normal Form?Following question from ullman the answer given they have remove...
Surajit
1.7k
views
asked
Nov 25, 2017
Theory of Computation
theory-of-computation
context-free-grammar
conjunctive-normal-form
+
–
1
1 vote
1
answers
1 answer
2.6k
2.6k views
How many variables does the following grammar have when converted to CNF?
E - E+TE - TT - (E)T - i
gari
2.6k
views
asked
Nov 18, 2017
Theory of Computation
conjunctive-normal-form
theory-of-computation
+
–
1
1 vote
0
0 answers
8.1k
8.1k views
Automata: CFG to CNF
As the null string belongs to the language generated by the grammar, answer of the following questions should be "none of these"?
Manu Thakur
8.1k
views
asked
Oct 29, 2017
Theory of Computation
theory-of-computation
conjunctive-normal-form
+
–
1
1 vote
0
0 answers
5.7k
5.7k views
Automata: Conversion from CFG to CNF
Convert the following context free grammar into Chomsky Normal Form:$S \rightarrow ASA | aB$$A \rightarrow B | S$$B \rightarrow b | \epsilon$Does the appearance of start...
Manu Thakur
5.7k
views
asked
Oct 13, 2017
Theory of Computation
theory-of-computation
context-free-language
conjunctive-normal-form
simplification
+
–
1
1 vote
0
0 answers
2.0k
2.0k views
CNF and GNF
Given answer is (a) but L->AB i think it is wrong because A and B produce something else Previously, so instead of L->AB there would have given like L->MN M->c1 and N->S ...
learner_geek
2.0k
views
asked
Aug 5, 2017
Compiler Design
theory-of-computation
context-free-language
discrete-mathematics
derivation-tree
conjunctive-normal-form
+
–
1
1 vote
0
0 answers
5.7k
5.7k views
CNF and GNF
Is it mandatory in GNF that first element in production must be terminal(I am considering there is no Left recursion)Is it mandatory in CNF that in production only two no...
learner_geek
5.7k
views
asked
Aug 5, 2017
Theory of Computation
theory-of-computation
derivation-tree
context-free-language
conjunctive-normal-form
+
–
3
3 votes
1
1 answer
1.5k
1.5k views
Raghunath Tiwari(NPTEL NOC Chomsky Normal Form)
S->ASBA->aASA | a | ϵB->SbS | A | bbConvert this grammar into Chomsky Normal Form
Veeplob Singh
1.5k
views
asked
Jul 3, 2017
Theory of Computation
theory-of-computation
context-free-grammar
conjunctive-normal-form
grammar
+
–
1
1 vote
2
answers
2 answers
1.3k
1.3k views
Test by Bikram | Mock GATE | Test 2 | Question: 42
The Conjunctive Normal form of a formula $F$ is$(P \vee Q \vee P) \wedge (P \vee Q \vee Q) \wedge (¬P \vee ¬Q \vee ¬P) \wedge (¬P \vee ¬Q \vee ¬Q)$. where, $\we...
Bikram
1.3k
views
asked
Jan 24, 2017
GATE
tbb-mockgate-2
discrete-mathematics
mathematical-logic
propositional-logic
conjunctive-normal-form
+
–
2
2 votes
2
2 answers
3.3k
3.3k views
[TOC] CNF Tree Depth
1. Assume that we have CNF tree of depth of h(Assume root at height 0).What is the maximum yeild possible in terms of h?2. Assume that we have a string of length n,what i...
rahul sharma 5
3.3k
views
asked
Jan 12, 2017
Theory of Computation
theory-of-computation
context-free-language
conjunctive-normal-form
derivation-tree
+
–
0
0 votes
2
2 answers
2.0k
2.0k views
TOC CFG to CNF convertion
KISHALAY DAS
2.0k
views
asked
Dec 10, 2016
Theory of Computation
theory-of-computation
context-free-language
conjunctive-normal-form
+
–
1
1 vote
0
0 answers
502
502 views
#sipser book
Can ambiguous context free grammar be converted into CNF form..?
Abhishekcs10
502
views
asked
Sep 14, 2016
Theory of Computation
context-free-grammar
conjunctive-normal-form
+
–
70
70 votes
7
answers
7 answers
26.2k
26.2k views
GATE CSE 2007 | Question: 48
Which of the following is TRUE about formulae in Conjunctive Normal Form?For any formula, there is a truth assignment for which at least half the clauses evaluate to true...
Kathleen
26.2k
views
asked
Sep 21, 2014
Digital Logic
gatecse-2007
digital-logic
normal
conjunctive-normal-form
canonical-normal-form
+
–
To see more, click for the
full list of questions
or
popular tags
.