They use a random number generator, which will randomly pick the result of the spin. These pick a selection of random symbols to make sure the game is not fixed. This is also what makes online slot games fair to play.