Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged regular-grammar
2
votes
4
answers
61
grammer in compiler design
Which of the following is the most general phase-structured grammar? (a) regular (b) context-free (c) context-sensitive (d) none of the above
Which of the following is the most general phase-structured grammar?(a) regular (b) context-free(c) context-sensitive (d) none of the above
vkm07
1.6k
views
vkm07
asked
Jul 31, 2016
Compiler Design
compiler-design
context-free-grammar
regular-grammar
context-sensitive
+
–
4
votes
2
answers
62
grammer in compiler design
Which of the following grammars are not phase-structured? (a) regular (b) context-free (c) context-sensitive (d) none of the above
Which of the following grammars are not phase-structured?(a) regular (b) context-free(c) context-sensitive (d) none of the above
vkm07
5.6k
views
vkm07
asked
Jul 28, 2016
Compiler Design
compiler-design
context-free-grammar
regular-grammar
context-sensitive
+
–
2
votes
1
answer
63
grammer in compiler design
If a is a terminal and S, A, B are three non-terminals, then which of the following are regular grammars? (a) S → ε, A → aS|b (b) A → aB|a, B → bA|b (c) A → Ba|Bab (d) A → abB|aB
If a is a terminal and S, A, B are three non-terminals, then which of the following are regular grammars?(a) S → ε, A → aS|b(b) A → aB|a, B → bA|b(c) A → Ba|Ba...
vkm07
3.7k
views
vkm07
asked
Jul 23, 2016
Compiler Design
compiler-design
regular-grammar
+
–
7
votes
2
answers
64
Convert RE to Left Linear Grammer
How to convert a Regular Expression to Left Linear Grammar ? Eg : (0+1)*00(0+1)*
How to convert a Regular Expression to Left Linear Grammar ?Eg : (0+1)*00(0+1)*
pC
6.6k
views
pC
asked
Jul 23, 2016
Theory of Computation
regular-expression
regular-grammar
+
–
4
votes
2
answers
65
UGC NET CSE | September 2013 | Part 3 | Question: 17
A regular grammar for the language $L= \{a^nb^m \mid \text{ n is even and m is even } \}$ is given by $S \rightarrow aSb \mid S_1; S_1 \rightarrow bS_1a \mid \lambda$ ... $S \rightarrow aSb \mid S_1;S_1 \rightarrow S_1ab \mid \lambda$ $S \rightarrow aaS \mid S_1;S_1 \rightarrow bbS_1 \mid \lambda$
A regular grammar for the language $L= \{a^nb^m \mid \text{ n is even and m is even } \}$ is given by$S \rightarrow aSb \mid S_1; S_1 \rightarrow bS_1a \mid \lambda$$S \...
go_editor
4.5k
views
go_editor
asked
Jul 22, 2016
Theory of Computation
ugcnetcse-sep2013-paper3
theory-of-computation
regular-grammar
+
–
1
votes
1
answer
66
UGC NET CSE | June 2014 | Part 2 | Question: 10
The regular grammar for the language L= { $w\mid n_{a}$(w) and $n_{b} (w)$ are both even, $w \in \left\{a, b\right\}$ * } is given by : (Assume, $p, q, r$ and $s$ ... $p$ is both initial and final states.
The regular grammar for the language L= { $w\mid n_{a}$(w) and $n_{b} (w)$ are both even, $w \in \left\{a, b\right\}$ * } is given by : (Assume, $p, q, r$ and $s$ are sta...
makhdoom ghaya
2.6k
views
makhdoom ghaya
asked
Jun 24, 2016
Theory of Computation
ugcnetcse-june2014-paper2
theory-of-computation
regular-grammar
+
–
7
votes
1
answer
67
Can Regular Grammar be ambiguous ?
Aditya
8.9k
views
Aditya
asked
Aug 6, 2015
Compiler Design
compiler-design
regular-grammar
ambiguous
+
–
0
votes
1
answer
68
Regular or Context Free Grammar?
Consider the following statement: if (expression) statement else statement Which of the following describe the above statement? A). Regular grammar B). Context free grammar C). Both (A) and (B) D). None of these
Consider the following statement:if (expression) statement else statement Which of the following describe the above statement?A). Regular grammarB). Context free grammarC...
prasitamukherjee
1.8k
views
prasitamukherjee
asked
Jul 17, 2015
Compiler Design
compiler-design
regular-grammar
context-free-grammar
+
–
54
votes
13
answers
69
GATE CSE 2015 Set 2 | Question: 35
Consider the alphabet $\Sigma = \{0, 1\}$, the null/empty string $\lambda$ and the set of strings $X_0, X_1, \text{ and } X_2$ generated by the corresponding non-terminals of a regular grammar. $X_0, X_1, \text{ and } X_2$ are related as follows. $X_0 = 1 X_1$ $X_1 = 0 X_1 + 1 X_2$ ... $10(0^*+(10)^*)1$ $10(0^*+(10)^*)^*1$ $1(0+10)^*1$ $10(0+10)^*1 +110(0+10)^*1$
Consider the alphabet $\Sigma = \{0, 1\}$, the null/empty string $\lambda$ and the set of strings $X_0, X_1, \text{ and } X_2$ generated by the corresponding non-terminal...
go_editor
18.9k
views
go_editor
asked
Feb 12, 2015
Theory of Computation
gatecse-2015-set2
theory-of-computation
regular-grammar
normal
+
–
40
votes
2
answers
70
GATE IT 2006 | Question: 29
Consider the regular grammar below $S \rightarrow bS \mid aA \mid \epsilon $ $A \rightarrow aS \mid bA$ ... $\{\epsilon\},\{wa \mid w \in (a + b)^* \text{and} \{wb \mid w \in (a + b)^*\}$
Consider the regular grammar below$S \rightarrow bS \mid aA \mid \epsilon $$A \rightarrow aS \mid bA$ The Myhill-Nerode equivalence classes for the language generated by ...
Ishrat Jahan
9.9k
views
Ishrat Jahan
asked
Oct 31, 2014
Theory of Computation
gateit-2006
theory-of-computation
normal
regular-grammar
+
–
Page:
« prev
1
2
3
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register