Digital Electronics and Logic Gates: Signals, AND Gate and OR Gate, Applications

Jasmine Grover logo

Jasmine Grover Content Strategy Manager

Content Strategy Manager

Digital electronics is a branch of electronics that deals with the study of digital signals, circuits, and the devices used to produce them. Logic gates, digital cameras, digital televisions, smartphones, computer, and their memory components, etc. are examples of digital devices. In digital electronics, a gate is a logic circuit that has one or more inputs but produces an only single output. The output signal is obtained for only certain combinations of input signals depending upon the circuits. Logic gates work on the Boolean function and produce an output concerning input. 

Key Terms: Logic Gates, OR gate, AND gate, NOT gate, NAND gate, NOR gate


Logic Gates

[Click Here for Sample Questions]

In digital electronics, a gate is a logic circuit that has one or more inputs but produces only single output. The output signal is obtained for only certain combinations of input signals depending upon the circuits. Logic gates work on the Boolean function and produce an output concerning input.

Logic gates are the basic building components of any digital system. It has one or more inputs but produces a single output.

Logic Gate Symbols

Logic Gate Symbols

Here we shall consider five logic gates namely OR, AND, NOT, NAND, NOR with their Boolean function and truth table.

The function of logic gates can be analyzed using semiconductor devices.

Also Read:


OR Gate

[Click Here for Sample Questions]

The OR gate has one or more inputs but produces only single output. If any one of the given inputs is high then the output will also high. Thus if there are N inputs A, B, C, ..., N, then output Y equals A or B or C...or N.

If there are two inputs A and B then output of OR gate will be given by following mathematical operation:

Y = A + B

Here + sign represents OR logical operation 

OR gate symbol

OR Gate Symbol

The truth table of OR gate

Input Output
A B Y = A + B
0 0 0
0 1 1
1 0 1
1 1 1

Application of OR gate

The function of the OR gate can be observed using a circuit with two parallel switches. The circuit diagram of OR gate is shown below :

Function of OR gate

The Function of the OR gate

The bulb will glow if only one switch is closed and at least one switch will be open. It can be verified using a truth table. If both the switches are open then the bulb will not glow.


AND Gate

[Click Here for Sample Questions]

The AND gate has also two or more inputs but it produces only single output. The output will be obtained 1 only when both the given inputs are 1. This if there are N inputs A, B, C, ....., N, the output Y equals to A and B and C and..... and N. The Boolean equation for AND gate is shown below :

Y = A. B or Y = A × B

Here (.) or × sign represents AND logical operation

AND gate symbol

AND gate symbol

The truth table of AND gate

Input Output
A B Y = A.B
0 0 0
0 1 0
1 0 0
1 1 1

Application of AND gate

The function of AND gate can be analyzed by connecting two switches in series. The circuit diagram of AND gate is shown below :

Function of AND gate

The function of AND gate

In this circuit, the bulb will glow only when both switches are closed and if any input will be 0 then the light will not glow or off.


NOT Gate

[Click Here for Sample Questions]

The NOT gate is a fundamental gate that has one input and one output. It changes the polarity of the input signal. Thus for input A, the output Y equals NOTA, i.e., the output is not the same as the input. The Boolean expression for NOT gate is shown below :

Y = NOT A or A

Here bar sign indicates NOT operation.

NOT gate symbol

NOT gate symbol

The truth table of NOT gate

Input Output
A Y = NOT A or A
0 1
1 0

Application of NOT gate

The function of the NOT gate can be observed by connecting a transistor in common emitter mode in the circuit. When no input is applied at the base (A=0) the transistor is cut off and no collector current flows, so the output is due to collector supply voltage is 1.

Application of NOT gate

When the input is applied at the base (i.e. A =1) transistor operates and the collector current flows in load resistance R in opposite phase, so the voltage across R annuls the collector supply voltage and no output is obtained at the inverter gate.


NAND Gate

[Click Here for Sample Questions]

NAND gate is a combination of two logic gates namely NOT and AND gate. If both inputs A and B are 1 then the output will not be 1. NAND gates are also called universal logic gates since using universal gates the basic gates can be easily realized. The Boolean expression for NAND gate is shown below :

Y = A.B

NAND gate symbol

NAND gate symbol

The Truth table of NAND gate

Input Output
A B Y = A.B
0 0 1
0 1 1
1 0 1
1 1 0

Application of NAND gate

The function of the NAND gate can be observed by combining both NOT and AND logic gates. The electric circuit for the NAND gate is shown below :

Application of NAND gate

The logic operation of the NAND gate is inverse of the basic AND gate.


NOR Gate

[Click Here for Sample Questions]

The NOR gate is a combination of two basic logic gates namely NOT and OR gates. It has two or more inputs but the output is single. Its output will be 1 only when both inputs A and B are 0. 

NOR gates are also universal gates because using these the basic gates can be easily obtained. The Boolean expression for NOR gate is shown below:

Y = A+B

NOR gate symbol

NOR gate symbol

The Truth table of NOR gate

Input Output
A B Y = A+B
0 0 1
0 1 0
1 0 0
1 1 0

Circuit diagram of NOR gate

The circuit diagram of NOR gate to observe its function is shown below :

circuit diagram of NOR gate

Circuit Diagram Of NOR Gate

Also Read:


Sample Questions

Ques. What are logic gates?  (1 mark)

Ans - The digital electronic circuits used to perform the logic operation as per the given inputs produce an output. 

Ques. Name the different types of logic gates?  (1 mark)

Ans - Commonly three fundamental logic gates viz. AND, OR, and NOT. With using these basic gates many logic gates can be obtained namely NAND, NOR, XOR, XNOR, etc.

Ques. Which of the following logic gate is also known as invertor?
a) AND gate. b) OR gate
c) NOT gate. d) NOR  (1 mark)

Ans :  c) NOT gate is known as an invertor because it inverts the polarity of the input signal.

Ques. What are universal gates? Name any two universal gates?  (1 mark)

Ans - The gates are generated by combining two or more basic gates to perform a certain logical operation called universal gates. NAND gate and NOR gate are the universal gates.

Ques. If the input is 1 in NOT gate then the resultant output will be?  (1 mark)

Ans - The NOT gate works as an invertor, if input 1 is applied to it then the output will be 0, or for input 0 output will be 1.

Ques. From which logic gates we can obtain basic logic gates?  (1 mark)

Ans - The basic logic gates can be obtained from universal gates. With using NAND and NOR logic gates the basic gates like OR, AND, NOT gates can be obtained by different configurations.

Ques. Give the Boolean expression for AND gate?  (1 mark)

Ans - The Boolean expression for AND gate is Y = A.B. Here A and B are given inputs and Y is an output equal to A.B.

Ques. Give the Boolean expression for OR logic gate? (1 mark)

Ans - The Boolean expression for OR logic gate is Y = A+B. For inputs A and B, the output will be A or B i.e. A+B.

For Latest Updates on Upcoming Board Exams, Click Here: https://t.me/class_10_12_board_updates


Check-Out: 

CBSE CLASS XII Related Questions

  • 1.
    A rectangular glass slab ABCD (refractive index 1.5) is surrounded by a transparent liquid (refractive index 1.25) as shown in the figure. A ray of light is incident on face AB at an angle \(i\) such that it is refracted out grazing the face AD. Find the value of angle \(i\).
    A rectangular glass slab ABCD (refractive index 1.5)


      • 2.
        In the circuit, three ideal cells of e.m.f. \( V \), \( V \), and \( 2V \) are connected to a resistor of resistance \( R \), a capacitor of capacitance \( C \), and another resistor of resistance \( 2R \) as shown in the figure. In the steady state, find (i) the potential difference between P and Q, (ii) the potential difference across capacitor C.
        potential difference across capacitor C


          • 3.
            A system of two conductors is placed in air and they have net charge of \( +80 \, \mu C \) and \( -80 \, \mu C \) which causes a potential difference of 16 V between them.
            (1) Find the capacitance of the system.
            (2) If the air between the capacitor is replaced by a dielectric medium of dielectric constant 3, what will be the potential difference between the two conductors?
            (3) If the charges on two conductors are changed to +160µC and −160µC, will the capacitance of the system change? Give reason for your answer.


              • 4.
                Three batteries E1, E2, and E3 of emfs and internal resistances (4 V, 2 \(\Omega\)), (2 V, 4 \(\Omega\)) and (6 V, 2 \(\Omega\)) respectively are connected as shown in the figure. Find the values of the currents passing through batteries E1, E2, and E3.
                Three batteries E1, E2, and E3 of emfs and internal resistances


                  • 5.
                    Figure shows variation of Coulomb force (F) acting between two point charges with \( \frac{1}{r^2} \), \( r \) being the separation between the two charges \( (q_1, q_2) \) and \( (q_2, q_3) \). If \( q_2 \) is positive and least in magnitude, then the magnitudes of \( q_1, q_2 \), and \( q_3 \) are such that:
                    variation of Coulomb force

                      • \( q_2<q_1<q_3 \)
                      • \( q_3<q_1<q_2 \)
                      • \( q_1<q_2<q_3 \)
                      • \( q_2<q_3<q_1 \)

                    • 6.
                      The electric field at a point in a region is given by \( \vec{E} = \alpha \frac{\hat{r}}{r^3} \), where \( \alpha \) is a constant and \( r \) is the distance of the point from the origin. The magnitude of potential of the point is:

                        • \( \frac{\alpha}{r} \)
                        • \( \frac{\alpha r^2}{2} \)
                        • \( \frac{\alpha}{2r^2} \)
                        • \( -\frac{\alpha}{r} \)
                      CBSE CLASS XII Previous Year Papers

                      Comments


                      No Comments To Show