Question

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 the form of a state diagram with all the above information (as shown in the left side of slide #8 in the Finite Automata lecture notes) or in the tabulated form (as shown in the right side of the same slide). State diagram representation is preferred.

1. Give a DFA for each of the following languages defined over the alphabet Σ = {0, 1}:

a) (3 points) L={ w | w contains the substring 010 }

b) (3 points) L={ w | w ends in 001 }

c) (4 points) L={ w | w has a 0 in its 2 nd last position, if such a position exists}

0 0
Add a comment Improve this question Transcribed image text
Know the answer?
Add Answer to:
Any answer that involves a design for a Finite Automaton (DFA or NFA) should contain information...
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(a)Draw the state diagram for a DFA for accepting the following language over alphabet {0,1}: {w...

    1(a)Draw the state diagram for a DFA for accepting the following language over alphabet {0,1}: {w | the length of w is at least 2 and has the same symbol in its 2nd and last positions} (b)Draw the state diagram for an NFA for accepting the following language over alphabet {0,1} (Use as few states as possible): {w | w is of the form 1*(01 ∪ 10*)*} (c)If A is a language with alphabet Σ, the complement of A is...

  • Solve the following Deterministic Finite Automata ( DFA ). For Σ = {0, 1} Construct a...

    Solve the following Deterministic Finite Automata ( DFA ). For Σ = {0, 1} Construct a DFA M such that L(M) = { w : w ends with 101 followed by an ODD number of 0's} Draw the state diagram and transition table..... 1) Given A Formal Definition M = (Q, Σ, ? , q, F) 2) Trace the Path (Listing States) taken by words state whether each word is accepted or rejected. w = 101010 v = 1010100 u...

  • Part B - Automata Construction Draw a DFA which accepts the following language over the alphabet...

    Part B - Automata Construction Draw a DFA which accepts the following language over the alphabet of {0,1}: the set of all strings such that the number of 0s is divisible by 2 and the number of 1s is divisible by 5. Your DFA must handle all intput strings in {0,1}*. Here is a methodical way to do this: Figure out all the final states and label each with the shortest string it accepts, work backwards from these states to...

  • Just answer the second problem the photo is my answer for first one and need to...

    Just answer the second problem the photo is my answer for first one and need to use in the second problem all questions. Unless otherwise stated, all the DFAs and 1 /2 1 this homework use Σ-(0, 1 } as the alphabet. (50 point) For i=1, 2, 3, 4 and 5, design NFAs Ni, such that L(M) = Bi, where 1, (a) Bi -[w w has an even number of O's, or, contains exactly two 1's). (b) B2-[w every odd...

  • Please answer c,d,f. also please explain the answers for me to understand. For each of the...

    Please answer c,d,f. also please explain the answers for me to understand. For each of the languages below, draw the state diagram for a nondeterministic finite automaton (NFA) to accept the language. In order to get full marks, your NFA must have the number of states specified, and it must take advantage of nondeterminism. [There must be at least one case where the machine has a choice between two or more next states on some input symbol, or a case...

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

    1) 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...

  • Answer all questions. Unless otherwise stated, all the DFAs and NFAs in this homework use 2-...

    Answer all questions. Unless otherwise stated, all the DFAs and NFAs in this homework use 2- 10,1j as the alphabet. 1. (50 point) For i-1,2 and 3, design NFAs Ni, such that L(N) - B5, where: (a) Bi-{w|w has an even number of O's, or, contains exactly two 1's) (b) ) B2- w every odd position of w is 1 (c) B3 - [w| all strings except the empty string and the string 11) (d) B4- [0j with two states....

  • specifically on finite i pmu r the number of objøcts or ways. Leave your answers in fornsiala form, such as C(3, 2) nporkan?(2) Are repeats poasib Two points each imal digits will have at le...

    specifically on finite i pmu r the number of objøcts or ways. Leave your answers in fornsiala form, such as C(3, 2) nporkan?(2) Are repeats poasib Two points each imal digits will have at least one xpeated digin? I. This is the oounting problem Al ancmher so ask yourelr (1) ls onder ipo n How many strings of four bexadeci ) A Compuir Science indtructor has a stack of blue can this i For parts c, d. and e, suppose...

  • 1 L, as a dynamical system (Notes from Assignment #2) We take our definition of dynamical system ...

    1 L, as a dynamical system (Notes from Assignment #2) We take our definition of dynamical system to be an "object" along with a specific set of modifications that can be performed (dynamically) upon this object. In this case, the object is a bi-infinite straight road with a lamp post at every street corner and a marked lamp (the position of the lamplighter). There are two possible types of modifications: the lamplighter can walk any distance in either direction from...

  • Any reflection or opinion on these two essays? Should Marijuana be legal? 1 answer Within 200...

    Any reflection or opinion on these two essays? Should Marijuana be legal? 1 answer Within 200 words. 1. A Brief History of the Drug War Many currently illegal drugs, such as marijuana, opium, coca, and psychedelics have been used for thousands of years for both medical and spiritual purposes. The Early Stages of Drug Prohibition Why are some drugs legal and other drugs illegal today? It's not based on any scientific assessment of the relative risks of these drugs –...

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