edited by
644 views
1 votes
1 votes

Let L be the language containing only the string S where

                         S = 0        if you will never clear the gate.

                                1       if you will clear the gate some day.

Which of the following is true? (L′ is the Complement of language L)

  1. L is decidable
  2. L′ is decidable
  3. L and L′ both are decidable
  4. L is undecidable
edited by

1 Answer

2 votes
2 votes
Answer will be (C)

$L$ is either $\{0\}$ or $\{1\}$. In either case $L$ is regular and hence recursive (decidable). Since $L$ is recursive so is its complement $L'$.

PS: We still don't know what strings are there in $L$. That depends on your performance in GATE :)
edited by
Answer:

Related questions

478
views
1 answers
1 votes
Shamim Ahmed asked Jan 4, 2019
478 views
Among II and III. Which one is decidable ? Please explain in detail.
711
views
0 answers
3 votes
Sukhdip Singh asked Jan 16, 2018
711 views
Consider the following statements:S1 : Let L be language, reversal of language L cannot contain any string present in L' except ∈'.S2 : Concatenation of two different ... one of them is Φ' or ∈'.Which of the following is correct?
2.0k
views
3 answers
3 votes
468
views
2 answers
0 votes
agoh asked Dec 8, 2016
468 views
L= {(M)| M is a TM and there exists an input w, |w| < 100, on which M halts}. Is L decidable?Please explain.