Back to the 2021 paper

Module 1: Introduction & Regular Languages

20212m

A minimum state DFA for the language:

L={w∈{0,1}∗:#0(w)≡0mod  3,  #1(w)≡0mod  5} L = \{ w \in \{0,1\}^* : \#0(w) \equiv 0 \mod 3,\; \#1(w) \equiv 0 \mod 5 \}

has:

(i) 15 states
(ii) 11 states
(iii) 10 states
(iv) 9 states

Worked SolutionAI Assisted

Answer

Correct Option: (i) 15 states

Explanation

Language L={w∣#0 mod 3=0,  #1 mod 5=0}L = \{ w \mid \#_0 \bmod 3 =0,\; \#_1 \bmod 5 =0\} is same as Q92 / Q112.

As before: DFA for #0 mod 3\#_0 \bmod 3 needs 3 states, for #1 mod 5\#_1 \bmod 5 needs 5 states. Product → 3×5=153 \times 5 =15 minimal states.

Transitions: 15×2=3015 \times 2 =30.

Other options 11,10,9 would be for different moduli (e.g., 3+5=8) — incorrect; must multiply, not add.

Final Answer

15 states → Option (i).

Similar questions

AI LearningWeb Platform

Coursify — Personal AI Course Generator

Struggling with a difficult subject or concept? Turn any engineering topic into a structured course with interactive lessons, quizzes, and research-backed explanations.