Computer-Graphics
January 1, 2025
Theory-of-Computation
January 3, 2025
Computer-Graphics
January 1, 2025
Theory-of-Computation
January 3, 2025

Theory-of-Computation

Question 18

Consider the languages L1,L2 and L3 as given below.

    L1 = {0p1q|p,q∈N},
    L2 = {0p1q|p,q∈N and p=q} and
    L3 = {0p1q0r|p,q,r∈N and p=q=r}.

Which of the following statements is NOT TRUE?

A
Push Down Automate (PDA) can be used to recognize L1 and L2
B
L1 is a regular language
C
All the three languages are context free
D
Turing machines can be used to recognize all the languages
Question 18 Explanation: 
L1: regular language
L2: context free language
L3: context sensitive language
Correct Answer: C
Question 18 Explanation: 
L1: regular language
L2: context free language
L3: context sensitive language

Leave a Reply

Your email address will not be published. Required fields are marked *