Experiment 1 Introduction To Lab Equipment Unitrain and Implementation of Basic Functions
Experiment 1 Introduction To Lab Equipment Unitrain and Implementation of Basic Functions
Reg. # 2020-EE-411
Marks
Experiment 1
Objective:
Theory:
Binary logic deals with variables that take on two discrete values. The two values the variables may be called by
different names (true and false, yes and no, etc.), but for our purpose, it is convenient to think in terms of bits
and assign the values 1 and 0. The binary logic introduced in this section is equivalent to an algebra called
Boolean algebra.
Binary logic consists of binary variables and a set of logical operation. The variables are designated by letters of
the alphabet, such as A, B, C, x, y or i etc., with each variable having two distinct possible values: 1 and 0. There
are three basic logical operation: AND, OR and NOT.
NOT (Negation)
The two symbols shown are used to represent the NOT function. According to
DIN, the second variation Q=¬A is preferred. The first variation is also
Q= Á
permissible. It continues to be used for reasons of clarity.
Exercise 1:
A Q=A
0 1
1 0
Exercise 2
A Z=A’ Q=(A’)’
0 1 0
1 0 1
AND
The Boolean AND operation can be written in the forms Q=A^B or Q=A.B. It
should be noted that although the Boolean AND function bears certain
similarities to algebraic multiplication, there are also distinct differences.
Exercise 3:
Fig.3: Experiment set-up - AND
B A Q
0 0 0
0 1 0
1 0 0
1 1 1
Exercise 4:
Construct the following experiments and note down the results. Describe in a few words the rules that you
discover.
Result: A·0= 0
The truth table shows AND Gate output that any input LOW (0) Resultant output of AND Gate will be LOW
(0) & Output HIGH (1) only when All inputs High (1). When A=1 Then 1 . 0 = 0, When A=0 Then 0 . 0 = 0
b) ANDing with "1"
Result: A·1= A
Result: A·A= A
Result: A · ¬A = 0
How do you interpret the result?
The truth table shows AND Gate output that any input LOW (0) Resultant output of AND Gate will be LOW
(0) & Output HIGH (1) only when All inputs High (1). When A=1 & ¬A= 0, Then 1. 0 = 0, When A=0 & ¬A=
1, Then 0. 1 = 0
OR
The Boolean OR operation is usually written in the forms Q=A+B or Q=A∨B. It
should be noted that although the Boolean OR function bears certain similarities to
algebraic addition, there are also distinct differences.
Exercise 5:
B A Q
0 0 0
0 1 1
1 0 1
1 1 1
Exercise 6:
Construct the following experiments and note down the results. Describe in a few words the rules that you
discover.
a) ORing with "0"
Result: A∨0= A
Result: 1∨A= 1
Result: A∨A= A
How do you interpret the result?
The truth table shows OR Gate output that any input HIGH (1) Resultant output of OR Gate will be HIGH (1) &
Output LOW (0) only when All inputs LOW (0). When A=1 Then 1 ∨ 1 = 1, When A=0 Then 0 ∨ 0 = 0
d) ORing A∨¬A (Negation law)
Result: A ∨ ¬A = 1