Q. Let L={ w ∣ na(w) mod 13 = 1 or na(w) mod 15 = 5 }, where na(w) is the…

Q. Let L={ w ∣ na(w) mod 13 = 1 or na(w) mod 15 = 5 }, where na(w) is the number of letter a in string w.

What is the number of accepting states in a minimal DFA that keeps track of na(w) modulo the necessary value(s)? (MCQ)

  1. A.

    13

  2. B.

    26

  3. C.

    27

  4. D.

    195

Attempted by 112 students.

Sign up free to check your answer

Sign up free

Explore the full course: Isro

Loading lesson…