47. Let M be a single-tape, deterministic Turing machine with tape alphabet {blank,0,1}, and let C denote the
(possibly infinite) computation of M starting with a blank tape. The input to each problem below is M, together
with a positive integer n. Which of the following problems is (are) decidable?
I. The computation C lasts for at least n steps.
II. The computation C lasts for at least n steps, and M prints a 1 at some point after the nth step.
III. M scans at least n distinct tape squares during the computation C.
(A) None
(B) III only
(C) I and II only
(D) I and III only
(E) I, II, and III
知道一点图灵机的知识,但不知道里面说的是虾米阿。
61. Which of the following problems is (are) decidable?
I. Given a (finite) string w, is w a prefix of the decimal expansion of p ?
II. Given a program and an input, is the program’s output the decimal expansion of p ?
III. Given a program that takes as input a prefix of the decimal expansion of p, is the program’s output always
the same for every prefix?
(A) I only
(B) II only
(C) III only
(D) I and II only
(E) I, II, and III
1> The key difference between "Decidable" and " NOT decidable" is to check whether the turing machine will loop on some input.
Accept or Reject both are good for "Decidable". The worst thing is loop on the input, so you don't know what it will lead to.
I> is decidable because you will know the answers after n steps. C either lasts, or not lasts.
II> M prints a 1 at some point after nth step, this is not decidable, since it may take
1 billion year to print a 1, and you are dead at that time, so is mine, so it's undecidalbe.
III> The total number configuration states of a turing machine is finite, so you will be able to know if it scans at least n steps or not.
Think about 61 yourself.
Don't worry, there are 70 questions, as long as you got 50 correct, you are well above 90%
61. Which of the following problems is (are) decidable?
I. Given a (finite) string w, is w a prefix of the decimal expansion of p ?
II. Given a program and an input, is the program’s output the decimal expansion of p ?
III. Given a program that takes as input a prefix of the decimal expansion of p, is the program’s output always the same for every prefix?