Theory of Computation · Week 1

Exam map

Syllabus topics, question types and reading sections.

Week 1: Finite Automata – deterministic and nondeterministic, regular operations

TopicQuestion typeQuiz questionsLessonSipser
Strings, languages and deterministic automataTrace a word, decide ε, identify the accepted languageQ51. Reading deterministic finite automataCh. 0 and §1.1
DFA design and comparisonTrack length, parity, suffix or remainder. Prove inclusion and find a witness.Q82. Designing and comparing DFAs§1.1
Regular operations and closureFactor a word for star membership. Decide when a finite subset or finite change implies regularity.Q1, Q4, Q103. Regular operations on languages§1.1–1.2
Nondeterministic automataTrace branches and ε-moves, convert to a DFA, compare state bounds and join machines.Q64. Nondeterministic finite automata§1.2
Regular expressionsTranslate from an automaton, read a substring condition, and reason about the number of distinct strings.Q2, Q3, Q95. Regular expressions and automata§1.3
Regularity and nonregularityCount overlapping substrings, derive a finite-memory test and prove nonregularity.Q76. Regularity and the limits of finite memory§1.1 and §1.4
Interleaved reviewUse all the methods on ten questions.Q1–Q107. Mixed drill§1.1–1.4

Two answer-key issues

Q2 · Machine and key disagree
The keyed expression generates baa. In the given diagram, after ba the machine is at q₄, which has only a b loop. 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.