Theory of Computation · Week 1
Exam map
Syllabus topics, question types and reading sections.
Week 1: Finite Automata – deterministic and nondeterministic, regular operations
| Topic | Question type | Quiz questions | Lesson | Sipser |
|---|---|---|---|---|
| Strings, languages and deterministic automata | Trace a word, decide ε, identify the accepted language | Q5 | 1. Reading deterministic finite automata | Ch. 0 and §1.1 |
| DFA design and comparison | Track length, parity, suffix or remainder. Prove inclusion and find a witness. | Q8 | 2. Designing and comparing DFAs | §1.1 |
| Regular operations and closure | Factor a word for star membership. Decide when a finite subset or finite change implies regularity. | Q1, Q4, Q10 | 3. Regular operations on languages | §1.1–1.2 |
| Nondeterministic automata | Trace branches and ε-moves, convert to a DFA, compare state bounds and join machines. | Q6 | 4. Nondeterministic finite automata | §1.2 |
| Regular expressions | Translate from an automaton, read a substring condition, and reason about the number of distinct strings. | Q2, Q3, Q9 | 5. Regular expressions and automata | §1.3 |
| Regularity and nonregularity | Count overlapping substrings, derive a finite-memory test and prove nonregularity. | Q7 | 6. Regularity and the limits of finite memory | §1.1 and §1.4 |
| Interleaved review | Use all the methods on ten questions. | Q1–Q10 | 7. Mixed drill | §1.1–1.4 |
Two answer-key issues
- Q2 · Machine and key disagree
- The keyed expression generates
baa. In the given diagram, afterbathe machine is at q₄, which has only abloop. The drill accepts the answer that follows the pictured edges. - Q3 · Recovered expression and missing condition
- The expression is
(P+R)*Q + PQ. If Q generates a word and P or R generates a nonempty word, infinitely many distinct lengths are possible. The sizes p, q and r alone are insufficient in general, as both one-word and infinite outputs can occur when all three sizes equal one.
Sipser, Introduction to the Theory of Computation, Ch. 0–1. NPTEL Theory of Computation, archived assignment, Q7.
Study pace
Budget about 25–35 minutes per teaching lesson and 30–35 minutes for the drill. Use seven sessions if time permits, with another attempt at missed items the following day.