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

Consider the following deterministic finite automata (DFA).

The number of strings of length 8 accepted by the above automation is
  1. 256

Open in App
Solution

The correct option is A 256

The regular expression for L(M) is 0(0+1)(0+1)(0+1)+1(0+1)(0+1)(0+1)

= (0+1)(0+1)(0+1)(0+1)

So. all strings of length 3 accepted.

Therefore number of strings of length 8 is 2s=256.

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Salts
Watch in App
Join BYJU'S Learning Program
CrossIcon