Let M be a deterministic finite automata as shown below;
Let S denote the set of 7-bit binary strings in which the first, the third and the last bits are 1. The number of strings in S that are accepted by M is equal to_____.
Open in App
Solution
The given DFA represents set of strings not containing
As given 1b1b21b3b4b5b61b7
b2 will be 1⇒1ways
b4b5b6 can be arranged in 2×2×2×=8 ways which is not accepted by the DFA.