Prashnikaप्रश्निका
Code
About
Computer ScienceClass 12

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

189 past-paper questions on Boolean Algebra 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. The syllabus covers Propositional logic, Well formed formulae, Truth tables, Equivalence laws, Binary valued quantities, Postulates of Boolean algebra, Basic theorems of Boolean algebra and De Morgan's theorem and more.

189questions
9years
2026newest
20264 questions
1 mark · Short answerOpen: Minterm

Answer the following.

Minterm
Show the case
Given that P = 0, Q = 1, R = 0, S = 0, write its:
Show answer

Answer

For P = 0, Q = 1, R = 0, S = 0: Minterm = P' • Q • R' • S'
1 mark · Assertion-reasonOpen: Its inverse in statement form is If you do not submit your assignment on time…

Study the Assertion and Reason and choose the correct option.

Assertion: Its inverse in statement form is If you do not submit your assignment on time, then you will not get full marks for submission.

Reason: A conditional statement $P \Rightarrow Q$ can be expressed as $\sim P \vee Q$

$P$ = You submit your assignment on time $Q$ = You get full marks for submission If $P \Rightarrow Q$ then,
  • (a)Both Assertion and Reason are true and Reason is the correct explanation for Assertion.
  • (b)Both Assertion and Reason are true but Reason is not the correct explanation for Assertion.
  • (c)Assertion is true and Reason is false.
  • (d)Both Assertion and Reason are false.
Show answer

Answer

Correct option: (b)

Answer: (b) Both Assertion and Reason are true but Reason is not the correct explanation for Assertion. Assertion: The inverse of $P \Rightarrow Q$ is $\sim P \Rightarrow \sim Q$, i.e. 'If you do not submit your assignment on time, then you will not get full marks for submission' — this correctly states the inverse, so the Assertion is true. Reason: $P \Rightarrow Q \equiv \sim P \vee Q$ is also a true statement, but it explains how a conditional can be written as a disjunction — it does not explain why the given statement is the inverse of $P \Rightarrow Q$. Hence Reason does not correctly explain the Assertion.
1 mark · Short answerOpen: What is Gray code in Karnaugh map?

Answer the following.

What is Gray code in Karnaugh map?
Show answer

Answer

Gray code in a Karnaugh map is a unit-distance binary ordering (00, 01, 11, 10) used to label adjacent rows and columns such that consecutive cells differ by exactly one binary bit. This allows adjacent cells to be combined using Boolean reduction laws.
202516 questions
1 mark · Assertion-reasonOpen: If Sujata is in the merit list, then she is a topper (Y ⇒ X). Study the given…

Study the Assertion and Reason and choose the correct option.

Assertion: If Sujata is in the merit list, then she is a topper ($Y \Rightarrow X$).

Reason: Inverse is formed when both antecedent and consequent are negated.

Study the given propositions and the statements marked Assertion and Reason that follow it. Choose the correct option on the basis of your analysis. $X$ – Sujata is a topper $Y$ – Sujata is in the merit list
  • (a)Both Assertion and Reason are true and Reason is the correct explanation for Assertion.
  • (b)Both Assertion and Reason are true but Reason is not the correct explanation for Assertion.
  • (c)Assertion is true and Reason is false.
  • (d)Both Assertion and Reason are false.
Show answer

Answer

Correct option: (b)

Answer: (b) Both Assertion and Reason are true but Reason is not the correct explanation for Assertion. The Reason correctly defines an Inverse (formed by negating both antecedent and consequent). However the Assertion 'Y⇒X' is actually the Converse of the original proposition X⇒Y, not its Inverse, so the Reason (about Inverse) does not correctly explain the Assertion, even though both statements are individually true.
1 mark · MCQOpen: The complement of the Boolean expression (P + Q') · (R' + P) is:

Choose the correct option.

The complement of the Boolean expression $(P + Q') \cdot (R' + P)$ is:
  • (a)$(P \cdot Q') + (R' \cdot P)$
  • (b)$(P' \cdot Q) + (R \cdot P')$
  • (c)$(P' \cdot Q) \cdot (R \cdot P')$
  • (d)$(P + Q') \cdot (R' + P)$
Show answer

Answer

Correct option: (b)

Answer: (b) (P'.Q) + (R.P') Complement of (P + Q').(R' + P) = (P + Q')' + (R' + P)' [De Morgan's law], applying De Morgan again inside each bracket = (P'.Q) + (R.P').
5 marks · Truth tableOpen: Post pandemic, to encourage the tourism industry in India, the Ministry of…

Answer the following using a truth table.

Post pandemic, to encourage the tourism industry in India, the Ministry of Tourism started a policy in which a tourist would be allowed to book a resort at a rebate, if any one of the following criteria matches. ● The tourist has an AADHAR card and has no criminal record. ● The tourist is the government employee and has repeated the resort visit in a span of six months. ● The tourist has an AADHAR card and has repeated the resort visit in a span of six months. Inputs: - A: The tourist has an AADHAR CARD - C: The tourist has a criminal record - G: The tourist is the government employee - V: The tourist has repeated the resort visit in a span of six months Output: - F: The tourist would be allowed to book the resort at rebate. [1 indicates Yes and 0 indicates No]. Draw the truth table for inputs and outputs given above and write the Cardinal Sum of product expression for $F(A, C, G, V)$.
Show answer

Answer

ACGVF
00000
00010
00100
00111
01000
01010
01100
01111
10001
10011
10101
10111
11000
11011
11100
11111

SOP: A'C'GV + A'CGV + AC'G'V' + AC'G'V + AC'GV' + AC'GV + ACG'V + ACGV

$F = AC' + GV + AV$ (the three criteria). F is 1 in rows 3, 7, 8, 9, 10, 11, 13 and 15. Canonical SOP: $F(A,C,G,V) = \Sigma(3,7,8,9,10,11,13,15)$ $= A'C'GV + A'CGV + AC'G'V' + AC'G'V + AC'GV' + AC'GV + ACG'V + ACGV$
1 mark · MCQOpen: The complement of the Boolean expression (A · B') + (B' · C) is:

Choose the correct option.

The complement of the Boolean expression $(A \cdot B') + (B' \cdot C)$ is:
  • (a)$(A + B') \cdot (B' + C)$
  • (b)$(A' \cdot B) + (B \cdot C')$
  • (c)$(A' + B) \cdot (B + C')$
  • (d)$(A \cdot B') + (B \cdot C')$
Show answer

Answer

Correct option: (c)

Answer: (c) $(A' + B) \cdot (B + C')$ By De Morgan's law, the complement of $(A \cdot B') + (B' \cdot C)$ is $(A \cdot B')' \cdot (B' \cdot C)' = (A' + B) \cdot (B + C')$.
5 marks · Case basedOpen: F(P, Q, R, S) = (P + Q + R + S) · (P + Q + R + S') · (P + Q + R' + S) · (P + Q'…

Reduce the following using a Karnaugh map.

$F(P, Q, R, S) = (P + Q + R + S) \cdot (P + Q + R + S') \cdot (P + Q + R' + S) \cdot (P + Q' + R + S) \cdot (P + Q' + R + S') \cdot (P + Q' + R' + S) \cdot (P + Q' + R' + S') \cdot (P' + Q + R + S) \cdot (P' + Q + R + S')$
(a)[4]
Reduce the Boolean function $F(P, Q, R, S) = (P + Q + R + S) \cdot (P + Q + R + S') \cdot (P + Q + R' + S) \cdot (P + Q' + R + S) \cdot (P + Q' + R + S') \cdot (P + Q' + R' + S) \cdot (P + Q' + R' + S') \cdot (P' + Q + R + S) \cdot (P' + Q + R + S')$ by using 4-variable Karnaugh map, showing the various groups (i.e. octal, quads and pairs).
(b)[1]
Draw the logic gate diagram for the reduced expression. Assume that the variables and their complements are available as inputs.

Draw: logic gate diagram for the reduced expression

Show answer

Answer (a)

Official answer key

Groups: (0, 1, 8, 9) → (Q + R); (4, 5, 6, 7) → (P + Q'); (0, 2, 4, 6) → (P + S)

Reduced expression: F = (Q + R)(P + Q')(P + S)

Three quads of 0s: (0,1,8,9) gives Q + R, (4,5,6,7) gives P + Q', (0,2,4,6) gives P + S.

Answer (b)

Official answer key
Logic gate diagram for $F = (Q+R) \cdot (P+Q') \cdot (P+S)$, drawn from the three OR-gate outputs feeding a 3-input AND gate.
Three 2-input OR gates: OR gate 1 has inputs Q and R, giving output (Q+R). OR gate 2 has inputs P and S, giving output (P+S). OR gate 3 has inputs P and Q', giving output (P+Q'). The three OR-gate outputs are wired into the three inputs of a 3-input AND gate, whose output is labelled F(P,Q,R,S) = (Q+R).(P+Q').(P+S).
1 mark · MCQOpen: Commutative law states that:

Choose the correct option.

Commutative law states that:
  • (a)$A \cdot (A + B) = A$
  • (b)$(A \cdot B) \cdot C = A \cdot (B \cdot C)$
  • (c)$A + (B + C) = (A + B) + C$
  • (d)$(A + B) = (B + A)$
Show answer

Answer

Correct option: (d)

Answer: (d) (A+B) = (B+A) The Commutative law states that changing the order of operands does not change the result: A+B = B+A (and similarly A.B = B.A).
1 mark · Assertion-reasonOpen: s2 is converse of s1 Study the given propositions and the statements marked…

Study the Assertion and Reason and choose the correct option.

Assertion: s2 is converse of s1

Reason: Three-sided polygon must be a triangle.

Study the given propositions and the statements marked Assertion and Reason that follow it. Choose the correct option on the basis of your analysis. p = I am a triangle q = I am a three-sided polygon s1 = $p \rightarrow q$ s2 = $q \rightarrow p$
  • (a)Both Assertion and Reason are true and Reason is the correct explanation for Assertion.
  • (b)Both Assertion and Reason are true but Reason is not the correct explanation for Assertion.
  • (c)Assertion is true and Reason is false.
  • (d)Assertion is false and Reason is true.
Show answer

Answer

Official answer key

Correct option: (b)

Answer: (b) Both Assertion and Reason are true but Reason is not the correct explanation for Assertion. Given $s1: p \rightarrow q$, its converse is $q \rightarrow p$, which is exactly $s2$, so the Assertion ('s2 is the converse of s1') is true - this is a structural/definitional fact about conditionals. The Reason ('a three-sided polygon must be a triangle') is also true, but it is a fact of geometry, unrelated to why $s2$ is termed the converse of $s1$ - so it does not explain the Assertion.
1 mark · Assertion-reasonOpen: If it is not a Sunday, then it is not a holiday. (Q' ⇒ P') Study the given…

Study the Assertion and Reason and choose the correct option.

Assertion: If it is not a Sunday, then it is not a holiday. ($Q' \Rightarrow P'$)

Reason: Inverse is formed when antecedent and consequent are interchanged.

Study the given propositions and the statements marked, Assertion and Reason that follow it. Choose the correct option on the basis of your analysis. P – It is a holiday Q – It is a Sunday
  • (a)Both Assertion and Reason are true and Reason is the correct explanation for Assertion.
  • (b)Both Assertion and Reason are true but Reason is not the correct explanation for Assertion.
  • (c)Assertion is true and Reason is false.
  • (d)Both Assertion and Reason are false.
Show answer

Answer

Correct option: (c)

Answer: (c) Assertion is true and Reason is false. $Q' \Rightarrow P'$ is the contrapositive of $P \Rightarrow Q$, and a contrapositive is always logically equivalent to the original conditional, so the Assertion is a valid, true transformation. However, the Reason is false: the Inverse of a conditional is formed by negating both the antecedent and consequent ($\sim P \Rightarrow \sim Q$), not by interchanging them - interchanging antecedent and consequent gives the Converse, not the Inverse.
5 marks · Case basedOpen: From the logic gate diagram given below: Derive Boolean expression for (1), (2)…

Answer the following from the logic gate diagram.

From the logic gate diagram given below:
Figure for this question
(a)[4]
Derive Boolean expression for (1), (2) and R. Reduce the derived expression.
(b)[1]
Name the logic gate that represents the reduced expression.
Show answer

Answer (a)

Checked answer.
(1) $= (A \oplus B)' = A \cdot B + A' \cdot B'$, (2) $= A + B$, $R = (A \cdot B)' = A' + B'$
  1. The first gate is an XNOR gate with inputs A and B: (1) $= (A \oplus B)' = A \cdot B + A' \cdot B'$
  2. The second gate is an OR gate with inputs A and B: (2) $= A + B$
  3. The last gate is a NAND gate with inputs (1) and (2): $R = [(A \cdot B + A' \cdot B') \cdot (A + B)]'$
  4. Expanding: $(A \cdot B + A' \cdot B') \cdot (A + B) = A \cdot B + A \cdot B \cdot B + A \cdot A' \cdot B' + A' \cdot B \cdot B'$
  5. $A \cdot A' = 0$ and $B \cdot B' = 0$ (Complement law), and $A \cdot B + A \cdot B = A \cdot B$ (Idempotent law), so the product is $A \cdot B$
  6. $R = (A \cdot B)' = A' + B'$ (De Morgan's law)

Answer (b)

Checked answer.
$R = (A \cdot B)'$, so the reduced expression represents a NAND gate.
1 mark · MCQOpen: The complement of the reduced expression of F(A, B) = Σ (0, 1, 2, 3) is:

Choose the correct option.

The complement of the reduced expression of $F(A, B) = \Sigma (0, 1, 2, 3)$ is:
  • (a)1
  • (b)$A \cdot B$
  • (c)0
  • (d)$A' + B'$
Show answer

Answer

Official answer key

Correct option: (c)

Answer: (c) 0 For 2 variables A and B there are only 4 possible minterms (0,1,2,3), and $F(A,B)=\Sigma(0,1,2,3)$ includes all of them, so the reduced expression is $F=1$ (always true). The complement of this reduced expression is therefore $1'=0$.
1 mark · Assertion-reasonOpen: The contrapositive of p' ⇒ q is q' ⇒ p.

Study the Assertion and Reason and choose the correct option.

Assertion: The contrapositive of $p' \Rightarrow q$ is $q' \Rightarrow p$.

Reason: Contrapositive is the conditional statement, obtained after interchanging antecedent and consequent.

  • (a)Both A and R are true, and R is the correct explanation of A.
  • (b)Both A and R are true, but R is not the correct explanation of A.
  • (c)A is true, but R is false.
  • (d)A is false, but R is true.
Show answer

Answer

Correct option: c

Answer: (c) A is true, but R is false. For p' => q, the contrapositive negates both sides and swaps them: ~q => ~(p') = q' => p, exactly as the assertion states, so A is true. R is false because it describes only interchanging the antecedent and consequent without negating them - that is the definition of the converse, not the contrapositive.
5 marks · Case basedOpen: Given the Boolean function F(P,Q,R,S) = Σ(2,3,5,7,8,10,11,12,13,15). Reduce the…

Answer the following questions.

Given the Boolean function $F(P,Q,R,S) = \Sigma(2,3,5,7,8,10,11,12,13,15)$.
(a)[3]
Reduce the above expression by using a 4-variable Karnaugh map, showing the various groups (i.e. octal, quads and pairs).
(b)[2]
Draw the logic gate diagram for the reduced expression using NAND gate only. Assume that the variables and their complements are available as inputs.

Draw: Logic gate diagram for reduced expression using only NAND gates

Must show: NAND gates

Show answer

Answer (a)

Groups: (5, 7, 13, 15) → QS; (2, 3, 10, 11) → Q'R; (8, 12) → PR'S'

Reduced expression: F = QS + Q'R + PR'S'

Quad ($m_5, m_7, m_{13}, m_{15}$): $Q = 1, S = 1$, term $QS$ Quad ($m_2, m_3, m_{10}, m_{11}$): $Q = 0, R = 1$, term $Q'R$ Pair ($m_8, m_{12}$): $P = 1, R = 0, S = 0$, term $PR'S'$ Hence $F(P,Q,R,S) = QS + Q'R + PR'S'$

Answer (b)

NAND-NAND form of $F = QS + Q'R + PR'S'$: one NAND gate for each product term and a 3-input NAND gate combining them, since $[(QS)' \cdot (Q'R)' \cdot (PR'S')']' = QS + Q'R + PR'S'$ by De Morgan's law.
Diagram for this answer
3 marks · Truth tableOpen: By using truth table, verify if the following proposition is valid or not.

Answer the following using a truth table.

By using truth table, verify if the following proposition is valid or not.
Show answer

Answer

XY~X~X => Y(~X => Y) ∧ XX ∧ ~YX ∧ Y(X ∧ ~Y) ∨ (X ∧ Y)(~X => Y) ∧ X <=> (X ∧ ~Y) ∨ (X ∧ Y)
001000001
011100001
100111011
110110111
Both sides have the same value in every row (the last column is all 1s), so the proposition is valid.
1 mark · DifferentiateOpen: Differentiate between Tautology and Contradiction.

Differentiate between the following.

Differentiate between Tautology and Contradiction.
Show answer

Answer

A Tautology is a compound proposition that is TRUE for every possible combination of truth values of its component propositions (the result column of its truth table is all 1's). A Contradiction is a compound proposition that is FALSE for every possible combination of truth values of its component propositions (the result column of its truth table is all 0's).
10 marks · Case basedOpen: A food delivery app offers free home delivery to its customers who meet any of…

Answer the following using a truth table and a Karnaugh map.

A food delivery app offers free home delivery to its customers who meet any of the following criteria. • The order is above ₹ 1000 and payment is made through UPI OR • Food is ordered from a partner restaurant and payment is made through UPI OR • The customer uses the app for the first time and places order above ₹ 1000 The inputs are:
INPUTS
AOrder is above ₹ 1000
UPayment is done through UPI
PFood is ordered from a partner restaurant
FCustomer uses the app for the first time
(In all the above cases, 1 indicates YES, 0 indicates NO) Output: D - Denotes free home delivery [1 indicates YES and 0 indicates NO in all cases]
(i)[5]
Draw a truth table for the inputs and the outputs given above. Write the SOP expression for D(A, U, P, F).
(ii)(a)[2.5]
Reduce the above expression D(A, U, P, F) by using 4-variable Karnaugh map, showing the various groups (i.e., octal, quads and pairs).
(ii)(b)[2.5]
Draw the logic gate diagram for the reduced expression using NAND gates only. Assume that the variables and their complements are available as inputs.

Draw: logic gate diagram using NAND gates only for the reduced expression

Show answer

Answer

3(i): | A | U | P | F | D |
00000
00010
00100
00110
01000
01010
01101
01111
10000
10011
10100
10111
11001
11011
11101
11111
D(A,U,P,F) = Σm(6,7,9,11,12,13,14,15) SOP expression: D(A,U,P,F) = A'UPF' + A'UPF + AU'P'F + AU'PF + AUP'F' + AUP'F + AUPF' + AUPF 3(ii): K-map (variables A, U, P, F) grouping the eight 1s (minterms 6, 7, 9, 11, 12, 13, 14, 15) into three quads (verified with the boolean tool): Quad 1: cells 12, 13, 14, 15 (A=1, U=1) → term A.U Quad 2: cells 9, 11, 13, 15 (A=1, F=1) → term A.F Quad 3: cells 6, 7, 14, 15 (U=1, P=1) → term U.P Reduced (minimal) SOP: D(A,U,P,F) = A.U + A.F + U.P With NAND gates only (NAND-NAND): one 2-input NAND gate for each term and a 3-input NAND gate combining them, since $[(AU)' \cdot (AF)' \cdot (UP)']' = AU + AF + UP$ by De Morgan's law.

About Boolean Algebra

Boolean Algebra is a unit of the ISC Class 12 Computer Science syllabus.

The syllabus lists these topics: Propositional logic, Well formed formulae, Truth tables, Equivalence laws, Binary valued quantities, Postulates of Boolean algebra, Basic theorems of Boolean algebra, De Morgan's theorem, SOP and POS forms and Karnaugh maps.

Prashnika has 189 past-paper questions on Boolean Algebra, from papers of 2017-2026, asked in 9 different years. By kind: MCQ (53), Short answer (40), Truth table (22) and Case based (16). They carry between 0.5 and 10 marks, and most are worth 1 mark.

To practise, use the Boolean algebra solver and the paper generator, which can build a practice paper from this chapter.

Common questions

What topics are in Boolean Algebra in ISC Class 12 Computer Science?

The syllabus lists Propositional logic, Well formed formulae, Truth tables, Equivalence laws, Binary valued quantities, Postulates of Boolean algebra, Basic theorems of Boolean algebra, De Morgan's theorem, SOP and POS forms and Karnaugh maps.

How many questions on Boolean Algebra are in ISC Class 12 Computer Science past papers?

Prashnika has 189 questions on Boolean Algebra, from papers of 2017-2026 (board, specimen, improvement and practice papers together).

What kinds of questions are asked on Boolean Algebra?

By kind: MCQ (53), Short answer (40), Truth table (22) and Case based (16).

Questions on other pages on Boolean Algebra