Answer
a) clockwise
b) counter-clockwise
Work Step by Step
(a) We know that when the loop is above the magnet, the magnetic field increases and is directed out of the page. According to Lenz's law, the current in the loop will oppose the increasing field by flowing in the clockwise direction.
(b) When the loop is below the magnet, the magnetic field decreases and is directed into the page. According to Lenz's law, the current opposes the decreasing magnetic field by flowing in the counter-clockwise direction.