Examples of DFA
Example 1: Draw a DFA for the language accepting strings ending with β0β over input alphabets β={0, 1} ?
Solution:

Example 2: Draw a DFA for the language accepting strings ending with β01β over input alphabets β={0, 1} ?
Solution:
Example 3: Draw a DFA for the language accepting strings ending with β00β over input alphabets β={0, 1} ?
Solution:

Example 4: Draw a DFA for the language accepting strings ending with β011β over input alphabets β = {0, 1} ?
Solution:

Example 5: Draw a DFA for the language accepting strings ending with β0110β over input alphabets β = {0, 1} ?
Solution:

Example 6: Draw a DFA for the language accepting strings ending with β0011β over input alphabets β = {0, 1} ?
Solution:

Example 7: Draw a DFA for the language accepting strings with β0β only over input alphabets β={0, 1} ?
Solution:

Example 8: Draw a DFA for the language accepting strings with β0β and β1β only over input alphabets β={0, 1} ?
Solution:

Example 9: Draw a DFA for the language accepting strings starting with β0β over input alphabets β={0, 1} ?
Solution:

Example 10: Draw a DFA for the language accepting strings starting with β01β over input alphabets β={0, 1} ?
Solution:

Example 11: Draw a DFA for the language accepting strings starting with β00β over input alphabets β={0, 1} ?
Solution:

Example 12: Draw a DFA for the language accepting strings starting with β011β over input alphabets β = {0, 1} ?
Solution:

Example 13: Draw a DFA for the language accepting strings starting with β0110β over input alphabets β = {0, 1} ?
Solution:

Example 14: Draw a DFA for the language accepting strings starting with β0011β over input alphabets β = {0, 1} ?
Solution:

Example 15: Draw a DFA for the language accepting strings starting with β00β or β11β over input alphabets β = {0, 1} ?
Solution:

Example 16: Draw a DFA for the language accepting strings without substring β00β over input alphabets β = {0, 1} ?
Solution:

Example 17: Draw a DFA for the language accepting even binary numbers strings over input alphabets β = {0, 1} ?
Soluntion:

Example 18: Draw a DFA for the language accepting odd binary numbers strings over input alphabets β = {0, 1} ?
Solution:

Example 19: Draw a DFA for the language accepting odd or even binary numbers strings over input alphabets β = {0, 1} ?
Solution:

Example 20: Draw a DFA for the language accepting strings containg ODD number of total zeros over input alphabets β = {0, 1} ?
Solution:

Example 21: Draw a DFA for the language accepting strings starting and ending with different characters over input alphabets β = {0, 1} ?
Soluiton:

Example 22: Draw a DFA for the language accepting strings starting and ending with same character over input alphabets β = {0, 1} ?
Solution:

Example 23: Draw a DFA for the language accepting strings starting and ending with β0β always over input alphabets β = {0, 1} ?
Solution:

Example 24: Draw a DFA for the language accepting strings containing three consecutives β0β always over input alphabets β = {0, 1} ?
Solution:

Example 25: Draw a DFA for the language accepting strings such that each β0β is immediately preceded and followed by β1β over input alphabets β = {0, 1} ?
Solution:

Example 26: Draw a DFA for the language accepting strings containing at most two β0β over input alphabets β = {0, 1} ?
Solution:

Example 27: Draw a DFA for the language accepting strings containing at least two β0β over input alphabets β = {0, 1} ?
Solution:

Example 28: Draw a DFA for the language accepting strings containing exactly two β0β over input alphabets β = {0, 1} ?
Solution:

Example 29: Draw a DFA for the language accepting strings with β011β as substring over input alphabets β = {0, 1} ?
Solution:

Example 30: Draw a DFA for the language accepting strings ending in either β01β, or β10β over input alphabets β = {0, 1} ?
Solution:

Example 31: Draw a DFA for the language accepting strings containing β01β, or β10β as substring over input alphabets β = {0, 1} ?
Solution:

Example 32: Draw DFA that accepts any string which ends with 1 or it ends with an even number of 0βs following the last 1. Alphabets are {0,1}.
Solution:

Example 33: Construct DFA accepting set of all strings containing even no. of aβs and even no. of bβs over input alphabet {a,b}.
Solution:

Example 34: Give DFA accepting the language over alphabet {0,1} such that all strings of 0 and 1 ending in 101.
Solution:

Example 35: Construct DFA for anb | n>=0.
Solution:

Example 36: construct DFA for binary integer divisible by 3 ?
Solution:

Example 37: Draw a DFA for the language accepting strings containing neither β00β, nor β11β as substring over input alphabets β = {0, 1} ?
Solution:

Labels: Automata, TAFL Unit-1

Discussion & Queries (<$I18NNumComments$>):
<$CommentPager$>
- <$I18NAtCommentTimeWithPermalink$>, <$I18NCommentAuthorSaid$>
<$CommentPager$>
<$BlogCommentBody$>
<$BlogCommentDeleteIcon$>