Construct DFAs for the following languages. Give both the state diagrams and the state-transition tables. The set of binary strings that start with “11” and end with “01”. Σ = {0,1,2} The set of...





  • Construct DFAs for the following languages. Give both the state diagrams and the state-transition tables.





    1. The set of binary strings that start with “11” and end with “01”. Σ = {0,1,2}

    2. The set of binary strings which, when converted into an integer number, are divisible by
      6.
      The string must not have leading zeros
      (for example, 110, 0, and 11110 will be accepted, 0110, 1111, and 101 will be rejected). Empty string (ϵ) will be rejected. (Σ = {0,1}

    3. The set of binary strings whose length is odd and has 1 in every even position. (The strings
      0
      and
      1
      will also be accepted by the DFA). Σ={0,1}. For example: 010, 01111, 11010, 1111010,
      etc.

    4. The set of binary strings that do not contain exactly two
      0’s. (it may have more than 2 0’s, or less). Empty string (ϵ) will be accepted. Σ = {0,1}

    5. The set of binary strings with even numbers of
      0’s and with
      1’s in pairs. Σ = {0,1}. For example: ϵ,
      11,
      00,
      1111, 0110,
      110110, 01100110.




Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here