The following state machine is used to detect a particular pattern in input data stream. Whenever the pattern is matched at the input output is set to ‘1’ or else output is cleared to ‘0’. For which of the following data stream, output goes to ‘1’ twice?

1
0010011010010101
2
0101011000010101
3
0011011010010101
4
1100100101001010

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation