Which one of the following regular expressions correctly represents the language of the finite automaton given below?

View worked solution
Answer: D
To find the regular expression for the given finite automaton, we analyze the paths starting from the initial state to the final states and :
- Loops returning to : From the start state , we can loop back to in two ways:
- By going to via , looping on with , and returning to via . This path is represented by .
- By going to via , looping on with , and returning to via . This path is represented by .
- Reaching the final states: From , the final transition to an accepting state must be:
- To the final state via followed by any number of 's:
- To the final state via followed by any number of 's:
Combining these two parts, the complete regular expression is:
Thus, the correct option is D.
Free practice · Your answers on this page are not saved.
