Question

Classify the following languages over {0,1} as finite, regular, cf and beyond cf. Give the smallest...

Classify the following languages over {0,1} as finite, regular, cf and beyond cf. Give the smallest family possible!

• At most five occurences of 1

[ ] finite [ ] regular [ ] cf [ ] beyond

• Length < 20

[ ] finite [ ] regular [ ] cf [ ] beyond

• Length > 20

[ ] finite [ ] regular [ ] cf [ ] beyond

0 0
Add a comment Improve this question Transcribed image text
Answer #1

At most five occurences of 1
Answer: regular
explanation: because it may containg inifinte amount of 0's
Length < 20
Answer: finite
explanation: contains finite number of strings
   every finite language is regular but every regular is not finite,
   that's why smallest family will be finite
Length > 20
Answer: Regular
expanation: we can build finite automata for it using 21 states

Add a comment
Know the answer?
Add Answer to:
Classify the following languages over {0,1} as finite, regular, cf and beyond cf. Give the smallest...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT