What are the initial and accepting states of M
Ask Expert

Be Prepared For The Toughest Questions

Practice Problems

What are the initial and accepting states of M

Q 7. Let M be the DFA over {a, b} shown below.


(a) What are the initial and accepting states of M?

(b) Write out a table for δ, the transition function of M. Use □ for undefined entries.

(c) Show how M processes the input abbababba, indicating whether it is accepted or rejected.

(d) Let ∆ denote the extended transition function of M. Calculate each of the following states, writing □ if the state is undefined. (You do not need to show working.)

(i) ∆(baaba, q0)        (ii) ∆(ababb, q1)

(iii) ∆(bbaab, q2)      (iv) ∆(bbbbbbbbba, q0

(e) What is the shortest word in {a, b} ∗ accepted by M?

(f) Give a regular expression over {a, b} for the language of M,

Hint
Computer If a finite state machine finishes an input string and is in an accepting state, the string is accepted or considered to be valid. See also recognizer. Note: A machine may enter an accepting state, then leave it.A deterministic finite automaton (DFA) over an alphabet A is a finite digraph (where vertices or nodes are called states) for which each state emits one labeled edge for each...

Know the process

Students succeed in their courses by connecting and communicating with
an expert until they receive help on their questions

1
img

Submit Question

Post project within your desired price and deadline.

2
img

Tutor Is Assigned

A quality expert with the ability to solve your project will be assigned.

3
img

Receive Help

Check order history for updates. An email as a notification will be sent.

img
Unable to find what you’re looking for?

Consult our trusted tutors.

Developed by Versioning Solutions.