
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Construct Finite Automata for Regular Expression a+b+
The language for the given regular expression (RE) is as follows −
L={ ε,aa,ab,ba,aaaa,………}
Example
Let the regular expression be ((a+b)(a+b))*(a+b).
Construct the Finite automata for the given regular expression.
First, generate the language for the given Regular Expression −
L={a,d,aaa,bbb,abb,bab,bba,………..}
This is the language of odd length strings
The Finite Automata is as follows −
Advertisements