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

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 to various problems. Students will learn about universal gates (NAND and NOR), how to represent Boolean expressions using logic circuits, and how to express logical operators in terms of others. The solutions also cover important laws like the associative law, demonstrating their verification using truth tables. Additionally, common Boolean statements are corrected, and axioms and theorems used in Boolean reductions are identified. These solutions are designed to help students grasp the core principles of Boolean Algebra, essential for understanding digital logic and circuit design, and prepare effectively for their examinations.

Quick info

BoardCBSE
ClassClass 12
SubjectComputer Science (C++)
Session2026
LanguageEnglish
TypeNCERT Solutions
ChapterChapter 13

Chapter summary

Chapter 13, Boolean Algebra, introduces students to the foundational principles of digital logic. The NCERT Solutions cover the definition and significance of universal gates (NAND and NOR), the representation of Boolean expressions through logic circuits, and the expression of OR operations using AND and NOT. It also details the verification of the Associative Law via truth tables and identifies axioms and theorems used in Boolean reductions. The solutions address common misconceptions by correcting incorrect Boolean statements, providing a solid understanding of Boolean operations and laws.

Learning outcomes

  • Understand the concept and application of universal gates (NAND and NOR).
  • Draw logic circuits for given Boolean expressions.
  • Express logical operators using other operators.
  • Verify Boolean laws like the Associative Law using truth tables.
  • Identify axioms and theorems used in Boolean algebra simplifications.
  • Correct common errors in Boolean statements.

Topics covered

Paper topics

  • Basics of Boolean Algebra
  • Universal Gates (NAND, NOR)
  • Logic Circuits
  • Boolean Expression Representation
  • OR Operator Expression
  • Axioms and Theorems
  • Boolean Reductions
  • Complementary Law
  • Absorption Law
  • Associative Law
  • Truth Table Verification
  • Correcting Boolean Statements

Important topics

  • Universal Gates (NAND, NOR)
  • Associative Law Verification
  • Absorption Law
  • Logic Circuit Drawing
  • Boolean Expression Simplification

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 gates are known as universal gates? Why are they called universal gates?
Solution:

The gates known as universal gates are the NAND gate and the NOR gate.

They are called universal gates 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. This means that any complex digital circuit or Boolean function 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 Boolean expression is (A.B)+C. This expression involves two operations: an AND operation between A and B, and an OR operation between the result of (A.B) and C.

To draw the logic circuit:

  1. First, implement the AND operation for inputs A and B. This requires an AND gate.
  2. Next, take the output of the AND gate (which represents A.B) and use it as one input to an OR gate.
  3. The other input to the OR gate will be C.
  4. The output of the OR gate will be the final result, (A.B)+C.

The circuit diagram would consist of an AND gate with inputs A and B, and an OR gate with inputs from the AND gate's output and C.

Question 3

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

The OR operator (A + B) can be expressed in terms of AND (.) and NOT (' or overbar) operators using De Morgan's theorems. One of De Morgan's theorems states that the complement of a sum is equal to the product of the complements: (A + B)' = A' \cdot B'.

To express the OR operation itself (A + B), we can apply the complement operation twice to the above equation:

(A + B) = ((A + B)')'

Now, substituting the result from De Morgan's theorem ((A + B)' = A' \cdot B'):

A + B = (A' \cdot B')'

Therefore, the OR operator can be expressed as the complement of the AND of the complements of the operands.

Question 4

Specify which axioms/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. The Complementary Law states that for any Boolean variable x, x + x' = 1. In this case, be can be considered as a variable, and its complement is (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, zx can be factored out, resulting in zx(y + 1). Since y + 1 = 1 (Identity Law), this simplifies to zx \cdot 1 = zx. Alternatively, viewing zx as 'x' and xyz as 'xy' in the form x + xy = x, the expression simplifies to zx.

Question 5

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

Associative Law: This law states that the grouping of operands does not affect the result of the operation when the same operation is performed multiple times. It applies to both OR and AND operations.

For the OR operation:

(A + B) + C = A + (B + C)

For the 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 columns for (A + B) + C and A + (B + C) have identical values for all possible input combinations. Thus, the Associative Law for the 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 columns for (A . B) . C and A . (B . C) are identical, 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 for OR operation, X+1 = 1. The correct statement for X would be X+0 = X.
  2. The statement (A')' = A' is incorrect. The Double Complement Law states that (A')' = A. Therefore, the correct statement is (A')' = A.
  3. The statement A+A'=0 is incorrect. According to the Complementary Law, the sum of a variable and its complement is always 1, i.e., A+A'=1. The correct statement for 0 would be A.A'=0.
  4. The statement (A+B)' = A.B is incorrect. This is a direct application of De Morgan's Theorem, which states that (A+B)' = A' . B'. The expression A.B is the complement of the AND operation, not the OR operation.

Common mistakes

  • Incorrectly applying Boolean laws (e.g., Complementary Law, Absorption Law).
  • Errors in constructing or interpreting truth tables.
  • Misunderstanding the properties of universal gates.
  • Incorrectly simplifying or correcting Boolean expressions.

Revision tips

  • Focus on understanding the properties of universal gates (NAND and NOR).
  • Practice drawing logic circuits for various Boolean expressions.
  • Thoroughly review the truth table verification of Boolean laws.
  • Pay attention to the axioms and theorems used in simplification problems.
  • Work through the corrected Boolean statements to reinforce correct rules.

Practice MCQs

Q1. Which of the following 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 as:

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

Q5. The Associative Law for OR operation is stated as:

Frequently asked questions

What are universal gates in Boolean Algebra?

Universal gates are logic gates from which any other logic gate (AND, OR, NOT) or any Boolean function can be constructed. NAND and NOR gates are the two types of universal gates.

How can the OR operator be expressed using AND and NOT operators?

The OR operator (A + B) can be expressed using AND and NOT operators as (A'. B')', based on De Morgan's theorem.

What is the purpose of using truth tables in Boolean Algebra?

Truth tables are used to verify the validity of Boolean expressions and laws by systematically listing all possible input combinations and their corresponding outputs.

Which laws are commonly used in simplifying Boolean expressions?

Commonly used laws include the Complementary Law (X + X' = 1), Identity Law (X + 0 = X), Absorption Law (X + XY = X), and De Morgan's theorems.

Why is Boolean Algebra important in Computer Science?

Boolean Algebra is fundamental to digital logic design, forming the basis for how computers process information and make decisions through logic gates and circuits.

How do these NCERT solutions help in exam preparation?

These solutions provide clear, step-by-step explanations for complex problems, helping students understand the concepts, practice problem-solving techniques, and identify common mistakes to avoid during exams.

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

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