edited by
208 views
0 votes
0 votes

For two languages $\text{A, B}$ over the alphabet $\Sigma$, let the perfect shuffle of $\text{A}$ and $\text{B}$ be the language

\begin{Bmatrix}
w=a_1 b_1 a_2 b_2 \cdots a_k b_k \text{where} a_1 a_2 \cdots a_k \in \text{A} and b_1 b_2 \cdots b_k \in B.& \\ \text{and} k \in\mathbb{N}
 & 
\end{Bmatrix}

Consider the following statements.

  1. If $\text{A}$ and $\text{B}$ are regular, then perfect shuffle of $\text{A}$ and $\text{B}$ is regular.
  2. If $\text{A}$ and $\text{B}$ are regular, then perfect shuffle of $\text{A}$ and $\text{B}$ is context-free.
  3. If $\text{A}$ and $\text{B}$ are decidable, then perfect shuffle of $\text{A}$ and $\text{B}$ is decidable.

Which of above statements is/are true?

  1. All of $\text{(i), (ii) and (iii)}$.
  2. Only $\text{(i) and (ii)}$.
  3. Only $\text{(ii)}$.
  4. Only $\text{(ii) and (iii)}$.
  5. None of $\text{(i), (ii), (iii)}$ is true.

     

edited by

1 Answer

Answer:

Related questions

247
views
1 answers
0 votes
admin asked Jan 13
247 views
Let $\text{S}$ be the set of all $4$ -digit numbers created using just the digits $1,2,3,4,5$ such that no two successive digits are the same. If ... ascending order, what is the $100$ th number in this sequence?$2135$2324$2315$2352$2415$
233
views
1 answers
0 votes
admin asked Jan 13
233 views
For any positive integer $\text{N}$, let $\text{p(N)}$ be the probability that a uniformly random number $a \in\{1, \ldots, N\}$ has an odd number of factors (including 1 ... $p(N)=\Theta\left(\frac{1}{\log N}\right)$.
152
views
0 answers
0 votes
admin asked Jan 13
152 views
The four nucleotides in $\text{DNA}$ are called $\text{A, C, G}$, and $\text{T}$. Consider the following languages over the alphabet $\{\mathrm{A}, \mathrm{C}, \mathrm{G}$, ... Only $L_{1}$ and $L_{2}$.All three of $L_{1}, L_{2}, L_{3}$.
300
views
1 answers
2 votes
admin asked Jan 13
300 views
Consider the following algorithm that takes as input a positive integer $n$.if (n == 1) { return "Neither prime nor composite." } m=2 while (m < n) { if ... $p, q, r$ are distinct primes or distinct prime powers.