Questions: Rice's Theorem and Non-Trivial Turing Machine Properties

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

Which of the following questions about a Turing machine M is covered by Rice's theorem and therefore undecidable?

ADoes M have more than 500 states in its state diagram?
BDoes M's transition function contain more than 1000 entries?
CDoes M accept the string '0110'?
DDoes M have exactly three tape symbols?
Question 2 Multiple Choice

A programmer claims they have written a tool that can perfectly detect all malware by analyzing program code. What does Rice's theorem say about this claim?

AThe claim is possible as long as the tool only checks static properties of the code, not runtime behavior
BThe claim is impossible — 'behaves maliciously' is a non-trivial property of the language a program computes, so no algorithm can decide it for all programs
CThe claim is possible if the tool uses heuristics rather than a deterministic algorithm
DRice's theorem only applies to Turing machines, not to real programming languages
Question 3 True / False

Rice's theorem implies that any question about a Turing machine is undecidable.

TTrue
FFalse
Question 4 True / False

The question 'Does this Turing machine recognize the empty language?' is undecidable by Rice's theorem.

TTrue
FFalse
Question 5 Short Answer

What is the difference between a 'property of the machine' and a 'property of the language,' and why does the distinction determine whether Rice's theorem applies?

Think about your answer, then reveal below.