Group 3 Assignment
Group 3 Assignment
1. Joseph Lekerai.
2. Caroline Njuguna.
3. Hellen Wanja.
4. Kelvin Mutie.
5. Laban
6. Alex Oluoch.
7. Joy
Logic Gates: Logic gates are the most fundamental building blocks of digital circuits. They perform
basic logical operations on binary inputs, producing a single binary output. Common logic gates
include AND, OR, NOT, XOR, NAND, and NOR gates.
Here are the truth tables for the logic gates:
AND Gate
OR Gate
NOT Gate
| Input | Output |
|-------|--------|
|0 |1 |
|1 |0 |
XOR Gate
NAND Gate
NOR Gate
3. Binary counters
Binary counters are circuits that count in a binary. They use flipflops which are like tiny switches that can
be set to either 0 or 1. Each flipflop represents a bit in the binary number. when the counter receives a clock
pulse, it increments the binary count by one.
Types of binary counters;
Parallel counters; all flipflops are triggered by the same clock signal at the same time also known as
synchronous counter.
Serial counters; only the first flipflop is triggered by the external clock, subsequential flipflops are
triggered by the outputs of the previous flipflops also known as asynchronous counters.
4. Decade counters
It is a type of counter that counts from 0 to 9 and then resets back to 0.it is called a decade counter
because it counts in base-10 system.
Encoder: An encoder converts a set of inputs into a single output code. In a decade counter,
an encoder takes the outputs of the flip-flops (representing the current count) and generates a
single output code that corresponds to the decimal equivalent of the count. For example, if
the flip-flops are in the state 1001 (representing 9), the encoder would output a code
representing 9.
Decoder: A decoder does the opposite of an encoder. It takes a single input code and converts
it into a set of outputs. In a decade counter, a decoder takes the output code from the encoder
and converts it into a set of outputs that can drive a 7-segment display to display the decimal
equivalent of the count. For example, if the encoder output code represents 9, the decoder
would activate the appropriate segments on the 7-segment display to show the digit "9."
Encoders and Decoders in decade counters act as a bridge between the binary representation of the
count in the flip-flops and the decimal representation that we want to display or use in other parts of
the circuit.
Multiplexer (MUX): A multiplexer selects one out of many input signals and routes it to a
single output. Think of it like a switch that directs traffic from multiple lanes to a single lane.
Both multiplexers and demultiplexers are used in various applications, including communication
systems, data processing, and memory addressing.
6. Light Emitting Diode(led)
LED stands for Light Emitting Diode. It's a semiconductor device that emits light when an electric
current passes through it.
LCDs and 7-segment displays are both visual display technologies used to show information.
LCD (Liquid Crystal Display): An LCD uses liquid crystals to block or allow light to pass
through, creating images. They are commonly found in TVs, computer monitors, and
mobile phone screens.
7-Segment Display: A 7-segment display uses seven LEDs arranged in a specific pattern to
display digits from 0 to 9. They are often used in clocks, calculators, and other devices that
need to display numbers.