Question

1)

where is given by the following table. Give the st

2) Give formal descriptions (5-tuples) for the DFAs shown in figure below:

3) Give the state diagrams of DFAs recognizing the following languages over ? = {0, 1}:

a) LÆ

b) L?

c) {e, 1001}

d) {e, 101, 1001}

e) {w : w has prefix 10}

f) {w : w does not contain the substring 011}

4) Give the state diagrams of DFAs recognizing the following languages over ? = {0, 1}:

a) {w: |w| ? 5}

b) {w : every odd position of w is a 1}

c) {w : w has an even number of occurrences of the substring 100}

d) {w : w contains at least two 0’s and at most three 1s’}

e) {w : w begins with prefix 010 and ends with suffix 101}

5)

6) Each of the following languages is the intersection of two simpler languages over the alphabet ? ={ a, b}. For each, construct the DFA’s for the simpler languages, then combine them using the construction of the closure proof presented in lecture (and page 46 of text):

a) {w : w starts with a and has at most one b}

b) {w : w has an odd number of a’s and ends in b}

c) {w : w has an even length and an odd number of a’s}

7) Show that a DFA Mk = (Qk, ?k, ?k, q0, Fk) exists that recognizes each Lk = {w: w ends in k 0’s}

8) Give the state diagrams of NFAs with the specified number of states recognizing the following languages over ? = {0, 1}:

a) {e, 010} with four states

b) {w : w contains exactly three 1s}with four states

c) {w: |w| ? 4} with five states

d) {w : every odd position of w is a 0} with two states

e) {w : w begins and ends with the same symbol} with five states

f) {w : w does not contain the substring 011} with four states

9)

0 0
Add a comment Improve this question Transcribed image text
Answer #1

The answer to the 1st question is as follows:

since the Dfa is given the start state is q3 and the final state is also q3.

The diagram is as follows:

d. 95 tu

Add a comment
Know the answer?
Add Answer to:
1) 2) Give formal descriptions (5-tuples) for the DFAs shown in figure below: 3) Give the...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 1.6 Give state diagrams of DFAs recognizing the following languages. In all parts the alphabet is...

    1.6 Give state diagrams of DFAs recognizing the following languages. In all parts the alphabet is 0,1) a. {w w begins with a 1 and ends with a 0)

  • 1. (a) Give state diagrams of DFA’s recognizing the following languages. That alphabet is Σ =...

    1. (a) Give state diagrams of DFA’s recognizing the following languages. That alphabet is Σ = {a,b} L1 = {w | w any string that does not contain the substring aab} L2 = {w | w ∈ A where A = Σ*− {a, aa, b}} 2. (a) Give state diagrams of DFA’s recognizing the following languages. The alphabet is {0, 1}. L3 = {w | w begins with 0 ends with 1} (b) Write the formal definition of the DFA...

  • Any answer that involves a design for a Finite Automaton (DFA or NFA) should contain information...

    Any answer that involves a design for a Finite Automaton (DFA or NFA) should contain information about the following five components of the FA (corresponding to the 5-tuple description): i) The set of states Q; ii) the alphabet Σ; iii) the start state; iv) the set of final states F; v) the set of transitions δ, which can be either shown in the form of a state diagram (preferred) or a transition table. You can either present the answer in...

  • Question 8, please. 2. Prove: (a) the set of even numbers is countable. (b i=1 3....

    Question 8, please. 2. Prove: (a) the set of even numbers is countable. (b i=1 3. The binary relation on pair integers - given by (a,b) - (c,d) iff a.d=cbis an equivalence relation. 4. Given a graph G = (V, E) and two vertices s,t EV, give the algorithm from class to determine a path from s to t in G if it exists. 5. (a) Draw a DFA for the language: ( w w has 010 as a substring)....

  • Lab Section 1 2 3 4 5 6 7 8 9 Report: Quantum Numbers Assigning Quantum...

    Lab Section 1 2 3 4 5 6 7 8 9 Report: Quantum Numbers Assigning Quantum Numbers 1. For each element, complete the following tables Write the ground state condensed electron configuration, draw the energy level orbital diagram (see partial example with Na), and write the quantum numbers for the last electron in the atom. Element Me Condensede continuration Energy level Cuantum numbers Element Condensede configuration Energy level orbital diagram Quantum numbers (laste) Flement Condensede Energy level orbital diagram Quantum...

  • PART 1 PART 2 PART 3 PART 4 PART 5 PART 6 PART 7 PART 8...

    PART 1 PART 2 PART 3 PART 4 PART 5 PART 6 PART 7 PART 8 -11 points BBUnderStat12 22 005 Ask Your Teache My Notes It is costly in both time and money to go to college. Does it pay off? According to the Bureau of the Census, the answer is yes. The average annual income (in thousands of dollars) of a household headed by a person with the stated education level is as follows: 24.9 if ninth grade...

  • CASE 1-5 Financial Statement Ratio Computation Refer to Campbell Soup Company's financial Campbell Soup statements in...

    CASE 1-5 Financial Statement Ratio Computation Refer to Campbell Soup Company's financial Campbell Soup statements in Appendix A. Required: Compute the following ratios for Year 11. Liquidity ratios: Asset utilization ratios:* a. Current ratio n. Cash turnover b. Acid-test ratio 0. Accounts receivable turnover c. Days to sell inventory p. Inventory turnover d. Collection period 4. Working capital turnover Capital structure and solvency ratios: 1. Fixed assets turnover e. Total debt to total equity s. Total assets turnover f. Long-term...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT