Which of the following is true ?
(A) Every subset of a regular set is regular
(B) Every finite subset of non-regular set is regular
(C) The union of two non-regular set is not regular
(D) Infinite union of finite set is regular
Explanation: Regular languages are not closed under subset. superset, infinite intersection, and infinite union property.
But every finite language is always regular. So. option (B) is correct.
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.