Title: Exam Review
1Exam Review
CSCE 355 Foundations of Computation
- Topics
- Mathematical preliminaries
- Finite Automata
- Context free languages
- Pushdown Automata
- Turing Machines
- Undecidability
December 10, 2008
2- Relations properties and examples
- Proof Techniques Induction, mutual induction,
contradiction. - From English description to DFA or NFA.
- For DFA, NFA, e NFA give L(M)
- e NFA ?DFA using subset construction
- Given language L find a regular expression r such
that L(r) L - Given regular expression r find L(r)
- Regular Expressions to e NFA
- Minimization of DFA
- Non-regular languages Distinguished Prefixes,
Pumping Lemma
3- Context Free Grammars
- Given language L find pushdown automata with
L(P)L, or N(P)L. - Show language is not context free, using pumping
lemma for CFLs. - Flex/YACC
- Design TM to recognize a language L.
- Convert a CFG to Chomsky-normal form.
- What does it mean for a language to be regular,
context-free, context sensitive, recursively
enumerable, recursive - Give example languages of each set of languages
in the hierarchy that is not in the next set,
except for context sensitive. - Design Turing machine to compute f(x) 2x
4Relations properties and examples
- R1 (a,a), (a,b), (a,c), (a,d)
- Reflexive closure?
- Transitive closure?
- Reflexive-transitive closure, R1
5(No Transcript)
6 7Proof Techniques Induction, mutual induction,
contradiction.
8From English description to DFA or NFA
9For DFA, NFA, e NFA give L(M)
10(No Transcript)
11e NFA ?DFA using subset construction
12Given language L find a regular expression
13Given regular expression r find L(r)
14Regular Expressions to e NFA (Thompson)
15Minimization of DFA
16(No Transcript)
17Non-regular languages
- Distinguished Prefixes
- Pumping Lemma
18Context Free Grammars
19Given language L find pushdown automata with
L(P)L, or N(P)L
20Show language is not context free, using pumping
lemma for CFLs.
21Flex/YACC/Ruby
22Design TM to recognize a language L.
23Convert a CFG to Chomsky-normal form.
24What does it mean for a language to be
- regular,
- context-free,
-
- context sensitive,
-
- recursively enumerable,
-
- recursive
25Give example languages Chomsky Hierarchy
26Design Turing machine to compute
- Algorithm for computing function
- f(x,y) x y (max 0, x-y)
- f(x,y) x y
- f(x) 2x
27(No Transcript)
28Recursive vs R.E.
29Halting Problem