ITEC 420: Exam 1 topics - Fall 2019
Updates :
- 2019 Sep 28 11:19:53 AM: Added countability proofs to 2.5 and the word "alphabets" in 3.1
- 2019 Sep 25 09:20:01 PM: Updated for fall 2019
- Coverage: Material from text, powerpoints, lecture, homeworks
- Text:
- Appendix A: Mainly sections A.2, A.3, A.4. From A.1: reading and meaning the symbols ∃ and
∀. Section A.6: Proof by contradiction, definition of countably and uncountably infinite, proof
of countably infinite
- Chapter 2: Languages
- Chapter 5 - Sections 5.1-5.4: Regular Languages and D/ND FSM
- Approximately equal weight on each covered chapter. (May change after exam is written)
- Regular Expressions and Regular Grammars: Not on exam 1 (except that they are another way to define regular languages)
- Appendix A: Math
- Sets:
- Set builder notation: Specification and reading in English
- Cardinality
- Countable sets, Countably and uncountably infinite sets
- Operations on sets
- Power Set: definition, formation, size
- Cartesian Product (aka Cross Product) - Creates set of tuples
- Ordered pairs and ordered tuples
- Relation: any subset of Cross Product
- Functions:
- A subset of cross product of the domain and range that has the function property
- Domain, range, mapping
- One-to-one, onto, bijection
- Proofs
- Proof by Contradiction
- Proof that a set is countably infinite
- Chapter 2: Languages and Strings
- Alphabet: Σ - Finite set of symbols. (Can be empty, but we mostly ignore empty alphabets)
- String: finite sequence of symbols, length, (|w|)
- ε
- Σ*
- Operations on Strings:
- Concatenation
- Replication
- Reverse - (Know meaning, not formal definition)
- Substrings, prefixes, suffixes
- Languages - Introduction:
- Definition - What is a language!
- Notation for defining languages (ie set builder)
- Describing languages in English
- Empty language vs language containing empty string
- Lexicographic order (as defined in text)
- Σ* - Set of all strings formed from Σ
- Number of languages over nonempty Σ: uncountably infinite
- Operations (aka Functions) on Languages:
- Union
- Intersection
- Complement (Universe: usually Σ* )
- Concatenation
- Kleene Star and Plus: L* and L+
- Reverse: LR
- Scope in set builder notation
- ZOM vs OOM, followed by, etc
- Chapter 5: Deterministic Finite State Machines [and Regular Languages]
- FSM Diagram: States and transitions, initial, finals
- Formal definition: Five tuple - M = (K, Σ, δ, s, A)
- Transition function: K x Σ x K
- Exactly one transition out of each state for each input symbol
- Accept and reject a string
- A machine accepts (ie recognizes) a language (ie L(M))
- Computation: Formal and informal defintion
- Configuration and yields
- Initial, accepting, rejecting configuration
- Regular Language: Give definition (ie accepted by FSM)
- Chapter 5: Nondeterministic Finite State Machines [and Regular Languages]
- DFSM: transition function: one transition out per input symbol
- NDFSM
- transitions out per input symbol: 0, 1, 2, ...
- epsilon transitions
- New formal definition:
Δ relation vs δ function and
Δ defined on ε
- New definition of accepts: Some/any path
- Dead states no longer needed (but allowed)
- Typical operations: eg choices
- Interpretation (ie how to process):
- Choose correct path (ie oracle knows path to follow to recognize)
- Search tree (depth first or breadth first?)
- Follow all paths at once (ie use fingers)
- DFSM = NDFSM:
- a DFSM is obviously a NDFSM
- convert NDFSM to DFSM
- Use sets of ND states as states for deterministic machine
- eps of a state, applied after transition
- Be able to analyze a N/DFSM
- Be able to create a N/DFSM for a particular task
- What does this mean: DFSM = NDFSM = RE = RG = RL
- Acronyms: FSM, DFSM, NFSM, DFA, NFA, FA
The following will NOT be on exam 1:
- Appendix A: Math
- Proofs:
- Induction
- Pigeonhole Principle
- A = B for sets A and B
- Set Closed under an operation: what it means and examples
- Closure of a set under an operation: what it is and how to find
- Chapter 6: Regular Expressions - Not on exam 1.
- Except that they are another way of defining regular languages
- Will be on exam 2
- Basics:
- 8 forms: 3 base case, 5 recursive, 2 shorthands, parens
- L(α) - language described or defined by RE α
- Common operations and idioms
- Precedence
- Be able to analyze a RE
- Be able to create a RE to generate a specified language
- Kleene's Theorem
- RE to NDFSM
- NDFSM to RE: standard form and ripping states
- Simplifying RE [Not on exam 1]
- Chapter 7: Regular Grammars - Not on exam 1
- Except that they are another way of defining regular languages
- Chapter 1: Why? - Not on exam 1
- Chapter 3: The Big Picture? --- not on exam 1
- Decision Problems: Given a language L and a string w, is w in L?
- Language hierarchy: recognition that it exists
- Chapter 4: Computation - Not on exam 1
- Chapter 8: Regular and Nonregular Languages - Not on exam 1
- Closure properties of Regular Languages - and why:
- Union
- Intersection
- Complement (Careful)
- Pumping Lemma: not on exam 1
- Chapter 9: Not on exam 1
- Chapter 10: Summary - not on exam 1