Exam 2 Topics - Fall 2010
Updates :
- 11/15/11 - 12:17: Removed strike-through from one topic in
pumping lemma section
- Material: Notes and Chapter 2
and Pumping Lemma from
Chapter 1
- Definitions: Define the following terms and/or
expressions
and use them appropriately
- Context Free Grammar (CFG)
- Language of a grammar
- Context Free Language (CFL)
- Derivation
- Derive
- Derive in 0 or more steps
- Derive Ambiguously
- Ambiguous CFG
- Inherently Ambiguous Language
- Chomsky Normal Form (CNF)
- Power set
- PDA M recognizes Language L
- Symbols - Define the following symbols and use them
appropriately:
- Single arrow (ie →)
- Double arrow (ie ⇒)
- Double arrow starred
- Γε
- Grammars
- Describe the parts in the formal definition of a CFG
- Identify the parts of a given grammar
- Create a grammar that generates a given language
- Analyze a given grammar to find the language it generates
- Find the derivation of a given string with a
given grammar, if one exists
- Find the parse tree of a given string with a
given grammar, if one exists
- Identify the correspondences among a grammar,
derivation of a string, and the parse tree
for that string
- Prove that a given grammar is ambiguous
-
Convert a grammar to CNF
- Pushdown Automata (PDA)
- Describe the difference in components and operation
between a PDA, a DFA, and/or a NFA
- Describe the parts in the formal definition of a PDA
- Convert between the formal and graphical
representations of a given PDA
- Identify the correspondences between the formal and
graphical representations of a given PDA
- Describe the difference between Γ and
Γε and explain the role played by
Γε
- Explain the consequences of the transition function
of a PDA having a power set as its range
- Describe the need motivating the pushing of
a special symbol (typically $) and explain how this
action satisfied that need
- Describe the basic operation of a PDA, including how
a PDA recognizes a string
- Trace the behavior of a given PDA on a given input
string
- Analyze a PDA to identify the language it recognizes
- Create a PDA that recognizes a given language
- Create a PDA that recognizes the language of a given CFG
- Context Free Languages
- State and explain the following listing of the language
recognition/generation power of various machines:
DFA = NFA < (D)PDA < (N)PDA = CFG
- State and explain the following listing of languages:
Regular Languages < Context Free Languages
- Pumping Lemma
- State the Pumping Lemma (PL) for Regular Languages [from chapter 1!]
- State the Pumping Lemma (PL) for Context Free Languages
- Describe the significance of the PL for CFL
- Explain why the PL cannot be used to show that a language belongs to a given class of languages.
- Use the PL for CFL to prove that a language
is NOT a CFL