0

I have an exam coming up soon and I need help with this. Consider the problem:

Given a Turing machine $M$, determine if $M$ halts in at most ten steps on every input.

Is this decidable? Prove your answer.

Shaull
  • 17,159
  • 1
  • 38
  • 64
Sarh
  • 27
  • 1

1 Answers1

13

Consider the following hint:

If $M$ is a TM, and it is given an input of length $12$ (for example), but you only allow $M$ to operate for $10$ steps, what can it do with the input?

Shaull
  • 17,159
  • 1
  • 38
  • 64