Let L be a regular language. Consider the constructions on L below: repeat (L)…
GATE · 2006 · IT
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 choice of L is best suited to support your answer above?
- A.
(a + b)*
- B.
{ϵ, a, ab, bab}
- C.
(ab)*
- D.
{anbn | n ≥ 0}
Attempted by 68 students.
Sign up free to check your answer
Sign up freeLoading lesson…