In the circuit diagram of a transistor above, the terminal P, Q and R represent