There are 10 possible numbers. 111 is one of the numbers. The probability is 1/10 or 0.1. There are two numbers that are smaller than 107. The probability is 2/10 or 0.2.
**Side note**: Computers actually are not random, they are pseudorandom. They are very close to random, but not quite. However this will not affect the answer.