I did following exercise and i want to clarify that did i made something wrong. And cannot figure out how to solve the c th question.
answers that i got
I did following exercise and i want to clarify that did i made something wrong. And cannot figure out how to solve the c th question.
answers that i got
Copyright © 2021 JogjaFile Inc.

I afraid that your answer for (a) is incorrect... Check for example that the word $w = 111$ is accepted by your automata, but $n_1(w) = 0 \pmod{3}$.
Label the states in your answer to (a) as: $$q_0: n_1(w) = 0 \pmod{3}$$ $$q_1: n_1(w) = 1 \pmod{3}$$ $$q_2: n_1(w) = 2 \pmod{3}$$ and try to figure out for each arrow where it should go, what will be the states of $w$.
Here is a NFA for (c):