Also used in electronics to select one of multiple possible
inputs. This is used in CPUs; a datapath element, such as a
arithmetic logic unit (ALU), will generally need to have more than
one input. For example, an ALU may take input from a register or a
sign extender.
The device that handles multiplexing of this type is called a
multiplexer or mux.