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 regular-grammar
0
votes
1
answer
1
Regular grammar
Çșȇ ʛấẗẻ
asked
in
Theory of Computation
Nov 22, 2023
by
Çșȇ ʛấẗẻ
183
views
theory-of-computation
regular-grammar
finite-automata
0
votes
1
answer
2
Give a regular expression for L = {a^nb^m: n ≥ 1,m ≥ 1,nm ≥ 3}.
Rahhhhhul
asked
in
Theory of Computation
Jun 12, 2023
by
Rahhhhhul
819
views
regular-expression
regular-language
regular-grammar
theory-of-computation
0
votes
1
answer
3
Regular expression Theory of Computation
Answer this
Snehil01
asked
in
Theory of Computation
May 27, 2023
by
Snehil01
463
views
theory-of-computation
regular-expression
regular-grammar
0
votes
0
answers
4
PDA | TOC | Practice Question
Identify the type of the given language and draw the corresponding automata for the language. $L=\left \{a^{i}b^{j}c^{k} \space\ | \space\ j=max(i,k) \right \}$ A] Regular B] DCFL C] CFL but not DCFL D] Non-CFL Please describe your selection.
anupamsworld
asked
in
Theory of Computation
Sep 2, 2022
by
anupamsworld
527
views
regular-grammar
context-free-grammar
npda
dpda
theory-of-computation
2
votes
2
answers
5
KTU University Exam 2021
Let r1=(0+1)*, r2=0*1+10*+0*+1*. What is the length of the smallest string that is present in language corresponds to regular expression r1 and not present in language corresponds to regular expression r2. 2 3 1 none of the above
Ash666
asked
in
Theory of Computation
Sep 12, 2021
by
Ash666
1.3k
views
theory-of-computation
regular-expression
regular-language
regular-grammar
2
votes
2
answers
6
Conversion of regular grammar to FA
A->aB/bA/b B->aC/bB C->aA/bC/a If the above regular grammar is converted into DFA then how many final states will be there? According to me there should be 2 final states: A and C But the resource from where I am reading it says only one final state will be there which will be A. Kindly explain.
Akash Kumar Roy
asked
in
Theory of Computation
Jun 3, 2019
by
Akash Kumar Roy
4.5k
views
theory-of-computation
finite-automata
regular-grammar
0
votes
0
answers
7
Peter Linz Edition 4 Exercise 5.2 Question 11 (Page No. 145)
Is it possible for a regular grammar to be ambiguous?
Naveen Kumar 3
asked
in
Theory of Computation
Apr 14, 2019
by
Naveen Kumar 3
151
views
peter-linz
peter-linz-edition4
theory-of-computation
regular-grammar
ambiguous
1
vote
0
answers
8
Peter Linz Edition 4 Exercise 3.3 Question 17 (Page No. 97)
Let $G_1 = (V_1,Σ,S_1,P_1)$ be right-linear and $G_2= (V_2, Σ,S_2,P_2)$ be a left-linear grammar, and assume that $V_1$ and $V_2$ are disjoint. Consider the linear grammar $G =(${$S$}$ ∪ V_1 ∪ V_2, Σ,S, P)$, where $S$ is not in $V_1 ∪ V_2$ and $P =$ {$S → S_1|S_2$}$ ∪ P_1 ∪ P_2$. Show that $L(G)$ is regular.
Naveen Kumar 3
asked
in
Theory of Computation
Apr 3, 2019
by
Naveen Kumar 3
190
views
peter-linz
peter-linz-edition4
theory-of-computation
regular-grammar
0
votes
2
answers
9
Peter Linz Edition 4 Exercise 3.3 Question 15 (Page No. 97)
Show that any regular grammar $G$ for which $L (G) ≠ Ø$ must have at least one production of the form $A → x$ where $A ∈ V$ and $x ∈ T^ *$.
Naveen Kumar 3
asked
in
Theory of Computation
Apr 3, 2019
by
Naveen Kumar 3
356
views
peter-linz
peter-linz-edition4
theory-of-computation
regular-grammar
0
votes
0
answers
10
Peter Linz Edition 4 Exercise 3.3 Question 14 (Page No. 97)
Show that for every regular language not containing $λ$ there exists a right-linear grammar whose productions are restricted to the forms $A → aB$, or $A → a$, where $A, B ∈ V,$ and $a ∈ T$
Naveen Kumar 3
asked
in
Theory of Computation
Apr 3, 2019
by
Naveen Kumar 3
234
views
peter-linz
peter-linz-edition4
theory-of-computation
regular-grammar
0
votes
0
answers
11
Peter Linz Edition 4 Exercise 3.3 Question 13 (Page No. 97)
Find regular grammars for the following languages on {$ a, b$}. (a) $L=${$w:n_a(w)$ and $n_b(w)$ are both even}. (b) $L=${$w:(n_a(w)$ - $n_b(w))$ mod $3=1$}. (c) $L=${$w:(n_a(w)$ - $n_b(w))$ mod $3\neq1$}. (d) $L=${$w:(n_a(w)$ - $n_b(w))$ mod $3\neq0$}. (e) $L=${$w:|n_a(w)$ - $n_b(w)|$ is odd}.
Naveen Kumar 3
asked
in
Theory of Computation
Apr 3, 2019
by
Naveen Kumar 3
222
views
peter-linz
peter-linz-edition4
theory-of-computation
regular-grammar
0
votes
0
answers
12
Peter Linz Edition 4 Exercise 3.3 Question 12 (Page No. 97)
Find a regular grammar that generates the language $L=$ {$w∈$ {$a,b$}$^*:n_a(w)+3n_b(w)$ is even } .
Naveen Kumar 3
asked
in
Theory of Computation
Apr 3, 2019
by
Naveen Kumar 3
156
views
peter-linz
peter-linz-edition4
theory-of-computation
regular-grammar
0
votes
0
answers
13
Peter Linz Edition 4 Exercise 3.3 Question 11 (Page No. 97)
Find a regular grammar for the language $L =$ {$a^nb^m : n + m$ is even}.
Naveen Kumar 3
asked
in
Theory of Computation
Apr 3, 2019
by
Naveen Kumar 3
170
views
peter-linz
peter-linz-edition4
theory-of-computation
regular-grammar
0
votes
0
answers
14
Peter Linz Edition 4 Exercise 3.3 Question 10 (Page No. 97)
Find a left-linear grammar for the language $L ((aab^*ab)^*).$
Naveen Kumar 3
asked
in
Theory of Computation
Apr 3, 2019
by
Naveen Kumar 3
154
views
peter-linz
peter-linz-edition4
theory-of-computation
regular-grammar
0
votes
0
answers
15
Peter Linz Edition 4 Exercise 3.3 Question 7 (Page No. 97)
Find a regular grammar that generates the language on $Σ =$ {$a, b$} consisting of all strings with no more than three $a$'s.
Naveen Kumar 3
asked
in
Theory of Computation
Apr 3, 2019
by
Naveen Kumar 3
158
views
peter-linz
peter-linz-edition4
theory-of-computation
regular-grammar
0
votes
1
answer
16
Peter Linz Edition 4 Exercise 3.3 Question 5 (Page No. 96)
Find a left-linear grammar for the language accepted by the nfa below.
Naveen Kumar 3
asked
in
Theory of Computation
Apr 3, 2019
by
Naveen Kumar 3
479
views
peter-linz
peter-linz-edition4
theory-of-computation
regular-grammar
0
votes
0
answers
17
Peter Linz Edition 4 Exercise 3.3 Question 4 (Page No. 96)
Construct right- and left-linear grammars for the language $L =$ {$a^nb^m : n ≥ 2, m ≥ 3$}.
Naveen Kumar 3
asked
in
Theory of Computation
Apr 3, 2019
by
Naveen Kumar 3
200
views
peter-linz
peter-linz-edition4
theory-of-computation
regular-grammar
0
votes
0
answers
18
Peter Linz Edition 4 Exercise 3.3 Question 3 (Page No. 96)
Construct a left-linear grammar for the language generated by the grammar $S → abA,$ $A → baB,$ $B → aA|bb.$
Naveen Kumar 3
asked
in
Theory of Computation
Apr 3, 2019
by
Naveen Kumar 3
191
views
peter-linz
peter-linz-edition4
theory-of-computation
regular-grammar
0
votes
0
answers
19
Peter Linz Edition 4 Exercise 3.3 Question 2 (Page No. 96)
Find a regular grammar that generates the language $L (aa^* (ab+ a)^*)$ .
Naveen Kumar 3
asked
in
Theory of Computation
Apr 3, 2019
by
Naveen Kumar 3
198
views
peter-linz
peter-linz-edition4
theory-of-computation
regular-grammar
0
votes
0
answers
20
Peter Linz Edition 4 Exercise 3.3 Question 1 (Page No. 96)
Construct a dfa that accepts the language generated by the grammar $S → abA, A → baB, B → aA|bb$ .
Naveen Kumar 3
asked
in
Theory of Computation
Apr 3, 2019
by
Naveen Kumar 3
219
views
peter-linz
peter-linz-edition4
theory-of-computation
regular-grammar
2
votes
1
answer
21
Peter Linz Edition 4 Exercise 3.1 Question 5 (Page No. 75)
what is the regular grammar for L={$a^nb^m$ | n+m is even}
aditi19
asked
in
Theory of Computation
Feb 24, 2019
by
aditi19
938
views
theory-of-computation
peter-linz
peter-linz-edition4
finite-automata
regular-language
regular-expression
regular-grammar
1
vote
0
answers
22
Peter Linz Edition 4 Exercise 3.3 Question 6 (Page No. 97)
Construct a right linear grammar for the language $L((aab^*ab)^*)$ is this grammar correct? S->aaA | ε A->bA | abA | S
aditi19
asked
in
Theory of Computation
Feb 24, 2019
by
aditi19
513
views
theory-of-computation
peter-linz
peter-linz-edition4
finite-automata
regular-language
regular-grammar
0
votes
1
answer
23
Practice Question
How to prove that $ (a+b)^*ab(a+b)^*+b^*a^* = (a+b)^*$
Hardik Maheshwari
asked
in
Theory of Computation
Jan 14, 2019
by
Hardik Maheshwari
368
views
theory-of-computation
regular-expression
regular-language
regular-grammar
0
votes
1
answer
24
Doubt UGC NET
https://gateoverflow.in/13365/ugcnet-dec2014-iii-24 i’ve a small doubt in the solution of this question how is (a+b)*ba(a+b)* complement of the given language?
aditi19
asked
in
Theory of Computation
Dec 14, 2018
by
aditi19
962
views
regular-language
regular-grammar
query
1
vote
1
answer
25
Self doubt about relation between regular and linear grammar
If a grammar G is both left linear as well as right linear then,what should be the case a) G is always not regular b) G may or may not be regular c) something else
Abbas Ahmad
asked
in
Theory of Computation
Nov 30, 2018
by
Abbas Ahmad
415
views
theory-of-computation
regular-grammar
finite-automata
0
votes
1
answer
26
Are these two languages equal?
L1=ab* L2=a(aa)*b(bb)* Are the languages equal if not what relation do they satisfy?
sripo
asked
in
Theory of Computation
Nov 6, 2018
by
sripo
572
views
theory-of-computation
regular-language
regular-grammar
0
votes
1
answer
27
This question is taken from a sample paper
Consider the following grammar G. Is this regular? S →EF E → a|∈ F → abF|ac
Piyush Agarwal 1
asked
in
Theory of Computation
Nov 3, 2018
by
Piyush Agarwal 1
229
views
finite-automata
regular-language
regular-grammar
0
votes
1
answer
28
I came across this in a test paper
Consider the following grammar G. Is this regular? S →EF E → a|∈ F → abF|ac
Piyush Agarwal 1
asked
in
Theory of Computation
Nov 3, 2018
by
Piyush Agarwal 1
208
views
regular-grammar
regular-language
finite-automata
Page:
1
2
3
next »
Subscribe to GATE CSE 2024 Test Series
Subscribe to GO Classes for GATE CSE 2024
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
Post GATE 2024 Guidance [Counseling tips and resources]
GATE CSE 2024 Result Responses
[Project Contest] Pytorch backend support for MLCommons Cpp Inference implementation
Participating in MLCommons Inference v4.0 submission (deadline is February 23 12pm IST)
IIITH PGEE 2024 Test Series by GO Classes
Subjects
All categories
General Aptitude
(3.5k)
Engineering Mathematics
(10.4k)
Digital Logic
(3.6k)
Programming and DS
(6.2k)
Algorithms
(4.8k)
Theory of Computation
(6.9k)
Compiler Design
(2.5k)
Operating System
(5.2k)
Databases
(4.8k)
CO and Architecture
(4.0k)
Computer Networks
(4.9k)
Artificial Intelligence
(79)
Machine Learning
(48)
Data Mining and Warehousing
(25)
Non GATE
(1.4k)
Others
(2.7k)
Admissions
(684)
Exam Queries
(1.6k)
Tier 1 Placement Questions
(17)
Job Queries
(80)
Projects
(11)
Unknown Category
(870)
64.3k
questions
77.9k
answers
244k
comments
80.0k
users
Recent questions tagged regular-grammar
Recent Blog Comments
category ?
Hi @Arjun sir, I have obtained a score of 591 in ...
download here
Can you please tell about IIT-H mtech CSE self...
Please add your admission queries here:...