Question: QUESTION FIVE ( 5 ) a ) Explain the Components and characteristics of a Deterministic Finite Automaton b ) For the state diagram of the
QUESTION FIVE
a Explain the Components and characteristics of a Deterministic Finite Automaton
b For the state diagram of the DFA below, give its formal definition as a tuple.QUESTION ONE
a Explain the formal definition of a turing machine.
b With the following state diagrams of two DFAs, M and Provide the solution the
questions about each of these machines.
i What is the start state?
ii What is the set of accept states?
iii. What sequence of states does the machine go through on input aabb
iv Does the machine accept the string aabb
v Does the machine accept the string
QUESTION TWO
a Outline the formal description of the machines and in OUESTION ONE b
b Demonstrate the difference between the contextfree language and the contextfree
grammar.
QUESTION THREE
a Assume that language is recognized by an NFA N and language is the collection of
strings not accepted by some DFA M Show that is a regular language.
b Outline the steps for generating a string of a language.
OUESTION FOUR
a Explain the Chomsky normal form theorem.
b Show that if you add a finite set of strings to a regular language, the result is a regular
language.
c Show that if you add a finite set of strings to a nonregular language, the result is a
nonregular language.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
