Regular Language & Regular Expression Flashcards
If all states of an NFA are accepting states then the language accepted by the NFA is Σ*. True or False?
False, as in NFA, it is not necessary that all states have transitions for all symbols.
There exists a regular language A such that for all languages B , A ∧ B is regular. True or false?
True, there exists a regular language {}
Every finite subset of a non-regular set is regular. True or false?
True
Every subset of a regular set is regular. True or false
False
Every finite subset of a regular set is regular. True or false
True
The intersection of two regular sets is regular. True or false
True
What is grammar in TOC?
It is a finite set of formal rules for generating syntactically correct sentences or meaningful correct sentences
Every finite language is regular. True or False
True