441 views
4 votes
4 votes

Let $L$ be the language containing only the single string $w,$ where
$$w = \begin{cases}
0 &\text{if India wins 2023 Cricket World Cup}\\
1 &\text{otherwise}
\end{cases}$$Which of the following statements regarding $L$ is TRUE?

  1. $L$ is regular
  2. $L$ is not recursive
  3. $L$ is not recursively enumerable
  4. $L$ is recursively enumerable but not recursive

2 Answers

Best answer
3 votes
3 votes
$L$ is having a single string only making it finite and hence regular as well. We don't know which string $L$ has but whichever it is, $L$ is regular.
selected by
4 votes
4 votes

To know the exact answer, we need the TIME MACHINE. 😂😂

Just kidding, the point is after the match in 2023(we have to wait for a finite amount of time), we are 100% sure that w is “0” or “1”.

Hence decidable.

As the value of w is either “0” or “1” → Regular expression : (0+1).

Hence, it is regular too.

 

Answer:

Related questions

7 votes
7 votes
1 answer
4