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
13(No Transcript)
14Given regular expression r find L(r)
15Regular Expressions to e NFA (Thompson)
16Minimization of DFA
17(No Transcript)
18Non-regular languages
- Distinguished Prefixes
- Pumping Lemma
19(No Transcript)
20(No Transcript)
21Context Free Grammars
22Given language L find pushdown automata with
L(P)L, or N(P)L
23Show language is not context free, using pumping
lemma for CFLs.
24(No Transcript)
25(No Transcript)
26(No Transcript)
27(No Transcript)
28(No Transcript)
29Flex/YACC/Ruby
30Design TM to recognize a language L.
31Convert a CFG to Chomsky-normal form.
32What does it mean for a language to be
- regular,
- context-free,
-
- context sensitive,
-
- recursively enumerable,
-
- recursive
33Give example languages Chomsky Hierarchy
34Design 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
35(No Transcript)
36Recursive vs R.E.
37Halting Problem