These are called wild-card characters. They differ from one operating system/software to another. You would have to specify what software or operating system you are using.
If it is a regular expression, ? stands for one single character, which will cover Tim, Tom, Tam, Tum and Tem, as well as any other character between T and m, such as T;m, Tnm, etc. So among the four choices, T?m is the closest (for regular expressions).