Quiz 3

Nils Anders Danielsson

If you cannot access Canvas and submit your answers via email, please only give the answers (a number or a list of numbers), and no motivating arguments.

  1. (1p) Consider the DFA A = ({q₀, q₁}, {1}, δ, q₀, {q₁}), where δ is left unspecified. What is the start state of A?

    1. q

    2. q

  2. (1p) Consider the DFA A = ({q₀, q₁}, {1}, δ, q₀, {q₁}), where δ is left unspecified. Which accepting states does A have?

    1. None

    2. q

    3. q

    4. q and q

  3. (1p) Consider the DFA that is given by the following transition table:

      0 1
     → q q q
     * q q q
    q q q

    If the DFA is in state q and the next input symbol is 0, what state is the DFA in after processing this symbol?

    1. q

    2. q

    3. q

  4. (1p) Consider the DFA A = ({q₀, q₁}, {1}, δ, q₀, {q₁}), where δ(q₀, 1) = q and δ(q₁, 1) = q. Which of the following strings are members of L(A), the language of A?

    1. ε

    2. 1

    3. 11

    4. 111

  5. (1p) Consider the DFA that is given by the following transition table:

      0 1
     → q q q
     * q q q
    q q q

    Which of the following strings are members of the language of this DFA?

    1. ε

    2. 0

    3. 1

    4. 00

    5. 01

    6. 10

    7. 11