in Theory of Computation
0 votes
0 votes

Let $L$ be a regular language. Consider the constructions on $L$ below:

  1. repeat $(L) = \{ww \mid  w \in  L\}$
  2. prefix $(L) = \{u \mid ∃v : uv \in L\}$
  3. suffix $(L) = \{v \mid  ∃u : uv \in L\}$
  4. half $(L) = \{u \mid ∃v : | v | = | u | \text{ and } uv \in L\}$

Which of the constructions could lead to a non-regular language?

  1. Both I and IV
  2. Only I
  3. Only IV
  4. Both II and III
in Theory of Computation
589 points

Please log in or register to answer this question.

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
Welcome to GATE CSE Doubts, where you can ask questions and receive answers from other members of the community.