Open In App
Related Articles

UGC-NET | UGC NET CS 2018 Dec – II | Question 20

Improve Article
Improve
Save Article
Save
Like Article
Like

Consider the following language:

L​1​ = { an+m bn am | n, m ≥ 0 }
L​2 = { an+m bn+m an+m |n, m ≥ 0 } 

Which one of the following is correct ?
(A) Only L​1​ is Context Free Language
(B) Both L​1​ and L​2​ are not Context Free Language
(C) Only L​1​ is Context Free Language
(D) Both L​1​ and L​2​ are Context Free Language


Answer: (A)

Explanation:

Quiz of this Question

Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!

Last Updated : 02 Nov, 2021
Like Article
Save Article
Previous
Next
Similar Reads