1.★ Midterm Fall 2011Lecture 192 marks
A regular language L has only words ending with "01". Are "1101" and "111011" distinguishable? Justify why.
Show answerJawab dekhein
1101 ends in 01, so it is in L, while 111011 ends in 11, so it is not in L. Taking z = Λ, exactly one of 1101z and 111011z is in L, so the two strings are distinguishable with respect to L.
2.★ Midterm Spring 2011Lecture 193 marks
Different between Distinguishable strings and indistinguishable strings?
Show answerJawab dekhein
For a language L over Σ, strings x and y are distinguishable if there is a string z in Σ* such that exactly one of xz and yz is in L. They are indistinguishable if for every z in Σ*, either both xz and yz are in L or both are not.