design an fsm that will detect the pattern 101 on an input. the output of the machine should be 1 when found, and 0 otherwise.

Q&A Education