Q32MCQ2 marks, −0.67Consider the following languages. L1={wxyx∣w,x,y∈(0+1)+}L2={xy∣x,y∈(a+b)∗,∣x∣=∣y∣,x≠y}\begin{array}{ll} L_1= \{ wxyx \mid w,x,y \in (0+1)^{+} \} \\ L_2= \{xy \mid x,y \in (a+b)^{*}, \mid x \mid=\mid y \mid, x \neq y \} \end{array}L1={wxyx∣w,x,y∈(0+1)+}L2={xy∣x,y∈(a+b)∗,∣x∣=∣y∣,x=y} Which one of the following is TRUE?(A)L1L_1L1 is regular and L2L_2L2 is context- free.(B)L1L_1L1 context- free but not regular and L2L_2L2 is context-free.(C)Neither L1L_1L1 nor L2L_2L2 is context- free.(D)L1L_1L1 context- free but L2L_2L2 is not context-free.Sign in to save attempts.Show answer← PreviousNext →SolutionsDiscussionLoading…Sign in with Google