What are the bias conditions of the base-emitter and base collector junctions for a transistor to operate as a switch?

base-emitter forward biased, base-collector reverse biased.