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 DFA's and NFA's.
A
I and II always hold for DFA
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 hold for both DFA and 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 I and II always hold for DFA, as L(M') is same as [L(M)]′ϕ.
However, the same is not the true for NFA.