🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: DFA: all 10 questions

Quiz: DFA · Question 3 of 10

In the divisible-by-3 DFA, from remainder 2, reading bit 1 goes to remainder:

In the divisible-by-3 DFA, from remainder 2, reading bit 1 goes to remainder:

  1. A.0
  2. B.1
  3. C.2
  4. D.3
Answer & explanation

Correct answer: 2

(2 × 2 + 1) mod 3 = 5 mod 3 = 2.

Can you get the rest right without peeking?

Take the timed Quiz: DFA quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →