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
Doubt on Kleene Closure on RE
Vishnu_2017
asked
in
Theory of Computation
Oct 21, 2016
retagged
Jun 4, 2017
by
Arjun
633
views
1
vote
1
vote
Hi Experts,
Can anyone please tell me the strings present in regular expression (ab*)*
My doubt is whether (ab*)* can have any combination of the strings in RE ab* like in the following language.
L={a,ab,abb}* = {aab,aabb,abba,ababb,..}
Here abba is obtained by combining abb and a.
Please tell me whether my understanding is right.
Thanks in advance,
VIshnu
regular-expression
theory-of-computation
kleene-closure
Vishnu_2017
asked
in
Theory of Computation
Oct 21, 2016
retagged
Jun 4, 2017
by
Arjun
by
Vishnu_2017
633
views
answer
comment
Follow
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
2
votes
2
votes
(ab*)*
L=(epsilon,a,aa,aaaa,ab,abb,abab,abbbbbbbab,.......)
from outer closure u can get any no of times ab*.....from here u can get any number of b with one a...or even any number of a if we make inner b* as epsilon each time and take outer closure into consideration..
sudsho
answered
Oct 21, 2016
by
sudsho
comment
Follow
share this
4 Comments
by
Vishnu_2017
commented
Oct 21, 2016
reply
Follow
share this
I got the ab* part.What I wanted to know was how do we apply kleene closure to ab*.
ab* = {€,a,ab,abb,..}
Can you please tell me how to apply kleene closure to ab*.i.e.the outer kleene closure.
0
0
by
sudsho
commented
Oct 21, 2016
reply
Follow
share this
suppose if it would have been only (ab)*....then what could be the language...epsilon,ab,abab,ababab....so on
now just put closure on every b....thats it....
any more doubt brother?
0
0
by
sudsho
commented
Oct 21, 2016
reply
Follow
share this
see this u will get the bigger picture
ab*,ab*ab*,ab*ab*ab*,.....
now try to expand each one
say ab*=a,ab,abb,abbbbb...
ab*ab*=aa,aba,abab,abba,...
this way u can do
1
1
by
Pravin Paikrao
commented
Nov 9, 2016
reply
Follow
share this
language starting with a and ending with a or b (including epsilon), right??
0
0
Please
log in
or
register
to add a comment.
← Previous
Next →
← Previous in category
Next in category →
Related questions
1
vote
1
vote
1
answer
1
sushilk
asked
in
Theory of Computation
Jan 25, 2019
1,334
views
on kleene closure and positive closure
if L is any language then $((L^*)^+) = ((L^+)^*)$ $?$ and $(((L^*)^+)^*) = ?$
sushilk
asked
in
Theory of Computation
Jan 25, 2019
by
sushilk
1.3k
views
0
votes
0
votes
0
answers
2
sripo
asked
in
Theory of Computation
Nov 6, 2018
542
views
RE for given FA
The correct regular expression for the below mentioned Finite Automata Do we have to have ca* as C is dead state,does dead state be a part of regular expression? The expression I am gettting is c*a(d*+ba*) as C state is dead state hence no need to consider it.Please Correct me.
sripo
asked
in
Theory of Computation
Nov 6, 2018
by
sripo
542
views
theory-of-computation
finite-automata
regular-expression
regular-language
0
votes
0
votes
0
answers
3
Devshree Dubey
asked
in
Theory of Computation
Aug 15, 2018
1,078
views
RE Ques
Represent the language over ∑={0,1} containing all possible combinations of 0's and 1's but not having two consecutive 0's.
Devshree Dubey
asked
in
Theory of Computation
Aug 15, 2018
by
Devshree Dubey
1.1k
views
regular-expression
theory-of-computation
0
votes
0
votes
2
answers
4
Devshree Dubey
asked
in
Theory of Computation
Aug 15, 2018
2,207
views
RE Ques
Describe in simple English the language represented by the regular expression r=(1+10)*
Devshree Dubey
asked
in
Theory of Computation
Aug 15, 2018
by
Devshree Dubey
2.2k
views
regular-expression
theory-of-computation
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 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:...
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy