I need help answering this question please Find a regular la

I need help answering this question please.

Find a regular language L and a non-regular subset S of L.

Solution

Consider an example of a languge which consists of all a and b.

L={ab}* L is regular.

Consider subset S={a^nb^n|n belongs to N} N is some constant.

The subset is is a non regular subset.

Thus S is non regualr subset of L.

I need help answering this question please. Find a regular language L and a non-regular subset S of L.SolutionConsider an example of a languge which consists of

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site