The following finite state machine accepts all those binary strings in which the number of 1's and 0's are respectively
A
even and odd
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
odd and even
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
divisible by 2 & 3
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
divisible by 3 & 2
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
Open in App
Solution
The correct option is D divisible by 3 & 2 The given finite state machine accepts any string w ϵ(0,1)∗ in which the number of 1s is multiple of 3 and the number of 0s is multiple of 2.