All Exams  >   Grade 9  >   Computer Science for Grade 9  >   All Questions

All questions of Logic gates for Grade 9 Exam

Which of the following is not true about the Logic gate?
  • a)
    It is an electronic device that implements a Boolean function
  • b)
    It is a digital circuit that has one or more inputs but only one output
  • c)
    There is no logical relationship between input and output voltages
  • d)
    It follows a logical relationship between input and output voltages
Correct answer is option 'C'. Can you explain this answer?

Saumya Basak answered
Introduction:
Logic gates are fundamental building blocks of digital circuits. They are electronic devices that implement Boolean functions, processing input voltages to produce output voltages based on logical relationships. This response explains why option C is not true about logic gates.

Logical Relationship between Input and Output Voltages:
Logic gates follow a logical relationship between input and output voltages based on Boolean algebra. The input voltages to a logic gate can be either high (1) or low (0), and the output voltage will be determined by the specific logic function implemented by the gate.

Types and Functions of Logic Gates:
There are several types of logic gates, each with its own specific Boolean function and truth table. Some common types of logic gates include AND, OR, NOT, NAND, NOR, XOR, and XNOR gates. These gates implement different Boolean operations such as conjunction (AND), disjunction (OR), negation (NOT), and exclusive disjunction (XOR).

Input and Output Configuration:
Logic gates have one or more input terminals and a single output terminal. The output voltage of a logic gate is determined by the combination of input voltages and the specific logic function implemented by the gate. The output voltage can be either high (1) or low (0) based on the logical relationship between the inputs and the gate's function.

Importance of Logical Relationship:
The logical relationship between input and output voltages is crucial for the proper functioning of digital circuits. It ensures that the circuits perform the desired operations based on the input conditions. The logical relationship allows for the manipulation and processing of binary data in digital systems, enabling various applications such as arithmetic operations, data storage, and control functions.

Conclusion:
In summary, logic gates are electronic devices that implement Boolean functions and process input voltages to produce output voltages. The logical relationship between the input and output voltages allows for the proper functioning of digital circuits. Option C, which states that there is no logical relationship between input and output voltages, is not true about logic gates.

Identify the logic gate carried out by the following circuit.
  • a)
    OR Gate
  • b)
    AND Gate
  • c)
    NOR Gate
  • d)
    NAND gate
Correct answer is option 'D'. Can you explain this answer?

Pooja Patel answered
CONCEPT:
  • Logic gate: The digital circuit that can be analysed with the help of Boolean algebra is called a logic gate or logic circuit.
  • A logic gate has two or more inputs but only one output.
Combination of Logic Gates

The above combination of the logic gate is the NAND gate.

A NAND gate has —– inputs and —— outputs. 
  • a)
    High input and High output
  • b)
    none of these
  • c)
    Low input and low output
  • d)
    Low input and high output
Correct answer is option 'D'. Can you explain this answer?

Utkarsh Patel answered
NAND Gate Overview
A NAND gate is a fundamental digital logic gate that produces an output which is false only when all its inputs are true. It is a combination of an AND gate followed by a NOT gate.
Input and Output Characteristics
- Inputs: A NAND gate can have two or more inputs. Commonly, it is considered with two inputs for simplicity.
- Outputs: The output of a NAND gate is binary; it can either be high (1) or low (0).
Truth Table
The behavior of a NAND gate can be understood through its truth table:
- If both inputs are High (1), the output is Low (0).
- If any one of the inputs is Low (0), the output is High (1).
Why Low Input and High Output?
- Low Input Condition: When at least one input is Low (0), the output is High (1). This characteristic is what defines the NAND operation.
- High Input Condition: Only when both inputs are High (1) does the output turn Low (0). This is the only scenario where the output does not follow the typical NAND behavior.
Conclusion
Thus, the correct answer is option 'D': Low input and high output. The NAND gate's ability to produce a high output when it receives low inputs makes it essential in various digital circuits and applications, including memory and processing units. Its versatility allows it to be used in building other logic gates and complex digital systems.

When both the input signals A and B of the NOR & NAND gate are connected together, The output of the resultant circuit will be equivalent to
  • a)
    OR
  • b)
    AND
  • c)
    NOT
  • d)
    None of the above
Correct answer is option 'C'. Can you explain this answer?

Pooja Patel answered
CONCEPT:
  • Logic gate: The digital circuit that can be analyzed with the help of Boolean algebra is called a logic gate or logic circuit.
  • A logic gate has two or more inputs but only one output.
  • Logic gates works on the ruth table.
When both the input signals A and B of NOR & NAND gate are connected together, we have one common input connection hence the resultant output will be NOT gated.
As shown when both the inputs are combined in either NAND or NOR gate, they both will behave like a NOT gate

This will be the truth table for both NAND and NOR logic gate when their inputs are connected.

Electronic circuits that operate on one or more input signals to produce standard output _______
  • a)
    Series circuits
  • b)
    Parallel Circuits
  • c)
    Logic Signals
  • d)
    Logic Gates
Correct answer is option 'D'. Can you explain this answer?

Vaani Malhotra answered
Logic Gates

Logic gates are electronic circuits that operate on one or more input signals to produce a standard output. They are the building blocks of digital systems and are used to perform logical operations such as AND, OR, NOT, NAND, NOR, XOR, and XNOR.

Working Principle of Logic Gates

Logic gates work based on Boolean algebra, which is a mathematical system that deals with binary variables and logical operations. In Boolean algebra, the variables can take only two values, typically represented as 0 (false) and 1 (true). The logic gates process these binary inputs and generate binary outputs based on predefined logical operations.

Types of Logic Gates

There are several types of logic gates, each with its own unique functionality. Some of the commonly used logic gates include:

1. AND Gate: The AND gate produces a high output (logic 1) only when all of its inputs are high (logic 1).
2. OR Gate: The OR gate produces a high output (logic 1) when any of its inputs are high (logic 1).
3. NOT Gate: The NOT gate, also known as an inverter, produces the complement of its input. For example, if the input is high (logic 1), the output will be low (logic 0) and vice versa.
4. NAND Gate: The NAND gate is an AND gate followed by a NOT gate. It produces a low output (logic 0) only when all of its inputs are high (logic 1).
5. NOR Gate: The NOR gate is an OR gate followed by a NOT gate. It produces a low output (logic 0) when any of its inputs are high (logic 1).
6. XOR Gate: The XOR gate produces a high output (logic 1) when there is an odd number of high inputs.
7. XNOR Gate: The XNOR gate is an XOR gate followed by a NOT gate. It produces a high output (logic 1) when there is an even number of high inputs.

Applications of Logic Gates

Logic gates are fundamental components in digital circuits and are used in various electronic devices and systems. Some common applications of logic gates include:

1. Arithmetic circuits: Logic gates are used in arithmetic circuits such as adders, subtractors, and multipliers.
2. Memory units: Logic gates are used in memory units to store and retrieve binary information.
3. Control units: Logic gates are used in control units of computers and microprocessors to perform logical operations for instruction execution.
4. Communication systems: Logic gates are used in communication systems to encode and decode digital signals.
5. Digital displays: Logic gates are used in digital displays such as seven-segment displays to control the segments and display numbers and characters.

In conclusion, logic gates are electronic circuits that process input signals and produce standard output based on predefined logical operations. They are essential components in digital systems and have a wide range of applications in various electronic devices and systems.

 Which of the following are the arithmetic logic gates?
  • a)
    X-OR
  • b)
    X-NOR
  • c)
    Both
  • d)
    None
Correct answer is option 'C'. Can you explain this answer?

Ravi Singh answered
X-OR and X-NOR are termed as arithmetic gates because these gates are so connected that they carry out an arithmetic action and the output they give are the digits of the result. 

An inverter performs an operation known as
  • a)
    complementation
  • b)
    assertion
  • c)
    inversion
  • d)
    both answers (a) and (c)
Correct answer is option 'C'. Can you explain this answer?

Bhumi Patel answered
An inverter performs an operation known as inversion.

In the field of electronics and digital logic, an inverter is a fundamental building block that performs the operation of inversion. In simple terms, an inverter takes an input signal and produces an output signal that is the logical complement of the input.

What is inversion?

Inversion, also known as complementation, refers to the process of changing the logical state of a signal from 0 to 1 or vice versa. In other words, if the input to an inverter is high (logic 1), the output will be low (logic 0), and if the input is low (logic 0), the output will be high (logic 1).

Working principle of an inverter:

An inverter typically consists of a transistor (usually a metal-oxide-semiconductor field-effect transistor or MOSFET) and a resistor. The input signal is connected to the gate of the transistor, while the output is taken from the drain or collector terminal. The resistor is connected between the transistor's source or emitter terminal and the ground.

When the input signal is low (logic 0), the transistor is turned off, and the output is pulled up to the supply voltage through the resistor, resulting in a high output signal (logic 1). On the other hand, when the input signal is high (logic 1), the transistor is turned on, creating a path for the current to flow from the supply voltage to the ground through the transistor and resistor. This pulls the output voltage down to a low level (logic 0).

Applications of inverters:

Inverters are widely used in various electronic systems and circuits. Some of the common applications include:

1. Digital logic circuits: Inverters are essential components in digital systems, where they are used to convert signals between different logic levels.

2. Power electronics: Inverters are used to convert DC (direct current) power to AC (alternating current) power in systems such as solar inverters, uninterruptible power supplies (UPS), and motor drives.

3. Signal processing: Inverters are used in audio amplifiers and other signal processing circuits to invert and amplify signals.

4. Communication systems: Inverters play a crucial role in modulators and demodulators used in communication systems.

In conclusion, an inverter performs the operation of inversion or complementation, which involves changing the logical state of a signal from 0 to 1 or vice versa. It is a fundamental component in electronics and finds applications in various fields including digital logic, power electronics, signal processing, and communication systems.

The basic gates are:
  • a)
    AND, NOR and NOT gate
  • b)
    AND, OR and NOT gate
  • c)
    AND and NOT gate
  • d)
    OR and NOT gate
Correct answer is option 'B'. Can you explain this answer?

Advika Yadav answered
Understanding Basic Logic Gates
Logic gates are the fundamental building blocks of digital circuits. They perform basic logical functions that are essential for digital computation. The most common basic gates include:
AND Gate
- Outputs true (1) only if all inputs are true (1).
- Symbolically represented as: A · B = C (where C is the output).
OR Gate
- Outputs true (1) if at least one input is true (1).
- Symbolically represented as: A + B = C.
NOT Gate
- Outputs the inverse of the input; true (1) becomes false (0) and vice versa.
- Symbolically represented as: ¬A = C.
Importance of AND, OR, and NOT Gates
- These three gates are considered universal because any logical function can be expressed using just these gates.
- They can be combined in various ways to create complex circuits, such as adders, multiplexers, and more.
Why Option B is Correct
- Option B (AND, OR, and NOT gate) includes all necessary gates to create any Boolean function.
- The combination of these gates allows for the implementation of any digital logic circuit, making them fundamental in electronics.
Conclusion
- Understanding the functionalities of AND, OR, and NOT gates is crucial for anyone studying Electronics and Communication Engineering.
- These gates form the basis of more complex operations and are vital for circuit design and analysis.

For the given circuit, the input digital signals are applied at the terminals A, B and C. What would be the output at the terminal y ?

  • a)
  • b)
  • c)
  • d)
Correct answer is option 'C'. Can you explain this answer?

Concept:
Logic gates are:

1.AND Gate

2. NAND Gate

3. OR Gate

Calculation:
Output of combination of logic gates is given as


So the output y is high i.e., 1.
Hence, Output voltage is V0 = 5 V.


If the glow of the bulb is considered an output, the correct Boolean operation represented by the circuit diagram drawn will be:
  • a)
    AND
  • b)
    OR
  • c)
    NAND
  • d)
    NOR
Correct answer is option 'C'. Can you explain this answer?

Pooja Patel answered
From the given circuit we can see that,
  • Two Keys are connected parallel to a LED and a resistor.
  • Hence if any of the keys is open, no current will flow through keys and hence bulb will glow
  • But if both the keys are closed current will start flowing from keys instead of LEDs, since current (I) will always flow where resistance is minimum.
  • Which means the truth table for the given circuit can be given as
  • Here 1 shows key is closed and current can flows through it
  • And 0 shows key is open and current can’t flow through it

The circuit diagram shown here corresponds to the logic gate
  • a)
    OR
  • b)
    NAND
  • c)
    NOR
  • d)
    AND
Correct answer is option 'C'. Can you explain this answer?

Naroj Boda answered
CONCEPT:
  • OR gate - The OR gate is defined as the gate in which if one of the inputs is true then the result will also true.
  • AND gate - The AND gate is defined as the gate in which if one of the inputs is false then the result will also false.
  • NOT gate - The NOT gate is defined as the output attains state 1 if and only if the input does not attain state 1.
  • NOR gate - NOR gate is defined as it is the combination of NOT and OR gate.
CALCULATION:
Let us the different cases.
Case I - When A = 0, B = 0
The LED will glow.
Therefore, Y = 1
Case II - When A = 1, B = 0
The LED will not glow.
Therefore, Y = 0
Case III - When A = 0, B = 1
The LED will not glow.
Therefore, Y = 0
Case IV - When A = 1, B = 1
The LED will glow.
Therefore, Y = 0
The truth table is written as;

Here we see the results it will show the nature of NOR.
Hence, option 3) is the correct answer.

Which one is the Universal Gate?
  • a)
    OR gate
  • b)
    EX-OR gate
  • c)
    NOR gate
  • d)
    AND gate
Correct answer is option 'C'. Can you explain this answer?

Pooja Patel answered
The correct answer is NOR gate.
Concept:
  • A Universal Gate is a gate by which every other gate can be realized.
  • AND, OR, NOT, etc. are basic gates.
  • NAND, NOR  are the universal gate.
NOT, AND and OR gate realization using NAND gate is as shown:

The function of a NOT logic gate is to
  • a)
    stop the input signal
  • b)
    invert the input signal
  • c)
    amplify the input signal
  • d)
    none of the above
Correct answer is option 'B'. Can you explain this answer?

Pooja Patel answered
CONCEPT:
  • Logic gate: Logic gates are the basic building blocks of a digital system.
    • ​A logic gate works on the principle of a Boolean function which is a logical operation performed using one or more binary inputs that produce a single binary output.
    • The boolean function uses only two variables - zero or one.
    • The relationship between these inputs and the output is based on a certain logic. Based on this, logic gates are given names.
    • A few logic gates along with their symbol and truth table are as follows:

  • The high and low inputs correspond to 1 and 0 respectively.
  • In a NOT gate, a low output is obtained from a high input and vice versa.
  • Therefore, as inferred from the truth table of the NOT gate, it inverts the input signal.

When the input to an inverter is LOW (0), the output is
  • a)
    HIGH or 0
  • b)
    LOW or 0
  • c)
    HIGH or 1
  • d)
    LOW or 1
Correct answer is option 'C'. Can you explain this answer?

Yash Patel answered
When the input to an inverter is LOW (0), the output will be HIGH (1). Therefore, the correct answer is (c) HIGH or 1.
An inverter is a digital logic gate that performs the logical operation of negation. It takes an input signal and produces an output signal that is the logical complement of the input signal. In other words, if the input is 0, the output will be 1, and if the input is 1, the output will be 0.

Which of the following is not a logic gate?
  • a)
    AND
  • b)
    OR
  • c)
    IF
  • d)
    NOT
Correct answer is option 'C'. Can you explain this answer?

Sarita Yadav answered
Different types of basic logic gates that are there include AND, OR, NOT. using these gates and making different combinations out of them, various other gates like NAND, NOR, etc are created but there is no such gate by the name of IF.  

What will be the output of the combination of AND gate and NOT gate if the inputs are A and B?
  • a)
    A + B
  • b)
    A.B
  • c)
  • d)
Correct answer is option 'C'. Can you explain this answer?

Pooja Patel answered
CONCEPT
Logic gates: 
  • It is an electric circuit, which works on simple Boolean algebra to perform a logical operation for one or more binary inputs that produce a single binary output.
Types of Logic gates:
AND Gate: If both the inputs are high, it produces a high output.
  • The Boolean algebra for AND gate is X = A. B
OR gate: If any of the input is high, it produces a high output.
  • The Boolean algebra for OR gate is X = A + B
NOT gate: It inverts the input. Whatever the input is given, it changes its value at the output.
  • The Boolean algebra for NOT gate is X = X̅
  • The combination of AND gate and NOT gate gives the NAND gate.
  • he Boolean algebra for AND gate is 

Therefore option 3 is correct.

Identify the logic gate
  • a)
    AND gate
  • b)
    OR gate
  • c)
    NAND gate
  • d)
    NOR gate
Correct answer is option 'C'. Can you explain this answer?

Ravi Singh answered
CONCEPT:
  • Logic gate: The digital circuit that can be analysed with the help of Boolean algebra is called a logic gate or logic circuit.
  • A logic gate has two or more inputs but only one output.
 
EXPLANATION:
  • NOR gate: It is a digital circuit having two or more inputs but only one output.
  • It gives a high output if either input A or B or both are low (0) otherwise it gives a high output (1).
  • It is described by the Boolean expression: 
  • The above logic gate is the NOR gate.
Truth table for NOR gate:
Important Point

The truth table given below is for

(A and B are the inputs, Y is the output)
  • a)
    NAND
  • b)
    XOR
  • c)
    AND
  • d)
    NOR
Correct answer is option 'A'. Can you explain this answer?

Pooja Patel answered
CONCEPT:
  • Truth table: A truth table is a mathematical table used to represent the output of a given function based on the combination of input variables.
    • A truth table has two columns: the first column shows the combination of input variables and the last column shows the final output for each input.
  • Logic gate: Logic gates are the basic building blocks of a digital system.
    • ​A logic gate works on the principle of a Boolean function which is a logical operation performed using one or more binary inputs that produce a single binary output.
    • The boolean function uses only two variables - zero or one.
    • The relationship between these inputs and the output is based on a certain logic. Based on this, logic gates are given names.
    • A few logic gates along with their symbol and truth table are as follows:

The given truth table matches with the NAND logic gate.

Identify the logic gate
  • a)
    OR gate
  • b)
    AND gate
  • c)
    NOT gate
  • d)
    NOR gate
Correct answer is option 'A'. Can you explain this answer?

Pooja Patel answered
CONCEPT:
  • Logic gate: The digital circuit that can be analysed with the help of Boolean algebra is called a logic gate or logic circuit.
  • A logic gate has two or more inputs but only one output.
OR gate: It is a digital circuit having two or more inputs but only one output.
It gives a high output if either input A or B or both are high (1) otherwise it gives a low output (0).
It is described by the Boolean expression: A + B = Y
The above logic gate is the OR gate.
The truth table of OR gate:

The truth table given below corresponds to-
  • a)
    NOR gate
  • b)
    NAND gate
  • c)
    AND gate
  • d)
    XOR gate
Correct answer is option 'A'. Can you explain this answer?

Pooja Patel answered
CONCEPT:
  • Truth table: A truth table is a mathematical table used to represent the output of a given function based on the combination of input variables.
    • A truth table has two columns: the first column shows the combination of input variables and the last column shows the final output for each input.
  • Logic gate: Logic gates are the basic building blocks of a digital system.
    • ​A logic gate works on the principle of a Boolean function which is a logical operation performed using one or more binary inputs that produce a single binary output.
    • The boolean function uses only two variables - zero or one.
    • The relationship between these inputs and the output is based on a certain logic. Based on this, logic gates are given names.
    • A few logic gates along with their symbol and truth table are as follows:

The given truth table matches with the NOR logic gate.

Choose the incorrect statement regarding logic gates.
  • a)
    Logic gates works on truth table
  • b)
    Logic gates are used to switch on or off for any instrument
  • c)
    Logic gates are used as fuse in electric circuit
  • d)
    All are incorrect
Correct answer is option 'C'. Can you explain this answer?

Pooja Patel answered
CONCEPT:
  • Logic gate: The digital circuit that can be analyzed with the help of Boolean algebra is called a logic gate or logic circuit.
  • A logic gate has two or more inputs but only one output.
  • Logic gates work on the truth table.
AND Gate: The Logic AND Gate is a type of digital logic circuit whose output goes 1 (HIGH) only when all of its inputs are 1 (HIGH)

The truth table for AND gate:
  • As the logic gates give only one output. It is not the continuous output giving element. But the fuse should work continuously. That's why the logic gates can’t be used as a fuse in an electric circuit. So statement 3 is wrong. So option 3 is correct.
  • As the logic gates give only one output. It is not the continuous output giving element. In case of an on or off alarms, we just need only one output, either on or off. That's why the logic gates can be used to on or off the alarm. So statement 2 is correct.
  • The logic gates work on the truth table as shown in the example on the concept part because it can give either yes or no as output. So statement 1 is correct.

Chapter doubts & questions for Logic gates - Computer Science for Grade 9 2025 is part of Grade 9 exam preparation. The chapters have been prepared according to the Grade 9 exam syllabus. The Chapter doubts & questions, notes, tests & MCQs are made for Grade 9 2025 Exam. Find important definitions, questions, notes, meanings, examples, exercises, MCQs and online tests here.

Chapter doubts & questions of Logic gates - Computer Science for Grade 9 in English & Hindi are available as part of Grade 9 exam. Download more important topics, notes, lectures and mock test series for Grade 9 Exam by signing up for free.

Top Courses Grade 9