For the coil in the diagram below, when the switch is pressed:
(a) What is the polarity of end A?
(b) Which way will the compass point then?
(a) End A becomes south pole. This is because from the end at the current flows in clockwise direction.
(b) The movement of the compass needle is away form the end B. As end B is the north pole.