Questions: Enumeration of Turing Machines and Index Sets

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

Which of the following is an index set (as defined in computability theory)?

AW = {i : Mᵢ has exactly 7 states}
BW = {i : Mᵢ halts on input '0'}
CW = {i : the description of Mᵢ begins with the letter 'A'}
DW = {i : Mᵢ uses a binary tape alphabet}
Question 2 Multiple Choice

A software company claims to have built a tool that automatically detects whether any submitted program will go into an infinite loop on any input. According to Rice's theorem, what can be concluded about this claim?

AThe tool is possible but only for programs written in restricted languages below Turing-complete power
BThe tool is impossible for a general Turing-complete language — 'loops on some input' is a non-trivial index set and therefore undecidable
CThe tool is possible because modern static analysis techniques can approximate the halting problem well enough
DThe theorem only applies to theoretical Turing machines, not practical programming languages
Question 3 True / False

The property 'Mᵢ has exactly 5 states' is an index set and therefore undecidable by Rice's theorem.

TTrue
FFalse
Question 4 True / False

Rice's theorem implies that there can be no algorithm that reliably determines, for every program P and every property Q about P's output behavior, whether P has property Q.

TTrue
FFalse
Question 5 Short Answer

What is the distinction between an index set and a non-index-set property of Turing machines, and why does this distinction determine whether Rice's theorem applies?

Think about your answer, then reveal below.