PDF chapter test TRY NOW

A toy car has a bar magnet laid hidden inside its body along its length. Using another magnet how will you find out which pole of the magnet is facing the front of the car?
 
If the front of the toy car gets attracted to the north pole of the given magnet, then it is the of the bar magnet which is hidden inside the car and vice-versa.