Prashnikaप्रश्निका

Computer Hardware - ISC Class 12 Computer Science Questions with Answers, Page 2

59 past-paper questions on Computer Hardware from ISC Class 12 Computer Science papers (2026-2017), newest first, in full. Questions 21-40 are on this page, 20 to a page. Tap "Show answer" under a question to see its answer.

Practise these questions with filters
2025 · 2 marks · Case basedOpen: Study the logic gate diagram given below and answer the questions that follow…

Answer the following from the logic gate diagram.

Study the logic gate diagram given below and answer the questions that follow: What will be the output of the above gate when:
Figure for this question
(a)[1.0]
$A = 1, B = 0$
(b)[1.0]
$A = 1, B = 1$
Show answer

Answer (a)

AI
The gate is an XOR gate. Output = $A \oplus B = 1 \oplus 0 = 1$

Answer (b)

AI
The gate is an XOR gate. Output = $A \oplus B = 1 \oplus 1 = 0$
2025 · 5 marks · Case basedOpen: From the logic gate diagram given below: Derive Boolean expression for X(A, B…

Answer the following from the logic gate diagram.

From the logic gate diagram given below:
Figure for this question
(a)[4.0]
Derive Boolean expression for X(A, B, C) and draw the truth table.
(b)[1.0]
Write the canonical expression for SUM and CARRY of a half adder.
Show answer

Answer (a)

AI
Truth Table for X(A,B,C):
ABCX
0001
0011
0101
0111
1001
1011
1101
1110
Final reduced expression: X(A,B,C) = A' + B' + C'
  1. From the diagram: the top gate is a 2-input NAND gate with inputs A,B giving output (A.B)'.
  2. The bottom gate is a 2-input XOR (Ex-OR) gate with inputs B,C giving output B.C' + B'.C.
  3. The final OR gate combines both outputs: X = (A.B)' + (B.C' + B'.C)
  4. By De Morgan's law, (A.B)' = A' + B'
  5. So X = A' + B' + B.C' + B'.C
  6. By the identity B' + B.C' = B' + C' (Distributive law: B' + BC' = (B'+B).(B'+C') = B'+C'), X = A' + (B'+C') + B'.C = A' + B' + C' + B'.C
  7. By the Absorption law, B' + B'.C = B', so X = A' + B' + C'

Answer (b)

AI
For a half adder with inputs A, B: SUM = A'B + AB' (canonical SOP, equivalent to A XOR B). CARRY = A.B (canonical AND term).
2025 · 5 marks · DrawingOpen: Draw the logic circuit to decode the following binary number (0001, 0101, 0111…

Draw the following.

Draw the logic circuit to decode the following binary number (0001, 0101, 0111, 1000, 1010, 1100, 1110, 1111) to its hexadecimal equivalents. Also state the Hexadecimal equivalents of the given binary numbers.

Draw: logic circuit to decode the binary numbers 0001, 0101, 0111, 1000, 1010, 1100, 1110, 1111 to their hexadecimal equivalents

Show answer

Answer

Official answer key
The 4-bit binary inputs are labelled A, B, C, D (A = MSB ... D = LSB). Each input line feeds a buffer (true form) and a NOT gate (complemented form). Each given binary number is decoded by one 4-input AND gate, taking the true or complemented form of A, B, C, D as required so the gate outputs 1 only for that exact combination: 0001 -> A'.B'.C'.D -> output labelled 1 0101 -> A'.B.C'.D -> output labelled 5 0111 -> A'.B.C.D -> output labelled 7 1000 -> A.B'.C'.D' -> output labelled 8 1010 -> A.B'.C.D' -> output labelled A 1100 -> A.B.C'.D' -> output labelled C 1110 -> A.B.C.D' -> output labelled E 1111 -> A.B.C.D -> output labelled F Hexadecimal equivalents: 0001 = 1, 0101 = 5, 0111 = 7, 1000 = 8, 1010 = A, 1100 = C, 1110 = E, 1111 = F.
A 4-to-16 line decoder built from eight 4-input AND gates. Four input lines A, B, C, D each also feed a NOT gate to make A', B', C', D' available. Each AND gate is wired to the correct combination of true/complemented literals (as listed above) so its output is 1 only for its designated 4-bit code; the 8 AND-gate outputs are labelled with their hexadecimal equivalents 1, 5, 7, 8, A, C, E, F.
2024 · 2 marks · Short answerOpen: How is a 2 to 4 decoder related to 4:1 multiplexer?

Answer the following.

How is a 2 to 4 decoder related to 4:1 multiplexer?
Show answer

Answer

AI
A 2-to-4 decoder has 2 input (select) lines and 4 output lines; for every combination of the 2 inputs exactly one of the 4 outputs becomes 1 (it generates each of the 4 minterms of the 2 input variables). A 4:1 multiplexer has 4 data-input lines, 2 select lines and a single output; the same 2 select lines choose which one of the 4 data inputs is passed to the output. So a 2-to-4 decoder is essentially the selecting/enabling core of a 4:1 MUX: if each decoder output line is ANDed with the corresponding data input, and the four AND outputs are ORed together, the result is exactly a 4:1 multiplexer - both circuits use the same 2 select lines to distinguish among the same 4 possibilities.
2024 · 1 mark · Short answerOpen: State any one application each of half adder and full adder.

Answer the following.

State any one application each of half adder and full adder.
Show answer

Answer

AI
Half adder: used where only two bits (with no carry-in) need to be added, e.g. for adding the least significant bits of two binary numbers. Full adder: used to add three bits at a time (two operand bits plus a carry-in from a previous stage), so full adders are cascaded to build a multi-bit parallel binary adder / arithmetic circuit that correctly propagates the carry.
2024 · 5 marks · DrawingOpen: Draw the logic circuit to encode the following Hexadecimal number (1, 3, 5, 6…

Draw the following.

Draw the logic circuit to encode the following Hexadecimal number (1, 3, 5, 6, 9, A, C, E) to its binary equivalents. Also state the binary equivalents of the given numbers.

Draw: logic circuit to encode the hexadecimal numbers 1, 3, 5, 6, 9, A, C, E to their binary equivalents

Show answer

Answer

AI
Binary equivalents: $1=0001,\ 3=0011,\ 5=0101,\ 6=0110,\ 9=1001,\ A=1010,\ C=1100,\ E=1110$. This is an 8-line to 4-line ENCODER: each hex digit has its own input line (I1, I3, I5, I6, I9, I10, I12, I14), active (=1) when that value is selected. Four OR gates combine these input lines to produce the 4-bit binary output B3 B2 B1 B0 (B3 = MSB): $B_3 = I_9+I_{10}+I_{12}+I_{14}$ $B_2 = I_5+I_6+I_{12}+I_{14}$ $B_1 = I_3+I_6+I_{10}+I_{14}$ $B_0 = I_1+I_3+I_5+I_9$
Diagram for this answer
2024 · 1 mark · MCQOpen: When a sequence of OR, NOT, NOR are connected in series, the logic gate…

Choose the correct option.

When a sequence of OR, NOT, NOR are connected in series, the logic gate obtained is:
  • (a)AND
  • (b)NOT
  • (c)OR
  • (d)XOR
Show answer

Answer

AI

Correct option: (c)

Answer: (c) OR A signal passed through OR then NOT then NOR (with both NOR inputs tied to the same signal, so the NOR acts as a NOT) is complemented twice, cancelling out. Two NOTs in a row leave the original OR output unchanged, so the overall circuit behaves as an OR gate.
2024 · 3 marks · DrawingOpen: Draw the logic gate diagram for 2-input OR gate using NAND gates only. Show the…

Draw the following.

Draw the logic gate diagram for 2-input OR gate using NAND gates only. Show the expression at each step.

Draw: Logic gate diagram of a 2-input OR gate using NAND gates only, with the expression at each step

Must show: NAND gates only, expression at each step

Show answer

Answer

AI
2-input OR gate using only NAND gates (three NAND gates): Step 1: NAND1 with both inputs tied to A -> output = (A.A)' = A' Step 2: NAND2 with both inputs tied to B -> output = (B.B)' = B' Step 3: NAND3 with inputs A' (from NAND1) and B' (from NAND2) -> output = (A'.B')' = A + B (De Morgan's law) So A OR B = (A NAND A) NAND (B NAND B)
Diagram for this answer
2024 · 5 marks · Long answerOpen: How is a decoder different from a multiplexer? Draw the logic circuit for 3:8…

Answer the following.

How is a decoder different from a multiplexer? Draw the logic circuit for 3:8 decoder (Octal decoder). Which multiplexer can be derived from the Octal decoder?
Show answer

Answer

AI
Decoder vs Multiplexer: A decoder is a combinational circuit that converts n input (address) lines into a maximum of 2^n unique, mutually exclusive output lines. A multiplexer selects one out of 2^n input data lines, based on n select lines, and routes it to a single output line. 3:8 Decoder (Octal decoder): It has 3 input lines (A2, A1, A0) with their complements available, an Enable input E, and 8 output lines D0 to D7, each generated by a 4-input AND gate: D0 = E.A2'.A1'.A0' D1 = E.A2'.A1'.A0 D2 = E.A2'.A1.A0' D3 = E.A2'.A1.A0 D4 = E.A2.A1'.A0' D5 = E.A2.A1'.A0 D6 = E.A2.A1.A0' D7 = E.A2.A1.A0 An 8:1 multiplexer can be derived from the 3:8 decoder: if each decoder output Di is ANDed with a data input Ii and all eight AND outputs are fed into one 8-input OR gate, the circuit selects and outputs the data input corresponding to the 3-bit address, which is exactly an 8:1 multiplexer.
Diagram for this answer
2023 · 3 marks · Long answerOpen: What is a half adder? Draw the logic circuit for the SUM and CARRY expression…

Answer the following.

What is a half adder? Draw the logic circuit for the SUM and CARRY expression of a half adder using only NAND gates.
Show answer

Answer

AI
A half adder is a combinational logic circuit that adds two single binary digits A and B, producing two outputs: SUM ($A \oplus B$) and CARRY ($A \cdot B$); it does not take any carry-in from a previous stage. Using only NAND gates (5 NAND gates, verified logically): NAND1: inputs A, B -> $N_1=(AB)'$ NAND2: inputs A, $N_1$ -> $N_2=(A \cdot N_1)'$ NAND3: inputs B, $N_1$ -> $N_3=(B \cdot N_1)'$ NAND4: inputs $N_2$, $N_3$ -> SUM $=(N_2 \cdot N_3)' = A \oplus B$ NAND5: inputs $N_1$, $N_1$ (tied together, acting as an inverter) -> CARRY $=N_1'=AB$
Diagram for this answer
2023 · 3 marks · Long answerOpen: Differentiate between half adder and full adder. Write the Boolean expression…

Answer the following.

Differentiate between half adder and full adder. Write the Boolean expression and draw the logic circuit diagram for the SUM and CARRY of a full adder.
Show answer

Answer

AI
Half adder: adds two bits (A, B) and gives SUM and CARRY; it has no input for a carry from a previous stage. Full adder: adds three bits (A, B and the carry-in C) and gives SUM and CARRY; it can be cascaded to add multi-bit numbers. Full adder expressions: $SUM = A'B'C + A'BC' + AB'C' + ABC = A \oplus B \oplus C$ $CARRY = AB + BC + AC$
Diagram for this answer
2023 · 1 mark · One wordOpen: Name the basic gate that is equivalent to two NOR gates connected in series.

Answer the following.

Name the basic gate that is equivalent to two NOR gates connected in series.
Show answer

Answer

AI
OR gate. A NOR gate with a repeated (single) input acts as a NOT gate: $NOR(X,X) = (X+X)'=X'$. So the first NOR gate gives $N_1=(A+B)'$, and the second NOR gate, with both its inputs tied to $N_1$, gives $N_1' = ((A+B)')' = A+B$. Hence two NOR gates in series (the second used as an inverter) are equivalent to a single OR gate.
2023 · 5 marks · Long answerOpen: What is an encoder? How is it different from a decoder? Draw the logic circuit…

Answer the following.

What is an encoder? How is it different from a decoder? Draw the logic circuit for a 4:1 multiplexer and explain its working.
Show answer

Answer

AI
Encoder: a combinational circuit that converts one of $2^n$ active input lines into an n-bit binary code (e.g. octal to binary encoder: 8 inputs, 3 outputs). Difference: an encoder has $2^n$ inputs and n outputs and converts a signal into a code, while a decoder does the reverse: it has n inputs and $2^n$ outputs and activates the one output line selected by the n-bit input code. 4:1 multiplexer: it has four data inputs $I_0, I_1, I_2, I_3$, two select lines $S_1, S_0$ and one output Y. $Y = S_1'S_0'I_0 + S_1'S_0I_1 + S_1S_0'I_2 + S_1S_0I_3$ Working: the select lines choose which input is passed to the output.
$S_1$$S_0$Y
00$I_0$
01$I_1$
10$I_2$
11$I_3$
Only the AND gate whose select combination matches is enabled, so the output Y equals the selected data input.
Diagram for this answer
2023 · 5 marks · Long answerOpen: What is a decoder? How is it different from a multiplexer? Draw the logic…

Answer the following.

What is a decoder? How is it different from a multiplexer? Draw the logic circuit for a 2 to 4 decoder and explain its working.
Show answer

Answer

AI
A decoder is a combinational circuit that converts n coded/binary input lines into a maximum of $2^n$ unique output lines, with exactly one output activated (HIGH) for each unique combination of inputs - it decodes a binary code into one active line among many. Difference from a multiplexer: A multiplexer (MUX) works the other way round - it has $2^n$ data input lines, n select lines, and a SINGLE output; it selects and routes ONE of its many data inputs to that single output based on the select-line combination (many-to-one). 2-to-4 decoder: 2 inputs A, B; 4 outputs D0, D1, D2, D3; built from 2 NOT gates (for A' and B') and 4 two-input AND gates: $D0 = A'B'$, $D1 = A'B$, $D2 = AB'$, $D3 = AB$
Diagram for this answer
2022 · 1 mark · MCQOpen: The expression at (1) is:

Choose the correct option.

The expression at (1) is:
  • (i)$A \cdot B$
  • (ii)$A' + B'$
  • (iii)$A + B'$
  • (iv)$A + B$
Figure for this question
Show the figure
Logic diagram: inputs A and B go to an OR gate whose output is marked (1); (1) and input C go to an AND gate whose output is marked (2); (2) goes through a NOT gate whose output is marked (3); (3) and (1) go to a final OR gate whose output is F(A,B,C).
Show answer

Answer

AI

Correct option: (iv)

Answer: (iv) $A + B$ Point (1) is the output of the first OR gate with inputs A and B.
2022 · 1 mark · MCQOpen: NAND gate is formed by the combinations of:

Choose the correct option.

NAND gate is formed by the combinations of:
  • (a)AND gate and OR gate
  • (b)OR gate and NOT gate
  • (c)NAND gate and NOT gate
  • (d)AND gate and NOT gate
Show answer

Answer

AI

Correct option: (d)

Answer: (d) AND gate and NOT gate NAND is an AND gate followed by a NOT gate.
2022 · 1 mark · MCQOpen: The combinational circuit which adds two binary bits is:

Choose the correct option.

The combinational circuit which adds two binary bits is:
  • (a)Full Adder
  • (b)Decoder
  • (c)Half Adder
  • (d)Multiplexer
Show answer

Answer

AI

Correct option: (c)

Answer: (c) Half Adder A half adder adds two binary bits giving sum and carry; a full adder adds three bits (two bits and a carry-in).
2022 · 1 mark · MCQOpen: The expression at (3) is:

Choose the correct option.

The expression at (3) is:
  • (i)$A + B \cdot C'$
  • (ii)$((A + B)' \cdot C)'$
  • (iii)$((A + B) \cdot C)'$
  • (iv)$(A + B) \cdot C$
Figure for this question
Show answer

Answer

AI

Correct option: (iii)

Answer: (iii) $((A + B) \cdot C)'$ The AND gate (2) gives $(A+B) \cdot C$; the NOT gate makes point (3) its complement.
2022 · 1 mark · MCQOpen: The final expression is:

Choose the correct option.

The final expression $F(A,B,C)$ is:
  • (i)$F = ((A + B)' \cdot C)' + (A + B)$
  • (ii)$F = (A + B)' \cdot (C + A + B)$
  • (iii)$F = ((A + B) \cdot C)' + (A + B)$
  • (iv)$F = (AB + C)' + (A + B)$
Figure for this question
Show answer

Answer

AI

Correct option: (iii)

Answer: (iii) $F = ((A + B) \cdot C)' + (A + B)$ The final OR gate combines point (3), $((A+B) \cdot C)'$, with point (1), $A+B$.

Questions on other pages on Computer Hardware

Other Computer Science chapters