Code Ninjas Interview Question

How would you get a distracted student back on task?