Programming assignments of Automata