recategorized by
1,962 views
3 votes
3 votes

Given the following two statements:

$S_1$: If $L_1$ and $L_2$ are recursively enumerable languages over $\Sigma^*$, then $L_1 \cup L_2$ and $L_1 \cap L_2$ are also recursively enumerable.

$S_2$: The set of recursively enumerable languages is countable.

Which of the following is true?

  1. $S_1$ is correct and $S_2$ is not correct
  2. $S_1$ is not correct and $S_2$ is correct
  3. Both $S_1$ and $S_2$ are not correct
  4. Both $S_1$ and $S_2$ are correct
recategorized by

2 Answers

3 votes
3 votes
2 votes
2 votes
L1 and L2 are R.E. then L1 ∪ L2 is RE and L1 ∩ L2 is also RE since RE is closed under union and intersection. The set of recursively enumerable languages is countable infinite. So Both are true. D is ans
Answer:

Related questions

3 votes
3 votes
2 answers
4
go_editor asked Jul 31, 2016
6,562 views
The regular expression corresponding to the language L where $L=\{ x \in \{0,1\}^* \mid x \text{ ends with 1 and does not contain substring 00} $ is(1+01)* (10+01)(1+01)*...