adplus-dvertising
frame-decoration

Question

Which one of the following is TRUE?

a.

The language L={a^n b^n |n>0 } is regular

b.

The language L={a^n |n is prime } is regular

c.

The language L={w|w has 3k+1 b’s for some k } is regular

d.

None of these

Answer: (c).The language L={w|w has 3k+1 b’s for some k } is regular

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which one of the following is TRUE?