Theory Of Computation MCQ

1:

 Which of the folowing definitions below generates the same language as L, where
L = {xn yn such that n > = 1} ?

I. E —> xEy | xy

II. xy | (x+ xyy+)

III .x+y+

A. I only
B. I and II
C. II and III
D. II only
 

Answer : A

Explanation :
II generates strings like xxyyy, which are not supposed to be.

III generates strings like xyy, which are not supposed to be.
I can be verified to generate all the strings in L and only those.


Write your comments here:


Report Error
 

Option: A

Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here.