aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Computer Science (GATE Exam) 2010 - Previous Question Paper Solution
  • Consider the languages L1 = {0i1j | i $\ne$ j}. L2 = {0i1...
Multiple choice

Consider the languages L1 = {0i1j | i $\ne$ j}. L2 = {0i1j | i = j}. L3 = {0i1j | i = 2j +1}. L4 = {0i1j | i $\ne$2j}. Which one of the following statements is true?

  1. Only L2 is context free

  2. Only L2 and L3 are context free

  3. Only L1 and L2 are context free

  4. All are context free

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Keep practicing — related questions

  • Let L1 = {0n+m1n0m|n, m$\ge$0}. L2 = {0n+m1n+m0m|n, m$\ge$0} and L3 = {0n+m1n+m0n+m|n, m$\ge$0} Which of th...
  • Let L1 = {0n+m1n0m|n, m$\ge$0}. L2 = {0n+m1n+m0m|n, m$\ge$0} and L3 = {0n+m1n+m0n+m|n, m$\ge$0} Which of th...
  • Consider the following languages: L1 = {0p 1 q0r | p, q, r $\ge$ 0} L2 = {0p1q0r | p, p, r $\ge$ 0, p $\ne$...
  • Consider the languages L1 {an bn cm | n, m > 0} and L2 {an bm cm | n, m > 0}
  • Let L = L1 $\cap$ L2, where L1 and L2 are languages as defined below: L1 = $(a^m b^m\ ca^n b^m | m,n \ge 0)...
  • Let L = L1 $\cap$ L2, where L1 and L2 are languages as defined below: L1 = $(a^m b^m\ ca^n b^m | m,n \ge 0)...
  • What will be the output of the following code snippet in C language? main() { int j=0,i; clrscr(); for(prin...
  • What will be the result of the given code snippet in C language? main() { int x=1; clrscr(); for(;x++;x%10?...
Play the full quiz 🎤 Practise this topic out loud
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy