Let M be a finite automata. Let M' denote the machine obtained by interchanging the final and non final states in the machine M.
I. L(M)∪L(M′)=Σ∗
II. L(M)∩L(M′)=ϕ
What is the validity of the above statements with respect to DFAs and NFAs?
A
I and II always hold for DFA, but may or may not hold for NFA
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
None of these
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
I and II always hold for both DFA as well as NFA
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
I and II always hold for DFA but never hold for NFA
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is A I and II always hold for DFA, but may or may not hold for NFA I and II always holds for DFA, as L(M') is same as [L(M)]'. However the same is not true for NFA.