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
find all strings of lenght 4 less, for the following regular expression (a*b + b*a)
Hemant jha
asked
in
Theory of Computation
Dec 25, 2022
retagged
Dec 25, 2022
by
makhdoom ghaya
715
views
0
votes
0
votes
theory-of-computation
regular-expression
strings
Hemant jha
asked
in
Theory of Computation
Dec 25, 2022
retagged
Dec 25, 2022
by
makhdoom ghaya
by
Hemant jha
715
views
answer
comment
Follow
share this
share
1 comment
by
raja11sep
commented
Dec 25, 2022
reply
Follow
share this
Length 4 less means?
Please write the question properly.
1
1
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
0
votes
0
votes
if it is less than or equal to then the strings which can be generated are
0 length – 0 strings
1 length – a,b
2 length – ab,ba
3 length – aab,bba
4 length – aaab,bbba
mo7ammedfarooq
answered
Jan 16, 2023
by
mo7ammedfarooq
comment
Follow
share this
0 Comments
Please
log in
or
register
to add a comment.
← Previous
Next →
← Previous in category
Next in category →
Related questions
3
votes
3
votes
1
answer
1
shekhar chauhan
asked
in
Theory of Computation
Apr 19, 2016
5,427
views
find all strings in ((a+b)*b(a+ab)*) of length less then 4.
shekhar chauhan
asked
in
Theory of Computation
Apr 19, 2016
by
shekhar chauhan
5.4k
views
theory-of-computation
regular-expression
regular-language
1
vote
1
vote
1
answer
2
M_Umair_Khan42900
asked
in
Theory of Computation
Dec 29, 2022
2,087
views
Write regular expression to denote a language L a) String which begin or end with either 00 or 11. b) The set of all strings, when viewed as binary representation of integers, that are divisible by 2. c) The set of all strings containing 00. d) String not containing the substring 110.
M_Umair_Khan42900
asked
in
Theory of Computation
Dec 29, 2022
by
M_Umair_Khan42900
2.1k
views
theory-of-computation
regular-expression
finite-automata
pushdown-automata
minimal-state-automata
computer
3
votes
3
votes
2
answers
3
im.raj
asked
in
Theory of Computation
Jun 16, 2016
20,533
views
Write regular expression to denote a language L which accepts all the strings which begin or end with either 00 or 11
im.raj
asked
in
Theory of Computation
Jun 16, 2016
by
im.raj
20.5k
views
theory-of-computation
regular-expression
peter-linz
1
vote
1
vote
1
answer
4
Purple
asked
in
Theory of Computation
Jan 28, 2016
14,714
views
Regular expression for all strings starts with ab and ends with bba is.
Regular expression for all strings starts with ab and ends with bba is. a) aba*b*bba b) ab(ab)*bba c) ab(a+b)*bba d) All of the mentioned Doubt: starting with 'ab' and ending with 'bba', so 'abba' should also be accepted right?
Purple
asked
in
Theory of Computation
Jan 28, 2016
by
Purple
14.7k
views
regular-expression
theory-of-computation
finite-automata
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