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. Consider the following two languages:

L1 = {0i1j | gcd(i,j)=1}
L2 is any subset of 0*.

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

Similar Questions:

View All Questions on: Theory of Computation(TOC)