Back to the 2022 paper

Module 1: Introduction, Regular languages and finite automata

20222m

Definition of a language LL with alphabet {a}\{a\} is given as L={ank/k>0, and n is a positive integer constant}L= \{a^{nk} / k > 0, \text{ and } n \text{ is a positive integer constant}\}. What is the minimum number of states needed in a DFA to recognize L?
(i) k+1k + 1
(ii) n+1n + 1
(iii) 2n+12n + 1
(iv) 2k+12k + 1

Similar questions