edited by
2,187 views
3 votes
3 votes

Which of the following is true?

  1. Every subset of a regular set is regular
  2. Every finite subset of non-regular set is regular
  3. The union of two non regular set is not regular
  4. Infinite union of finite set is regular
edited by

3 Answers

1 votes
1 votes
A. " Every subset of a regular set is regular": False. Regular Languages not closed under subset operation.

Ex: P = $(a+b)*$, Q = ${ a^nb^n, n >0}$

C." The union of two non regular set is not regular":  Not necessarily.

False Example: P $= { a^nb^n, n >100}$, Q$ = { a^nb^n, n >0} $P $\bigcup$ Q$ = { a^nb^n, n >100}$ ,

True Example: P$ = { a^nb^n, n<m, m,n>=0}$ Q$ = { a^nb^n, , n>=m, m,n>=0}$, P $\bigcup$ Q$ = { a^mb^n,m,n>=0}$

D. " Infinite union of finite set is regular ": False

In infinite union union operation is done infinite (uncountably many) times.

B. " Every finite subset of non-regular set is regular": True.

Finite language is always regular.

So B is correct.
0 votes
0 votes
Option B) is correct , Every finite subset of non-regular set is regular
Answer:

Related questions

2 votes
2 votes
4 answers
1
Satbir asked Jan 13, 2020
2,736 views
Context free languages are closed underunion, intersectionunion, kleene closureintersection, complementcomplement, kleene closure
6 votes
6 votes
5 answers
2
Satbir asked Jan 13, 2020
2,974 views
If $x+2y=30$, then $\left(\dfrac{2y}{5}+\dfrac{x}{3} \right) + \left (\dfrac{x}{5}+\dfrac{2y}{3} \right)$ will be equal to$8$$16$$18$$20$
3 votes
3 votes
4 answers
3
Satbir asked Jan 13, 2020
8,951 views
A given grammar is called ambiguous iftwo or more productions have the same non-terminal on the left hand sidea derivation tree has more than one associated sentencethere...
5 votes
5 votes
12 answers
4
Satbir asked Jan 13, 2020
9,150 views
If every non-key attribute functionally dependent on the primary key, then the relation will be inFirst normal formSecond normal formThird normal formFourth Normal form