A demultiplexer (DEMUX) is a digital switch that takes a single input and routes it to one of multiple outputs based on select lines. A 1-to-4 DEMUX has one input, two select lines, and four outputs, allowing the input to be routed to one of the four outputs. DEMUXs are commonly used to route a single source to multiple destinations, like routing a data signal to different devices. Sequential circuits use flip-flops and a clock signal to change states at discrete time intervals. Common types of flip-flops include SR, JK, D and T flip-flops, which differ in their number of inputs and how the inputs affect the output state. A