A directory of Objective Type Questions covering all the Computer Science subjects. Here you can access and discuss Multiple choice questions and answers for various compitative exams and interviews.

Discussion Forum

Que. Given the following two languages:

L1 = {uww^Rn | u, v, w ϵ {a, b}+}
L2 = {uwwR^n | u, v, w ϵ {a, b}+, |u| ≥ |v|}

Which of the following is correct ?
a. L1 is regular language and L2 is not regular language
b. L1 is not regular language and L2 is regular language
c. Both L1 and L2 are regular languages
d. Both L1 and L2 are not regular languages
Answer:L1 is regular language and L2 is not regular language
Confused About the Answer? Ask for Details Here
Know Explanation? Add it Here

Similar Questions:



View All Questions on: Theory of Computation(TOC)