1.

Which of the following statements is/are TRUE ?(i) The grammar S → SS | a is ambiguous (where S is the start symbol).(ii) The grammar S → 0S1 | 01S | e is ambiguous (the special symbol e represents the empty string and S is the start symbol).(iii) The grammar (where S is the start symbol).S → T/UT → x S y ? xy ? eU → yTgenerates a language consisting of the string yxxyy.(A) Only (i) and (ii) are TRUE(B) Only (i) and (iii) are TRUE(C) Only (ii) and (iii) are TRUE(D) All of (i), (ii) and (iii) are TRUE

Answer» None


Discussion

No Comment Found

Related InterviewSolutions