Mendoza - Experiment No.8
Mendoza - Experiment No.8
Mendoza - Experiment No.8
2. A bulb in a staircase has two switches, one switch being at the ground floor and the other one at the first
floor. The bulb can be turned ON and also can be turned OFF by and one of the switches irrespective of the
state of the other switch. The logic of switching of the bulb resembles. Express the process in terms of digital
operation, used software simulation and draw the schematic diagram.
1. Draw a circuit to realize each of the expressions using AND gates, OR gates and Inverter.
01 10 11
00 01 01
01
01
Inputs Output
A B Y
0 0 1
0 1 0
1 0 0
1 1 1
000 001 010 011
01 01 01
01
110 111
100 101 01 01
01
Inputs Output
A B C Y
0 0 0 1
0 0 1 0
0 1 0 0
0 1 1 0
1 0 0 0
1 0 1 1
1 1 0 1
1 1 1 1
Inputs Output
A B C Y
0 0 0 1
0 0 1 0
0 1 0 1
0 1 1 0
1 0 0 1
1 0 1 0
1 1 0 1
1 1 1 1
00 01 10 11
01 01
Inputs Output
A B Y
0 0 1
0 1 1
1 0 1
1 1 1
2. A bulb in a staircase has two switches, one switch being at the ground floor and the other one at the first
floor. The bulb can be turned ON and also can be turned OFF by and one of the switches irrespective of the
state of the other switch. The logic of switching of the bulb resembles. Express the process in terms of digital
operation, used software simulation and draw the schematic diagram.
00 01 10 11
Inputs Output
A B Y
0 0 0
0 1 1
1 0 1
1 1 0
As for the observations, it has been concluded that an XOR gate function is used in the certain scenario. Since
its goal is to attain a high output if both inputs are different, it correlates with the logic function which makes the
bulb turns off if otherwise. For this to happen, the loads of the switches must be connected in opposite directions
along to each other to attain the logic function which was required in the scenario.