## Common Turing Machine Mistakes - TM doesnt have a name, e.g., M = ... - TM input doesnt have a name, e.g., M = "On input w ... " - input must have a type when appropriate, e.g., M = "On input , where B is a DFA and w is a string ... - type of input must match language being recognized, e.g., if strings in the language are < B, w>, where B is a DFA and w is a string, and TM input is just a plain string, then there's no way the TM can accept strings in the language - steps must be numbered (because it's possible to say "go to step ...") - "calling" or "simulating" a TM (in the definition of another TM) without giving an argument - "calling" or "simulating" a TM and giving the wrong type of argument, e.g., passing a language when a DFA is needed, etc - unbound variables - out of scope variables, e.g., trying to references a variable that is local to inside a TM from outside that TM - **deciders** must have a **termination argument** - termination arg explains why every step of the TM can not go into an infinite loop