The Master and the Doctor are shown to have similar levels of intelligence , and were classmates on Gallifrey , wherein the Master outperformed the Doctor ( Terror of the Autons ) .
The Master and the Doctor are shown to have similar levels of intelligence , and were classmates on Gallifrey .