Problems DFA _ PDF _ String (Computer Science)
Problems DFA _ PDF _ String (Computer Science)
Problem-01:
Draw a DFA for the language accepting strings starting with ‘ab’ over input alphabets ∑ =
{a, b}
Solution-
Step-01:
It suggests that minimized DFA will have 4 states.
Step-02:
ab
aba
abab
Step-03:
Problem-02:
Draw a DFA for the language accepting strings starting with ‘a’ over input alphabets ∑ = {a,
b}
Solution-
Step-01:
Step-03:
Problem-03:
Draw a DFA for the language accepting strings starting with ‘101’ over input alphabets ∑ =
{0, 1}
Solution-
Step-01:
Step-02:
101
1011
10110
101101
Step-03:
Problem-04:
Draw a DFA that accepts a language L over input alphabets ∑ = {0, 1} such that L is the set
of all strings starting with ’00’.
Solution-
Step-01:
Step-02:
Step-03:
Problem-05:
Construct a DFA that accepts a language L over input alphabets ∑ = {a, b} such that L is
the set of all strings starting with ‘aa’ or ‘bb’.
Solution-
Step-01:
Step-02:
aa
aaa
aaaa
bb
bbb
bbbb
Step-03:
Problem-06:
Construct a DFA that accepts a language L over input alphabets ∑ = {a, b} such that L is
the set of all strings starting with ‘aba’.
Solution-
Step-01:
Step-02:
Step-03:
Document 12 pages
Document 7 pages
Document 10 pages
Document 23 pages
Document 6 pages
Document 34 pages
Document 23 pages
Engineering Mathematics-III Important University Questions Unit-I Fourier Series Two Marks
veludeepa
100% (10)
Document 18 pages
Document 10 pages
Document 10 pages
DFA Diagrams
sam4ets
No ratings yet
Document 27 pages
Document 22 pages
Loops in C
Dr-Samson Chepuri
No ratings yet
Show more
Invite friends
Documents
Language: English Copyright © 2024 Scribd Inc.