2080 9

CSC262 · 2080 · 5 marks

Design a Turing machine that computes a function f(n)=0.

Design a Turing machine that computes a function f(n)=0. [5]

Theory of ComputationChapter 6: Turing MachinesTuring Machine as a Computing FunctionNumerical: Turing machine constant function
  • Function to compute: $f(n) = 0$ for all $n \in \mathbb{N}$. - Input encoding (standard unary): a natural number $n$ is written as $n$ ones, i.e. tape holds $B,1^n,B$. - Output encoding: result $0$ is represented by $0$ ones, i.e. a blank tape. - Computability criterion (from standard definiti...