Consider L = L1 ∩ L2 Where L1 = {0m1m20n1n |m, n >= 0} L2 = {0m1n2k | m, n, k ≥ 0} Then, the language L is

Consider L = L1 ∩ L2 Where L1 = {0m1m20n1n |m, n >= 0} L2 = {0m1n2k | m, n, k ≥ 0} Then, the language L is Correct Answer Context free but not regular

The correct answer is option 3.

Key Points

  • L1 will first contain 0's followed by an equal number of 1's. After that, there will be a single 2 which will again be followed by 0's and an equal number of 1's i.e.   L1={2,012,00112,20011,01201,0011201,0120011,001120011,........}
  • L2={epsilon,0,1,2,01,12,012,00112,20011,01201,0011201,0120011,001120011,............}
  • L=L1∩L2={2,012,00112,0001112,........}
  • L=L1∩L2={0m1m2/ m>=0}, which is a context free language but not regular language.

∴ Hence the correct answer is Context-free but not regular.

Additional Information

[ alt="F1 Shraddha Raju 03.04.2021 D30" src="//storage.googleapis.com/tb-img/production/21/04/F1_Shraddha_Raju_03.04.2021_D30.png" style="width: 513px; height: 372px;"> 

Related Questions

Read the passage carefully and choose the best answer to each question out of the four alternatives.
Doing an internship at the University of Lille in France, I almost always found myself stuck whenever I had to speak to non-Indians about India or on anything'Indian'. This was more because of the subtle differences in the way the French understood India in comparison to what I thought was 'Indian'. For instance, when I,or any Indian for that matter, say 'Hindi' is an Indian language, what it means is that it is one of the languages widely spoken in India. This need not be similar tothe understanding that the French would have when they hear of 'Hindi' as an Indian language. Because for them Hindi then becomes the only language spoken inIndia. This is a natural inference that the French, Germans, Italians and many other European nationals would tend to make, because that is generally how it is intheir own respective countries. The risk of such inappropriate generalisations made about 'Indian' is not restricted to language alone but also for India's landscape,cuisine, movies, music, climate, economic development and even political ideologies. The magnitude of diversity of one European country can be easily compared tothat of one of the Indian State, isn't it? Can they imagine that India is one country whose diversity can be equated to that of the entire European continent? Theonus is upon us to go ahead and clarify the nuances in 'Indianness' while we converse. But why should one do so? How does it even matter to clarify? Why do some French people think that Hindi is the only Indian language?