Pason Systems Interview Question

Is a BJT better as an amplifier or a switch, and why?