Chapter 1: Q3E (page 83)
Question : The formal description of a DFA M is , where δ is given by the following table. Draw the state diagram of this machine.

Short Answer
Answer:
The state diagram is

/*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none}
Learning Materials
Features
Discover
Chapter 1: Q3E (page 83)
Question : The formal description of a DFA M is , where δ is given by the following table. Draw the state diagram of this machine.

Answer:
The state diagram is

All the tools & learning materials you need for study success - in one app.
Get started for free
If A is any language, let be the set of all strings in A with their middle thirds removed so that
Show that if A is regular, then is not necessarily regular
Question: Prove that the following languages are not regular. You may use the pumping lemma and the closure of the class of regular languages under union, intersection, and complement.
Recall that string x is a prefix of string y if a string z exists where , and that x is a proper prefix of y if in addition . In each of the following parts, we define an operation on a language A. Show that the class of regular languages is closed under that operation.
Give regular expressions generating the languages of Exercise 1.6.
a. {begins with a 1 and ends with a 0}
b. { contains at least three 1s}
c. { contains the substring 0101 (i.e., w = x0101y for some x and y)}
d. { has length at least 3 and its third symbol is a 0}
e. { starts with 0 and has odd length, or starts with 1 and has even length}
f. { doesn’t contain the substring 110}
g. { the length of is at most 5}
h. { is any string except 11 and 111}
i. { every odd position of w is a 1 }
j. { contains at least two 0s and at most one 1}
k.
l. { contains an even number of 0 s, or contains exactly two 1s}
m. The empty set
n. All strings except the empty string
What do you think about this solution?
We value your feedback to improve our textbook solutions.