• recategorized by
2,547 views
3 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

2 Answers

3 3 votes
2 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:
Position:
Show:

Related questions

7 7 votes
4 answers 4 answers
5.6k
5.6k views
go_editor asked Aug 2, 2016
5,587 views
Given the following grammars:$G_1$$S \rightarrow AB \mid aaB$ $A \rightarrow aA \mid \epsilon$ $B \rightarrow bB \mid \epsilon$$G_2$:$S \rightarrow A \mid B$ $A \rightarr...
6 6 votes
2 answers 2 answers
3.6k
3.6k views
go_editor asked Aug 1, 2016
3,647 views
A context free grammar for $L=\{w \mid n_0 (w) n_1 (w)\}$ is given by:$S \rightarrow 0 \mid 0S \mid 1 S S$$S \rightarrow 0 S \mid 1 S \mid 0 S S \mid 1 S S \mid 0 \mid 1...
3 3 votes
2 answers 2 answers
3.2k
3.2k views
go_editor asked Jul 31, 2016
3,245 views
The transition function for the language $L=\{w \mid n_a (w) \text{ and } n_b(w) \text{ are both odd} \}$ is given by:$\delta (q_0, a)=q_1$;$\delta (q_0, b)=q_2$$\delta (...
3 3 votes
2 2 answers
7.5k
7.5k views
go_editor asked Jul 31, 2016
7,533 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)*...