FA (Automata) exercises and examples

This is a continuation of the tutorial of FA (Automata) exercises and examples. Let us see the DFA of Regular Expression of a(a+b)b*+bb(a)*.

FA (Automata) exercises and examples

StringsĀ of FA (Automata)

  • 2 Accepted strings of length 1={no string}
  • 2 Accepted strings of length 2={ aa, bb, ab, no more strings}
  • 2 Accepted strings of length 5={aabbb, bbaaa, and many more possible strings }
  • 2 Accepted strings of length 8={abbbbbbb, bbaaaaaa, and many more possible strings }
  • 2 Accepted strings of length 10={ aabbbbbbbb, bbaaaaaaaa , and many more similar strings }
  • 2 Accepted strings of length 15={abbbbbbbbbbbbbb, bbaaaaaaaaaaaaa, and many more similar strings }
  • 2 Accepted strings of length 20={ aabbbbbbbbbbbbbbbbbb, bbaaaaaaaaaaaaaaaaaa, and many more similar strings }
  • 2 Accepted strings of length 25={ abbbbbbbbbbbbbbbbbbbbbbbb, bbaaaaaaaaaaaaaaaaaaaaaaa, and many more similar strings }

How to read strings from FA (Automata)?

How to read aa?

0 to 4| 4 to 2|

How to read bb ?

0 to 3| 3 to 1|

How to read aabbb?

0 to 4| 4 to 2| 2 to 2| 2 to 2| 2 to 2|

How to read bbaaa ?

0 to 3| 3 to 1| 1 to 1| 1 to 1| 1 to 1|

How to read abbbbbbb ?

0 to 4| 4 to 2| 2 to 2| 2 to 2| 2 to 2|2 to 2|2 to 2|2 to 2|

How to read bbaaaaaa ?

0 to 3| 3 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1|

How to read aabbbbbbbb?

0 to 4 | 4 to 2 | 2 to 2 | 2 to 2 |2 to 2 |2 to 2 |2 to 2 |2 to 2 |2 to 2 |2 to 2 |

How to read bbaaaaaaaa?

0 to 3| 3 to 1 | 1 to 1 |1 to 1 |1 to 1 |1 to 1 |1 to 1 |1 to 1 |1 to 1 |1 to 1 |

How to read abbbbbbbbbbbbbb?

0 to 4| 4 to 2| 2 to 2|2 to 2|2 to 2|2 to 2|2 to 2|2 to 2|2 to 2|2 to 2|2 to 2|2 to 2|2 to 2|2 to 2|2 to 2|

How to read bbaaaaaaaaaaaaa?

0 to 3| 3 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1|

How to read aabbbbbbbbbbbbbbbbbb?

0 to 4| 4 to 2| 2 to 2| 2 to 2| 2 to 2| 2 to 2| 2 to 2| 2 to 2| 2 to 2| 2 to 2| 2 to 2| 2 to 2| 2 to 2| 2 to 2| 2 to 2| 2 to 2| 2 to 2| 2 to 2| 2 to 2| 2 to 2|Ā 

How to read bbaaaaaaaaaaaaaaaaaa?

0 to 3| 3 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1|

How to read abbbbbbbbbbbbbbbbbbbbbbbb?

0 to 4| 4 to 2| 2 to 2| 2 to 2| 2 to 2| 2 to 2| 2 to 2| 2 to 2| 2 to 2| 2 to 2| 2 to 2| 2 to 2| 2 to 2| 2 to 2| 2 to 2| 2 to 2| 2 to 2| 2 to 2| 2 to 2| 2 to 2| 2 to 2| 2 to 2| 2 to 2| 2 to 2| 2 to 2|

How to read bbaaaaaaaaaaaaaaaaaaaaaaa?

0 to 3| 3 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1| 1 to 1|

Video Lecture

List of 100+ Important Deterministic Finite Automata

Finite Automata Exercise Solution

Here I am showing you a list of some more important Deterministic Finite Automata used in the theory of automata and theory of computation.

  1. DFA forĀ Ā (a+b)* (a+b)aĀ .
  2. DFA forĀ (bb)*(aa)*Ā .
  3. DFA forĀ Ā b+a(a+b)*+a.
  4. DFA forĀ (a+b)*b+(bb)*a.
  5. DFA forĀ bb+a(a+b)*+aa.
  6. DFA forĀ Ā a(a+b)*+bb(a)*Ā .
  7. DFA forĀ Ā a(a+b)b*+bb(a)*.
  8. DFA forĀ Ā b(aa)*a+a(bb)*b.
  9. DFA forĀ a+a(aa+b)*(aa)b.
  10. DFA forĀ a+a(aa+b)*+(aa)b.
  11. DFA forĀ (a+b)b(a+b)*+(aa)*b.
  12. FA for stringsĀ starting with a and ending with a.
  13. FA for the language of all those stringsĀ starting with a.
  14. FA for the language of all those strings containingĀ aa as a substring.
  15. DFA for the language of all those stringsĀ starting and ending with the same letters.
  16. DFA for the language of all those stringsĀ starting and ending with different letters.
  17. DFA for the language of all those stringsĀ having double 0 or double 1.
  18. DFA for the language of all those stringsĀ starting and ending with b.
  19. DFA forĀ ending with b.
  20. DFA for the string ofĀ even A’s and even b’s.
  21. DFA for the regular expression ofĀ Ā a(a+b)*+(bb)+a(ba)*+aba+bb*(a+b)*.
  22. RegExp and DFA for strings havingĀ triple a’s or triple b’s.