1
You visited us
1
times! Enjoying our articles?
Unlock Full Access!
Byju's Answer
Definition of...
Question
Definition of a language L with alphabet {a} is given as follows:
L
=
{
a
n
k
∣
k
>
0
,
a
n
d
n
i
s
a
p
o
s
i
t
i
v
e
i
n
t
e
g
e
r
c
o
n
s
t
a
n
t
}
.
What is the minimum number of states needed in a dfa to recognize L?
Open in App
Solution
Let n = 3(say)
then L =
{
a
3
k
∣
k
>
0
}
=
{
a
3
k
∣
k
≥
1
}
The dfa for this will be
which has 4 states.
Similarly for
L
=
{
a
n
k
∣
k
>
0
}
, we will need n + 1 states.
Suggest Corrections
0
Similar questions
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.
Let L be the language represented by the regular expression
∑
∗
0011
∑
∗
where
∑
=
{
0
,
1
}
. What is the minimum number of states in a DFA that recognizes
¯
¯¯
¯
L
(complement of L) ?
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.
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?
Q.
Given a language L, define
L
i
as follows:
L
0
=
{
ϵ
}
L
i
=
L
i
−
1
⋅
L
f
o
r
a
l
l
i
>
0
The order of a language L is defined as the smallest k such that
L
k
=
L
k
+
1
Consider the language
L
1
(over alphabet 0) accepted by the following automaton.
The order of
L
1
is
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
Salts
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