wiz-icon
MyQuestionIcon
MyQuestionIcon
9
You visited us 9 times! Enjoying our articles? Unlock Full Access!
Question

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
1b1b21b3b4b5b6 1b7
  • b2 will be 11 ways
  • b4b5b6 can be arranged in 2×2×2×=8 ways which is not accepted by the DFA.
So, right combination = 8 - 5 = 3

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
What is an Acid and a Base?
Watch in App
Join BYJU'S Learning Program
CrossIcon