Solution:
Concept: A conductor can be charged in two ways. In conduction the charged body touches the conductor; the charge is shared and the conductor gets the same kind of charge. In induction the charged body is only held near the conductor (without touching) and the conductor is earthed for a moment; it gets the opposite kind of charge.
Step 1 — Fig. (a): rod C touches end A.
This is conduction. Extra electrons from the negative rod C flow into the metal rod AB and spread over the whole of it, so the whole rod becomes negative.
Step 2 — Charges in Fig. (a).
End A is negative and end B is negative.
Step 3 — Fig. (b): rod C held near end A.
This is induction. The negative rod C repels the free electrons of the metal rod, pushing them from end A towards end B.
Step 4 — Charges in Fig. (b).
End A (near C) is left short of electrons and is positive; end B (far from C) has extra electrons and is negative.
Watch out: In Fig. (b) the rod as a whole is still neutral; the charges at A and B are equal and opposite and vanish when C is taken away.
Therefore, in Fig. (a) both ends A and B are negative, and in Fig. (b) end A is positive and end B is negative.