00:01
We're asked to construct a deterministic finite state automaton that recognizes the set of all bit strings that contain exactly three zeros.
00:14
So this is going to be a hard set to describe in terms of smaller sets.
00:19
So i'm just going to say that the set s is going to be the set of all bit strings with exactly three zeros.
00:56
So let's designate s0 to be a start state.
01:00
And let's consider three other states, or sorry, four other states.
01:14
So we have the s -0 represents that there were no zeros in the previous bits.
01:33
So for example, if we're just starting out, we don't have any previous bits.
01:37
And so it follows that there are no zeros in the previous bits, because there are no previous bits.
01:44
And s -1 will represent that there is exactly 1 -0 in the previous bits.
02:05
S2 will represent that there were two zeros in the previous bits.
02:24
S3 will represent that there are three zeros in the previous bits.
02:37
Let me see that this is going to be a final state...