Some tiny parts help computers remember. 
Tiny parts help computers remember things. 

A flip-flop is a tiny part of a computer circuit. It acts like a small piece of memory. 
These parts have two stable states. This means they stay in one position. They do not change unless a signal tells them to. One common type is the SR latch. The S stands for set. The R stands for reset. 
In an SR latch, the S input sets the state to one. The R input resets the state to zero. If both inputs are zero, the part holds its state. It keeps the last info it had. However, some settings are not allowed. If both S and R are one, the circuit breaks its rules.
Scientists first made these in 1918. William Eccles and F. W. Jordan built the first version. They used vacuum tubes to make it work. 
A flip-flop is a very important part of digital electronics. It acts as a tiny piece of memory that can store one bit of data. A bit is just a single piece of information. It is represented as either a one or a zero. 
To understand how it works, look at the SR latch. The S stands for set and the R stands for reset. You can build this using two logic gates, like NOR or NAND gates. These gates are connected in a special way called cross-coupling. This means the output of one gate is fed back into the input of the other. 
People have been working with these circuits for a long time. The first electronic latch was invented in 1918. Two British physicists named William Eccles and F. W. Jordan created it. They used vacuum tubes to make the circuit work. 
There are several different types of these storage elements. You might hear names like D, T, or JK flip-flops. Some engineers use the word "latch" for circuits that react to a steady level of signal. They use the word "flip-flop" for circuits that only change when a clock signal hits an edge.
These small circuits are everywhere in our modern world. They allow computers to perform complex tasks by keeping track of many bits at once. They can also be used for counting pulses or helping signals stay in time with a clock.
In the world of digital electronics, a flip-flop is a fundamental storage element. It is technically known as a bistable multivibrator. This means the circuit has two stable states that it can maintain. These states are used to store a single bit of data, which is a binary digit. One state represents a logical one, and the other represents a logical zero.
To understand the mechanism, we can look at the asynchronous set-reset (SR) latch. This is the most basic form of a latch. It can be built using two cross-coupled logic gates, such as NOR or NAND gates. Cross-coupling means the output of one gate is connected back to the input of the other. This feedback loop allows the circuit to remember its state. 

Engineers have developed several distinct types of these storage elements. The most common are the SR, D (data), T (toggle), and JK flip-flops. These types differ in how they respond to input signals. A latch is often described as level-triggered, meaning it is transparent while an input signal is active. In contrast, a flip-flop is usually edge-triggered, meaning it only changes state at a specific moment. This moment is the transition of a clock signal, known as a clock edge.
The history of these circuits began with the invention of the first electronic latch. In 1918, British physicists William Eccles and F. W. Jordan filed a patent for a trigger circuit. This original design used two active elements called vacuum tubes. 
The significance of flip-flops lies in their ability to manage data and timing. They are used for counting pulses and synchronizing variably-timed signals to a reference clock. In modern devices, many of these elements are packed into a single integrated circuit. For example, the 74HC75 is a chip that contains a quadruple transparent latch.
There are many ways to implement these circuits in practical hardware. A transparent latch can be built using bipolar junction transistors, field-effect transistors, or inverting logic gates. In a symmetric cross-coupled pair, two inverting stages are connected in a cascade. This creates a non-inverting loop where each stage acts as an active feedback network for the other.
Flip-flops connect to much broader topics in computer science and engineering. They are the foundation of memory systems and digital logic design. By combining many flip-flops, engineers can create complex structures like shift registers. These registers can move data through a system bit by bit. They also allow for the creation of processors that can execute millions of instructions per second. Every time a computer processes a command or saves a file, it is relying on the tiny, reliable work of these bistable circuits.
🖼️ Images & Media (25)
+ 13 more
More to explore
✨ What else?
Related topics you might enjoy
🔬 Go deeper
More advanced topics to explore
🪜 Step back
Simpler topics to build understanding
What is Nepedia?
A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.