LAB 1 Boolean Operations - Simulation
LAB 1 Boolean Operations - Simulation
MU’ADZAM SHAH
KEMENTERIAN PENDIDIKAN MALAYSIA SULTAN ABDUL HALIM
Bandar Darulaman MU’ADZAM SHAH
06000 Jitra, Tel.: 04-914 6100
KEDAH, MALAYSIA Faks : 04-917 4232
Laman Web : www.polimas.edu.my
Facebook : politeknik.edu
A. STUDENT GROUP
B. MARKS:
SCORE
TECHNICAL REPORT TOTAL
RUBRIC 1 2 3 4 (40%)
PROCEDURES x 1.0
INTRODUCTION x 1.0
RESULTS x 2.0
ANALYSIS/DISCUSSION x 2.0
CONCLUSION x 1.0
QUESTIONS x 2.0
REFERENCES x 1.0
TOTAL MARKS (%)
LABORATORY 1 BOOLEAN OPERATIONS
Introduction
A logic gate is an elementary building block of a digital circuit. Most logic gates have two inputs
and one output. At any given moment, every terminal is in one of the two binary conditions low
(0) or high (1), represented by different voltage levels. The logic state of a terminal can, and
generally does, change often, as the circuit processes data. In most logic gates, the low state is
approximately zero volts (0 V), while the high state is approximately five volts positive (+5 V).
There are seven basic logic gates: AND, OR, XOR, NOT, NAND, NOR, and XNOR.
The AND gate is so named because, if 0 is called "false" and 1 is called "true," the gate acts in
the same way as the logical "and" operator. The following illustration and table show the circuit
symbol and logic combinations for an AND gate. (In the symbol, the input terminals are at left
and the output terminal is at right.) The output is "true" when both inputs are "true." Otherwise,
the output is "false."
AND gate
The OR gate gets its name from the fact that it behaves after the fashion of the logical inclusive
"or." The output is "true" if either or both of the inputs are "true." If both inputs are "false," then
the output is "false."
OR gate
A logical inverter, sometimes called a NOT gate to differentiate it from other types of electronic
inverter devices, has only one input. It reverses the logic state.
The NAND gate operates as an AND gate followed by a NOT gate. It acts in the manner of the
logical operation "and" followed by negation. The output is "false" if both inputs are "true."
Otherwise, the output is "true."
NAND gate
The NOR gate is a combination OR gate followed by an inverter. Its output is "true" if both
inputs are "false". Otherwise, the output is "false."
NOR gate
Equipment
Procedures
X
2. Analyze the circuit and record in the following table the state of the logic display for
each combination of the switches.
TABLE 1
INPUT OUTPUT
A B C X
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
………………………………………………………………...
A
B
C
D
5. Analyze the circuit and record in the following table the state of the logic display for
each combination of the switches.
TABLE 2
INPUT OUTPUT
A B C D X
0 0 0 0
0 0 0 1
0 0 1 0
0 0 1 1
0 1 0 0
0 1 0 1
0 1 1 0
0 1 1 1
1 0 0 0
1 0 0 1
1 0 1 0
1 0 1 1
1 1 0 0
1 1 0 1
1 1 1 0
1 1 1 1
…………………………………………………………………
7. By using the Boolean Equation below, draw the circuit and connect the circuit.
8. Analyze the circuit and record in the following table the state of the logic display for
each combination of the switches.
TABLE 3
INPUT OUTPUT
Questions
1. Title Give the title of your report according to your focus in the
report
4. Conclusion and Discussion Give the conclusion on your developed algorithms and
results obtained. Discuss on the conclusion that you have
derived.
5. Questions Answer all the questions that provided in each lab sheet
given