part-ii/2019-23/ #35
Replies: 1 comment 3 replies
-
Sketch solution(a): (i) is - it looks scary but we use the same technique as (ii) is - a 4-state DFA which tracks the parity of (iii) is, with a DFA which consists of a line of 8 states. Every time you get a zero, you take one more step along the path. If you ever get a 1, go right back to the beginning, but if you get to the final state (i.e. 8 zeros in a row) then you are sentenced to life imprisonment in the 8th state and cannot escape. (b): Set If Note: (b) is precisely Q13 of example sheet 2 (as of 2021-22). |
Beta Was this translation helpful? Give feedback.
-
Part II 2019 Automata and Formal Languages: Paper 4, Section I,$4 \mathrm{H}$
https://questions.tripos.org/part-ii/2019-23/
Beta Was this translation helpful? Give feedback.
All reactions