The diagram shows a spiral coil wound on a hollow cardboard tube AB. A magnetic compass is placed close to it. Current flows through the coil on closing the key.
(a) What will be the polarity at the ends A and B?
(b) How will the compass needle be affected? Give reason.
(a) A - North pole
B - South pole
(b) The north pole of the compass needle will deflect towards west. This is because end A will behave as the north pole which will repel the north pole of the compass towards west.