About finite state machine(FSM), please explain your answer in DETAIL..NO COPY A
ID: 3881907 • Letter: A
Question
About finite state machine(FSM), please explain your answer in DETAIL..NO COPY AND PASTE
Finite state machine (FSM) is a useful tool for character recognitions. In this problem, FSM is designed to accept a sequence of brackets, which satisfies a certain format. The brackets used here are round brackets which contain . and "", and square brackets which contain "T" and "]. Given an original FSM shown as follows, please complete the following three questions. Here we assume FSM reads any sequence of brackets from left to right. SI S2 S5 Anynput slart SO S3Explanation / Answer
1) Accepted sequence
(())
s0->s1->s2->s1->s0
2) Not accepted sequence
(()(]
s0-s1-s2-s1-s2-s3