TOC | Concatenation process in DFA
Prerequisite – Designing finite automata
Designing a DFA for the set of string over {a, b} such that string of the language start with “a” and end with “b”. There two desired language will be formed:
L1 = {a, aab, aabab, .......}
L2 = {b, bbab, bbabab, .......}
In L1, starting element is “a” and in L2, ending element is b.
State Transition Diagram for the language L1:

This DFA acceept all the string which starts with “a”. Here, state C is the final state and B is the dead state this is called so because after getting any alphabet this state will never go to final state.
State Transition Diagram for the language L2:

This DFA accepts all the string ending with alphabet “b”. Here, State B is called final state.
Now, Taking the concatenation of L1 and L2 language which gives the final result of the language which starts with “a” and end with “b”.
State Transition Diagram of L1.L2 i.e, L1 concate L2:

This DFA accept all the string which start with a and end with b. Here, State C is the final state and and D is the dead state this is called so because after getting any input alphabet it will never go to final state.
Recommended Posts:
- Process Table and Process Control Block (PCB)
- TOC | Reversal process in DFA
- TCP 3-Way Handshake Process
- TOC | Union process in DFA
- TOC | Complementation process in DFA
- Process Synchronization | Set 2
- Semaphores in Process Synchronization
- Introduction of Process Synchronization
- Inter Process Communication (IPC)
- Difference between Process and Thread
- Peterson's Algorithm in Process Synchronization
- MCQ on Memory allocation and compilation process
- States of a Process in Operating Systems
- Dekker's algorithm in Process Synchronization
- Bakery Algorithm in Process Synchronization
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.




