3 exercises on randomness