• edited by
4,343 views
7 7 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

3 Answers

5 5 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 0 votes
Option B) is correct , Every finite subset of non-regular set is regular
Answer:
Position:
Show:

Related questions

3 3 votes
4 4 answers
4.1k
4.1k views
Satbir asked Jan 13, 2020
4,101 views
Context free languages are closed underunion, intersectionunion, kleene closureintersection, complementcomplement, kleene closure
12 12 votes
7 answers 7 answers
6.1k
6.1k views
Satbir asked Jan 13, 2020
6,120 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$
5 5 votes
4 4 answers
11.0k
11.0k views
Satbir asked Jan 13, 2020
10,985 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...
7 7 votes
12 12 answers
20.4k
20.4k views
Satbir asked Jan 13, 2020
20,372 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