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
lavi :(September 04, 2019) Consider the following languages A and B,A={0i1j∣i,j≥0,(i+j) is divisible by 2}B={i1j∣i,j≥0}which of the following statements are true?
Click to Add Comment

Confused About the Answer? Ask for Details Here
Know Explanation? Add it Here

Similar Questions: