The following figure shows a metal rod PQ mounted on an insulated stand. The cap of an uncharged electroscope touches one end Q of the metal rod. A negatively charged ebonite rod is brought near the other end P of the metal rod.

(a) What charge does the end P have?
(b) What charge does the end Q have?
(c) What charge does the cap of the electroscope have?
(d) What charge does the gold leaf have?
(e) Will the leaf diverge or collapse? Give reason.
(f) If the electroscope is now earthed, what charge does the metal rod have?