1.

Complement of a DFA can be obtained by(a) making starting state as final state.(b) no trival method.(c) making final states non-final and non-final to final.(d) make final as a starting state.I have been asked this question in an interview for internship.This question is from Union, Intersection & Complement topic in section Finite Automata of Automata Theory

Answer» RIGHT ANSWER is (c) making final STATES non-final and non-final to final.

Easiest explanation: STRING accepted in previous DFA will not be accepted and non accepting string will be accepted .


Discussion

No Comment Found

Related InterviewSolutions