Question 2
An FSA recognizes words that begin with "un" and end with "ed". The state transitions are defined as follows:
States:
- (Initial state)
- (After 'u')
- (After 'n')
- (After 'e')
- (After 'd', accepting state)
Transitions:
- From on 'u', go to
- From on 'n', go to
- From on any other character, stay in
- From on 'e', go to
- From on 'd', go to (Accepting state)
For which of the following inputs will the FSA reach the accepting state?
“unlearned”
“undefined”
“unfinished”
All of these