Question

3. [20 points] Give short answers to each of the following parts. Each answer should be at most three sentences. Be sure to d
0 0
Add a comment Improve this question Transcribed image text
Answer #1

3.

(a)The differences between DFA and NFA are as follows :

DFA(Deterministic Finite Automata) NFA(Non Deterministic Finite Automata)
In DFA,conversion of regular expression to DFA is complex. In NFA,the conversion of regular expression to NFA is easy when compared to DFA.
DFA requires more memory for storing the state information. NFA requires more computations to match with the regular expression input.
Back tracking is allowed in DFA Back tracking is not always allowed in NFA
The integer for the next state is 1 The integer for the next state can be either 0 or 1
All DFA's can be NFA's All NFA's are not DFA's

(c)

A PDA (Push Down Automata) can be defined as a state machine(finite) which consists of an additional stack in the storage.In short it can be described as a 7-tuple.The formal definition is as follows :

Date M (a,8, F, Ain,Vin A Qfinite set of states 8 1 finite Subset of Qx (AUSAH)XTXQXF* F-Set of fin al states Ain initial sta

(d)

Subje N2 O Given A is the longuege recogrised 6 NFA N, i N-(a,,8,1, F Given Ar is the anguage recoisd by NFA N ie N2(,, 8, n,Date N

Add a comment
Know the answer?
Add Answer to:
3. [20 points] Give short answers to each of the following parts. Each answer should be...
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
  • UueSLIORS! 1. Find the error in logic in the following statement: We know that a b'...

    UueSLIORS! 1. Find the error in logic in the following statement: We know that a b' is a context-free, not regular language. The class of context-free languages are not closed under complement, so its complement is not context free. But we know that its complement is context-free. 2. We have proved that the regular languages are closed under string reversal. Prove here that the context-free languages are closed under string reversal. 3. Part 1: Find an NFA with 3 states...

  • 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...

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