CBSE Class 12 Computer Science Chapter 13: Boolean Algebra NCERT Solutions

NCERT Solutions PDF Class 12 PDF

This chapter delves into the fundamental concepts of Boolean Algebra, a crucial area in computer science. The NCERT Solutions for Class 12 Computer Science, Chapter 13, provide clear explanations and step-by-step solutions for various problems related to Boolean Algebra. It covers the basics of Boolean Algebra, including universal gates (NAND and NOR) and their significance, drawing logic circuits for given Boolean expressions, and expressing logical operators using other operators. The solutions also explain and verify fundamental laws like the Associative law using truth tables. Furthermore, it addresses common misconceptions by correcting incorrect Boolean statements and applying theorems like the Complementary law and Absorption law. These solutions are designed to help students understand the core principles of Boolean Algebra, enabling them to solve problems effectively and prepare for their examinations.

Quick info

BoardCBSE
ClassClass 12
SubjectComputer Science
Session2026
LanguageEnglish
TypeNCERT Solutions
Chapter13. Boolean Algebra

Chapter summary

Chapter 13 of the CBSE Class 12 Computer Science syllabus focuses on Boolean Algebra. This section provides NCERT Solutions that explain the basics, including the identification and purpose of universal gates (NAND and NOR). It guides students through constructing logic circuits from Boolean expressions and manipulating these expressions using logical operators. Key axioms and theorems, such as the Complementary and Absorption laws, are illustrated with examples. The chapter also emphasizes the verification of laws like the Associative law through truth tables, reinforcing a solid understanding of Boolean operations.

Learning outcomes

  • Understand the concept and significance of universal gates (NAND and NOR).
  • Draw logic circuits for given Boolean expressions.
  • Express logical operators (like OR) using AND and NOT operators.
  • Identify and apply axioms and theorems of Boolean Algebra.
  • Verify Boolean laws, such as the Associative law, using truth tables.
  • Correct common errors in Boolean statements.

Topics covered

Paper topics

  • Basics of Boolean Algebra
  • Universal Gates (NAND, NOR)
  • Logic Circuits
  • Boolean Expressions
  • Logical Operators
  • Axioms and Theorems
  • Complementary Law
  • Absorption Law
  • Associative Law
  • Truth Tables

Important topics

  • Universal Gates
  • Boolean Laws and Theorems
  • Truth Table Verification
  • Logic Circuit Design
  • Expressing Operators

PDF preview

Read page by page below. PDF is streamed from the official NCERT website — no download button on this page.

Loading document …
Page of
Loading page …

Questions and Solutions

Question 1

Which logic gates are known as universal gates? Explain the reason for this designation.
Solution:

The logic gates known as universal gates are the NAND (Not-AND) gate and the NOR (Not-OR) gate. These gates are termed 'universal' because any other basic logic gate, such as an AND gate, an OR gate, or a NOT gate, can be constructed using only NAND gates or only NOR gates. Consequently, any complex Boolean function or digital circuit can be implemented using just one type of universal gate, making them highly versatile in digital circuit design.

Question 2

Draw the equivalent logic circuit for the following Boolean expression: (A.B) + C
Solution:

The given Boolean expression is (A.B)+C. This expression represents a logic circuit where:

  1. First, inputs A and B are ANDed together (A.B).
  2. The output of the AND gate is then ORed with input C ((A.B)+C).

The logic circuit would consist of one AND gate and one OR gate. The AND gate takes inputs A and B, and its output is fed as one of the inputs to the OR gate. The other input to the OR gate is C.

(Note: A visual representation of the circuit diagram would typically be included here. Since this is text-based, the description above outlines the structure.)

Question 3

Express the OR operator in terms of the AND and NOT operators.
Solution:

The OR operator (A + B) can be expressed in terms of AND (.) and NOT (') operators using De Morgan's theorems. One way to achieve this is by using the second form of De Morgan's theorem, which states that (X + Y)' = X' . Y'. If we apply the complement operation twice to the left side, we get X + Y = ((X + Y)')'. Substituting De Morgan's theorem into this, we get X + Y = (X' . Y')'.

Therefore, the OR operation A + B can be expressed as (A' . B')'.

The steps are:

  1. Complement both inputs: A' and B'.
  2. AND the complemented inputs: A' . B'.
  3. Complement the result of the AND operation: (A' . B')'.

Question 4

Specify which axioms or theorems are being used in the following Boolean reductions:
  1. (be)' + be = 1
  2. xyz + zx = xz
Solution:
  1. The Boolean reduction (be)' + be = 1 uses the Complementary Law. This law states that for any Boolean variable x, x + x' = 1. In this case, x is represented by the term be and x' by (be)'.
  2. The Boolean reduction xyz + zx = xz uses the Absorption Law. The Absorption Law states that for any Boolean variables x and y, x + xy = x and x(x+y) = x. In the given expression, we can factor out xz from both terms: xz(y + 1). Since y + 1 = 1 (Identity Law), the expression becomes xz(1), which simplifies to xz by the Identity Law. Alternatively, recognizing that zx is a factor of xyz (since xyz = xz \cdot y), the term zx is absorbed by xyz according to the Absorption Law.

Question 5

State and verify the Associative law using a Truth Table.
Solution:

Statement of Associative Law: The Associative Law in Boolean Algebra states that the order in which operations are performed does not affect the final result when grouping operands. It applies to both the OR (+) and AND (.) operations:

  • For OR operation: (A + B) + C = A + (B + C)
  • For AND operation: (A . B) . C = A . (B . C)

Verification using Truth Table for OR operation:

We need to show that the columns for (A + B) + C and A + (B + C) are identical.

A B C A + B (A + B) + C B + C A + (B + C)
0 0 0 0 0 0 0
0 0 1 0 1 1 1
0 1 0 1 1 1 1
0 1 1 1 1 1 1
1 0 0 1 1 0 1
1 0 1 1 1 1 1
1 1 0 1 1 1 1
1 1 1 1 1 1 1

As observed from the truth table, the column for (A + B) + C is identical to the column for A + (B + C). Thus, the Associative Law for OR operation is verified.

Verification using Truth Table for AND operation:

Similarly, we can verify (A . B) . C = A . (B . C).

A B C A . B (A . B) . C B . C A . (B . C)
0 0 0 0 0 0 0
0 0 1 0 0 0 0
0 1 0 0 0 0 0
0 1 1 0 0 1 0
1 0 0 0 0 0 0
1 0 1 0 0 0 0
1 1 0 1 0 0 0
1 1 1 1 1 1 1

The truth table shows that the column for (A . B) . C is identical to the column for A . (B . C), thus verifying the Associative Law for the AND operation.

Question 1

Correct the following Boolean statements:
  1. X+1 = X
  2. (A')' = A'
  3. A+A'=0
  4. (A+B)' = A.B
Solution:

Here are the corrected Boolean statements:

  1. The statement X+1 = X is incorrect. According to the Identity Law (or Dominance Law), any variable ORed with 1 results in 1. The correct statement is X+1 = 1. Alternatively, if the intention was to show that ORing with 0 leaves the variable unchanged, the correct statement would be X+0 = X.
  2. The statement (A')' = A' is incorrect. The Double Complement Law states that complementing a variable twice returns the original variable, i.e., (A')' = A. Therefore, the correct statement is (A')' = A.
  3. The statement A+A'=0 is incorrect. According to the Complementary Law, a variable ORed with its complement always results in 1. The correct statement is A+A'=1. The expression A.A'=0 is true based on the Complementary Law.
  4. The statement (A+B)' = A.B is incorrect. This is a misapplication of De Morgan's Theorem. De Morgan's theorem states that the complement of a sum is the product of the complements, i.e., (A+B)' = A'.B'. The expression A.B is the complement of (A'+B').

Common mistakes

  • Incorrectly applying Boolean laws (e.g., Complementary or Absorption laws).
  • Errors in constructing logic circuits from Boolean expressions.
  • Mistakes in constructing or interpreting truth tables for verification.
  • Confusing the properties of different logical operators.

Revision tips

  • Memorize the truth tables for basic gates and universal gates.
  • Practice drawing logic circuits for various Boolean expressions.
  • Work through the examples of applying Boolean laws and theorems.
  • Re-verify the laws using truth tables to solidify understanding.

Practice MCQs

Q1. Which of the following gates are considered universal gates in Boolean Algebra?

Q2. The Boolean expression (A.B) + C represents a logic circuit combining which operations?

Q3. According to De Morgan's theorem, the OR operator can be expressed in terms of AND and NOT operators as:

Q4. Which law is demonstrated by the Boolean expression xyz + zx = xz?

Q5. The Associative Law for addition in Boolean Algebra states that:

Frequently asked questions

What are universal gates in Boolean Algebra and why are they important?

Universal gates are logic gates from which any other logic gate (AND, OR, NOT) or any complex Boolean function can be constructed. NAND and NOR gates are the universal gates. Their importance lies in simplifying circuit design and reducing the number of different types of gates required.

How can I verify Boolean laws like the Associative Law?

Boolean laws can be verified using truth tables. You construct a table listing all possible input combinations and evaluate both sides of the equation separately. If the output columns for both sides are identical for all input combinations, the law is verified.

What is the difference between the Complementary Law and the Absorption Law?

The Complementary Law states that a variable ORed with its complement is always 1 (X + X' = 1) and a variable ANDed with its complement is always 0 (X. X' = 0). The Absorption Law simplifies expressions like X + XY = X or X(X+Y) = X.

Can you explain how to express the OR operator using AND and NOT operators?

Yes, using De Morgan's theorem, the OR operation A + B can be expressed as (A'. B')'. This means you complement both inputs (A' and B'), AND them together, and then complement the result.

What does it mean to correct a Boolean statement?

Correcting a Boolean statement involves identifying an incorrect application of Boolean laws or properties and rewriting it to adhere to the correct rules of Boolean Algebra. For example, X + 1 = 1 is the correct form, not X + 1 = X.

Content reviewed by the NCERT Help team. Editorial Team and update policy

NCERT Solutions PDF PDF on NCERT Help. URL unchanged for search indexing.