Consider the following languages over the alphabet {a,b}: L1 = { a^(m^n) | n ≥…

Consider the following languages over the alphabet {a,b}:

L1 = { a^(m^n) | n ≥ 1, m ≥ n }

L2 = { ω(ω^R)* | ω ∈ (a,b)* }

L3 = { ω ∈ (a,b)* | 3·n_a(ω) + 2·n_b(ω) is even }

L4 = { wxyx | w, x, y ∈ (a,b)^+ }

What is the minimum number of states in a DFA for each language?

I. L1: four states

II. L2: only one state

III. L3: only two states

IV. L4: only four states

Which of the following statements is true?

  1. A.

    I and IV only

  2. B.

    L2, L3, and L4 only

  3. C.

    L2 and L3 only

  4. D.

    Only I

Attempted by 76 students.

Sign up free to check your answer

Sign up free

Explore the full course: Isro

Loading lesson…