Questions: Recursive Languages: The Decidable Languages

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

A Turing machine M processes every possible input string and either accepts or rejects it — always halting. Which statement about the language L = {w | M accepts w} is correct?

AL is recursively enumerable but not necessarily recursive, because a Turing machine is involved
BL is recursive (decidable), because M is a decider — it always halts and gives the correct yes/no answer
CL is recursive only if it is also context-free or regular
DL is recursive only if M halts within polynomial time on every input
Question 2 Multiple Choice

Which of the following correctly describes the relationship between recursive and recursively enumerable (RE) languages?

AEvery recursive language is RE, but not every RE language is recursive — RE is the larger class
BEvery RE language is recursive, because any recognizer can be modified to always halt
CRecursive and RE languages are disjoint — no language belongs to both classes
DRE languages are a proper subset of recursive languages, because RE is more restrictive
Question 3 True / False

If language L is recursive (decidable), then its complement L̄ (all strings not in L) is also recursive.

TTrue
FFalse
Question 4 True / False

A language is recursive if and only if there exists a Turing machine that eventually accepts most string in the language, even if it runs forever on strings not in the language.

TTrue
FFalse
Question 5 Short Answer

The class of recursive languages is described as the class of 'algorithmically solvable' problems. Why does the 'always halts' condition capture what it means to have an algorithm?

Think about your answer, then reveal below.