Machine-translated by Google. Questions are authored in English.
Top

Logic Gates Questions and Answers

1.

What is the Boolean expression for a NAND gate ?

Exam Year(s)

UKPSC Combined Upper Subordinate Service - 2025,

Answer: B

The NAND expression is (A·B)'.

NAND is NOT-AND: the output is the complement of A AND B, so it is 0 only when both inputs are 1.

(A + B)' is NOR, A + B is OR, and A·B is AND. NAND and NOR are called universal gates because any logic circuit can be built from either alone.

Truth table check for NAND: inputs 00, 01 and 10 give 1, and only 11 gives 0, which is exactly the complement of AND.

Please log in or register to report this question.

2.

In which of the following gates, the output is 1, if and only if at least one input is 1?

Answer: C

In OR gate  we need atleast one bit to be equal to 1 to generate the output as 1 because OR means  any of the condition out of two is equal to 1  which means  if atleast one input is 1 then it shows output as 1 . Number of 1's in input may be more than one but the output will always be 1 in OR gate. So the answer is 'C'.

Please log in or register to report this question.

3.

The time required for a gate or inverter to change its state is called

Answer: C

Correct answer: Propagation time

Propagation delay is the interval between a change at a gate's input and the corresponding change at its output. Rise and decay times describe the shape of the transition itself rather than the lag between input and output.

Please log in or register to report this question.

5.

What is the minimum number of two-input NAND gates used to perform the function of two input OR gate ?

Answer: C

Y=A+B. This is the equation of OR gate. We require 3 NAND gates to create  OR gate.  We can also write

After 1st NAND operation
Y = (A AND B)' 
Y=  A'  + B'  (Demorgan's Law)
After 2nd NAND operation
Y= ( A'  + B')'
Y=  A . B  (Demorgan's Law)
After 3rd  NAND operation
Y= ( A . B )'
Y=  A' +  B '  (Demorgan's Law)

So we need 3 NAND gates.

Please log in or register to report this question.

6.

Odd parity of a word can be conveniently tested by

Answer: D

Correct answer: XOR gate

An XOR gate outputs 1 when an odd number of its inputs are 1, which is exactly what a parity test asks. Chaining XOR gates over a word therefore gives 1 for odd parity and 0 for even. AND, OR and NOR have no such property.

Please log in or register to report this question.

7.

Which logic gate produces a HIGH output only when all of its inputs are HIGH ?

Answer: D

Correct answer: AND

The AND gate outputs 1 only for the single input combination in which every input is 1. NAND is its complement, giving 0 only in that case, while OR needs just one HIGH input.

Please log in or register to report this question.

8.

Which one of the following will give the sum of full adders as output ?

Answer: D

Correct answer: Three bit parity checker

The sum output of a full adder is \( A \oplus B \oplus C_{in} \) - it is 1 whenever an odd number of the three inputs is 1. That is precisely what a three-bit parity checker computes. The carry output, by contrast, is the majority function of the same three bits.

Please log in or register to report this question.

Answer: B

Correct answer: 1 half-adder, 15 full-adders

The least significant bit has no carry coming into it, so a half adder suffices there; each of the remaining fifteen bits must add three quantities - two bits and a carry - which needs a full adder. In general an n-bit ripple adder takes one half adder and \( n-1 \) full adders.

Please log in or register to report this question.

10.

The time required for a pulse to decrease from 90 to 10 per cent of its maximum value is called

Answer: B

Correct answer: Decay time

Decay time, or fall time, is measured between the 90 per cent and 10 per cent points on the falling edge, mirroring rise time on the leading edge. The 10 and 90 per cent marks are used because the extremes of the transition are hard to locate.

Please log in or register to report this question.

Loading…
Tags: Logic Gates Questions and Answers || Logic Gates MCQ Questions and Answers || Logic Gates GK Questions and Answers || Logic Gates GK MCQ Questions || Logic Gates Multiple Choice Questions and Answers || Logic Gates GK || GK on Logic Gates || Computer Awareness Questions and Answers || Computer Awareness MCQ Questions and Answers || Computer Awareness GK Questions and Answers || GK on Computer Awareness