COMP314 - things to focus on
COMP314 - things to focus on
Formal defini on of DFA, NFA, PDA, NPDA, Turing machine i.e. be able to give the N-tuple
defini on and explain what each symbol means.
Know all the formal symbols for input, output, transi ons etc.
Formal defini on of a grammar i.e. be able to give the N-Tuple defini on and explain what each
symbol means
Formal defini on of the pumping lemma
Formal defini on of a homomorphism
Prove that every NFA can be converted to an equivalent one with a single accept state
Prove the pumping lemma
Given L1 and L2 are regular be able to provide a formal proof for:
o 𝐿1 ∩ 𝐿2 also being regular
o 𝐿1𝐿2 also being regular
o 𝐿1 also being regular
o Be able to prove things as a result of the proper es we know of regular languages. Look
at your tuts again i.e. varia ons of these known proper es what can we deduce.
What does what is a Generalised transi on graph, what does nondeterminis c mean, what does
decidable mean, what does computable mean, what is an alphabet.
What is the me complexity of a FA?
Know the four levels of Chomsky Hierarchy – what do the levels tell us?
What is the hal ng problem?
What are the two states that a Turing machine must contain?
Be able to draw the block diagram of the blank tape hal ng construc on.
Symbol read
New
state write
Some Turing machines have an infinite tape to the le and right, and some have a finite tape to
the le . If it is finite to the le what happens if you try and write to the le of the end of the
tape?
Is the Hal ng problem decidable?
What does decidable mean? What does computable mean?
Where is an FA considered to be NonDeterminis c?
Remember that regular grammars are all context-free grammars, context-free grammars are all
recursively enumerable etc. So if you can create a DFA for the language, then can create a PDA and/or
Tutoring machine for the language too, but not vice versa. Regular grammars are a subset of context-
free grammars.
Note: While converting an NFA with n states to a DFA, 2n possible set of states can
be reachable but not necessarily reached in the DFA.