Open In App

GATE | GATE IT 2006 | Question 81

Let L be a regular language. Consider the constructions on L below:
repeat (L) = {ww | w ? L}
prefix (L) = {u | ?v : uv ? L}
suffix (L) = {v | ?u uv ? L}
half (L) = {u | ?v : | v | = | u | and uv ? L}
Which of the constructions could lead to a non-regular language?
(A) Both I and IV
(B) Only I
(C) Only IV
(D) Both II and III

Answer: (B)
Explanation:  

So, option (B) is correct.



 

Quiz of this Question



Article Tags :