Given that the input string has two bits, giving 00 as the first two bits of output.
Construction:
Let us consider the states\({{\bf{s}}_{\bf{i}}}\), where\({\bf{i = 0,1,2,3,4}}\).
\({{\bf{s}}_0}\)is the starting state and will represent the fact that no bits were processed yet.
\({{\bf{s}}_1}\)represents the fact that the last two bits processed were 00 or that only one bit was processed.
\({{\bf{s}}_2}\)represents the fact that the last two bits processed were 01 or that only one bit was processed.
\({{\bf{s}}_3}\)represents the fact that the last two bits processed were 10.
\({{\bf{s}}_4}\)represents the fact that the last two bits processed were 11.
The first bit of the input always has to return 0, while the second bit also always has to return 0.
The third bit of the input needs to return the first bit of the input, the fourth bit of the input needs to return the second bit of the input, and so on.
Thus the resulting string is the input with two zeros placed in front and the last two digits removed.
The model of the finite-state machine is shown below.
Therefore, the result shows the required finite-state machine.