1
You visited us
1
times! Enjoying our articles?
Unlock Full Access!
Byju's Answer
Consider the ...
Question
Consider the following language:
L
=
{
x
ϵ
{
a
,
b
}
∗
∣
n
u
m
b
e
r
o
f
a
′
s
i
n
x
i
s
d
i
v
i
s
i
b
l
e
b
y
2
b
u
t
n
o
t
d
i
v
i
s
i
b
l
e
b
y
3
}
The minimum number of states in a DFA that accepts L is
Open in App
Solution
The minimum number of states in a DFA that accepts:
L
=
{
x
ϵ
{
a
,
b
}
∗
∣
n
u
m
b
e
r
o
f
a
′
s
i
s
d
i
v
i
s
i
b
l
e
b
y
2
b
u
t
n
o
t
d
i
v
i
s
i
b
l
e
b
y
3
}
is 6 states as shown below:
(or) alternatively it can be designed by taking a product automata of
L
=
{
x
ϵ
{
a
,
b
}
∗
∣
n
u
m
b
e
r
o
f
a
′
s
d
i
v
i
s
i
b
l
e
b
y
2
}
and
L
2
=
{
x
ϵ
{
a
,
b
}
∗
∣
n
u
m
b
e
r
o
f
a
′
s
n
o
t
d
i
v
i
s
i
b
l
e
b
y
3
}
as shown below:
Minimum DFA for
L
1
:
Minimum DFA for
L
2
:
Product automata
L
1
∩
L
2
having six states, shown below:
Which is same as our directly designed machine with 6 states.
Suggest Corrections
0
Similar questions
Q.
Consider a DFA over
∑
= {a, b}
accepting all strings which have number
of a's divisible by 6 and number of b's
divisible by 8. What is the minimum
numberof states that the DFA will have?
Q.
Consider the language L given by the regular expression
(
a
+
b
)
∗
b
(
a
+
b
)
over the alphabet
{
a
,
b
}
. The smallest number of states needed in a deterministic finite-state automaton (DFA) accepting L is
Q.
Consider the DFAs M and N given above. The number of states in a minimal DFA that accpets the language
L
(
M
)
∩
L
(
N
)
is
Q.
The number of states in the minimum sized DFA that accepts the language defined by the regular expression
(
0
+
1
)
∗
(
0
+
1
)
(
0
+
1
)
∗
is
Q.
Let
L
⊆
{
0
,
1
}
∗
be an arbitrary regular language accepted by a minimal DFA with k states. Which one of the following languages must necessarily be accepted by a minimal DFA with k states?
View More
Join BYJU'S Learning Program
Grade/Exam
1st Grade
2nd Grade
3rd Grade
4th Grade
5th Grade
6th grade
7th grade
8th Grade
9th Grade
10th Grade
11th Grade
12th Grade
Submit
Related Videos
Evolutionary Relationships_Tackle
Watch in App
Join BYJU'S Learning Program
Grade/Exam
1st Grade
2nd Grade
3rd Grade
4th Grade
5th Grade
6th grade
7th grade
8th Grade
9th Grade
10th Grade
11th Grade
12th Grade
Submit
AI Tutor
Textbooks
Question Papers
Install app