← RGPV CS-501-CBGS Theory of Computation June 2020 Solved Paper
Question
Define DFA, List three household applications of finite automata.
Asked in: CS-501 | June 2020 | 5(a)
Answer
A DFA is a five-tuple (Q,Σ,δ,q₀,F), where Q is finite, Σ is the input alphabet, δ is a total deterministic transition function, q₀ is initial and F is the set of final states. It accepts a word if the state after consuming the entire word belongs to F. Household applications of finite-state control include a washing machine (idle, wash, rinse, spin), a microwave oven (idle, cooking, paused, finished) and an automatic door (closed, opening, open, closing). Sensor signals and button presses trigger state changes. These are finite-state controller models; actual appliances may also use timers and additional memory. A simple DFA example accepts even parity using two states that toggle on 1 and loop on 0.
← RGPV CS-501-CBGS Theory of Computation June 2020 Solved Paper
Discussion
Ask a question, share your thoughts or report an error.
Sign in to participate in the discussion.
Join the discussion