Skip to content
Related Articles

Related Articles

UGC-NET | UGC NET CS 2018 Dec – II | Question 7
  • Last Updated : 15 Sep, 2020
GeeksforGeeks - Summer Carnival Banner

Consider the following two languages:
L​1​ = {x | for some y with | y| = 2|x| , xy ∈ L and L is regular language}
L2​ = { x | for some y such that |x| = |y| , xy ∈ L and L is regular language}

Which one of the following is correct?
(A) Both L​1​ and L2​ are regular languages
(B) Both L​1​ and L2​ are not regular languages
(C) Only L​1​ is regular language
(D) Only L​2 is regular language

Answer: (A)


Quiz of this Question
Please comment below if you find anything wrong in the above post

Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up
Recommended Articles
Page :