ChatDiagram
automata · computer science · education

DFA: Even number of 1s

類型 狀態圖標準 OMG UML 2.5.1 §14 + Harel (1987) statechart引擎 schematex-state更新時間 2026/5/27
DFA: Even number of 1s
Drawing preview
需求

“A DFA over {0, 1} that accepts strings with an even number of 1s. Two states, Even and Odd; Even is the start state and the accepting state.”

接著試試Change it to accept an odd number of 1sAdd a dead state for any other symbol
這張圖裡有什麼

看懂背後的決策。

01

Marking the accepting state with a note instead of a final state

02

Using self-transitions to handle 0 inputs without state change

When teaching or visualizing deterministic finite automata, particularly simple pattern matching for parity of a symbol.

瀏覽所有 狀態圖 範本 →