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

NCERT Solutions PDF Class 12 PDF

CBSE Class 12 Computer Science chapter introduces the foundational principles of Boolean Algebra, essential for grasping digital logic and computer architecture. The NCERT Solutions explore key areas such as expressing the OR operator through AND and NOT, applying De Morgan's laws, and recognizing universal gates like NAND and NOR. It also details the verification of the Associative law for both addition and multiplication, utilizing truth tables. These solutions offer detailed, sequential explanations and proofs, simplifying intricate Boolean operations for students. A solid understanding of these concepts is paramount for developing a robust base in digital electronics and computer programming, significantly assisting in exam preparation and tackling related problems effectively.

Quick info

BoardCBSE
ClassClass 12
SubjectComputer Science (Python)
Session2026
LanguageEnglish
TypeNCERT Solutions
ChapterChapter 6

Chapter summary

Chapter 6 of the CBSE Class 12 Computer Science syllabus focuses on Boolean Algebra. This section provides NCERT Solutions that explain the basics, including expressing logical operations like OR using AND and NOT. It covers De Morgan's theorems, the concept and importance of universal gates (NAND and NOR), and a detailed explanation and verification of the Associative law through truth tables. The solutions aim to clarify these core principles for students.

Learning outcomes

  • Understand the relationship between OR, AND, and NOT operators.
  • Apply De Morgan's laws to simplify Boolean expressions.
  • Identify and explain the significance of universal gates (NAND and NOR).
  • Verify the Associative law for Boolean addition and multiplication using truth tables.
  • Solve basic Boolean algebra reduction problems.

Topics covered

Paper topics

  • Basics of Boolean Algebra
  • OR Operator
  • AND Operator
  • NOT Operator
  • De Morgan's Laws
  • Universal Gates (NAND, NOR)
  • Associative Law
  • Truth Tables
  • Boolean Reductions

Important topics

  • De Morgan's Laws
  • Universal Gates
  • Associative Law Verification
  • 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

Express the OR operator in terms of the AND and NOT operators.
Solution: The OR operator (A + B) can be expressed using AND and NOT operators by applying De Morgan's laws. De Morgan's laws state that (X \cdot Y)' = X' + Y' and (X + Y)' = X' \cdot Y'.

Starting with the expression for NOT (A + B), which is (A + B)', we can apply the second law to get A' \cdot B'. Now, if we take the complement of this result, we get (A' \cdot B')'. Applying the rule that (X')' = X, we find that (A' \cdot B')' = A + B. Therefore, the OR operator can be expressed as (A' \cdot B')' using only AND and NOT operators.

Question 2

Specify which axioms/theorems are being used in the following Boolean reductions:
  1. (bc)' + bc = 1
  2. xyz + zx = xz
Solution:
  1. The reduction (bc)' + bc = 1 uses the Complementary Law. This law states that for any Boolean variable x, x + x' = 1. In this case, x is represented by (bc) and x' by (bc)'.
  2. The reduction xyz + zx = xz uses the Absorption Law. The absorption law can be stated in two forms: x + xy = x and x(x + y) = x. In this specific case, we can factor out xz from both terms: xz(y + 1). Since y + 1 = 1 (Identity Law), the expression simplifies to xz(1) = xz. This demonstrates the principle of absorption where the term y is absorbed.

Question 3

Which gates are known as universal gates? Why?
Solution: The gates known as universal gates are the NAND (Not AND) gate and the NOR (Not OR) gate.

They are called universal gates because any other basic logic gate (AND, OR, NOT) or any complex logic circuit can be constructed using only NAND gates or only NOR gates. This makes them highly versatile and cost-effective in digital circuit design.

Question 4

State and verify the Associative law using a Truth Table.
Solution: The Associative Law in Boolean Algebra states that the grouping of variables does not affect the result of the operation. It applies to both OR and AND operations.

For OR operation: (A + B) + C = A + (B + C)

For AND operation: (A \cdot B) \cdot C = A \cdot (B \cdot 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 the columns for (A + B) + C and A + (B + C) are identical, the Associative Law for OR is verified.

Verification using Truth Table for AND operation:

Similarly, we can construct a truth table for (A \cdot B) \cdot C = A \cdot (B \cdot C). The columns for (A \cdot B) \cdot C and A \cdot (B \cdot C) will be identical, thus verifying the Associative Law for AND.

A B C A \cdot B (A \cdot B) \cdot C B \cdot C A \cdot (B \cdot 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 identical columns confirm that (A \cdot B) \cdot C = A \cdot (B \cdot C).

Question 5

Draw the equivalent logic circuit for the following Boolean expression: B
Solution: The Boolean expression given is simply 'B'. This means the output of the logic circuit should be the same as the input variable B, regardless of the values of other variables (if any were present).

To draw the equivalent logic circuit, we simply need a wire that carries the input signal B directly to the output. This can be represented as a buffer, or more commonly, just by showing the input line B connected to the output point. No logic gate is required for a single variable expression like this, as it represents a direct pass-through of the signal.

Circuit Diagram:

Input: B

Output: B

(Imagine a simple line connecting the input 'B' to the output. No gate symbol is needed.)

Question 1

State and define the principle of duality. Why is it so important in Boolean Algebra?
Solution: The Principle of Duality is a fundamental concept in Boolean Algebra that allows us to derive new theorems and identities from existing ones.

Definition: The principle states that for any given Boolean expression or theorem, its dual expression is also true. The dual expression is obtained by performing the following transformations on the original expression:

Replace every OR operation (+) with an AND operation (.).

Replace every AND operation (.) with an OR operation (+).

Replace every constant 0 with 1.

Replace every constant 1 with 0.

For example, if the Identity Law A + 0 = A is true, its dual A \cdot 1 = A is also true.

Importance: The principle of duality is important because:

Simplification: It helps in simplifying complex Boolean expressions by providing a systematic way to derive related, often simpler, identities.

Theorem Derivation: It allows us to easily derive new theorems and properties of Boolean Algebra from known ones, reducing the effort required to establish all possible rules.

Completeness: It contributes to the completeness of the algebra by ensuring that for every valid statement, its dual is also valid, reflecting the symmetric nature of Boolean operations.

Essentially, it provides a shortcut for discovering and proving many properties of Boolean algebra.

Common mistakes

  • Incorrectly applying De Morgan's laws.
  • Confusing the axioms and theorems of Boolean algebra.
  • Errors in constructing or interpreting truth tables.
  • Misidentifying universal gates.

Revision tips

  • Practice rewriting Boolean expressions using De Morgan's laws.
  • Memorize the properties of universal gates.
  • Construct truth tables carefully to verify laws like the Associative law.
  • Review the definitions of basic Boolean operations and axioms.

Practice MCQs

Q1. Which of the following is an equivalent expression for the OR operator (A + B) using AND and NOT operators?

Q2. Which gates are known as universal gates because they can implement any other logic gate?

Q3. The Boolean expression (bc)' + bc = 1 is an application of which law?

Q4. Which law states that the order of operations does not change the result for addition or multiplication in Boolean Algebra?

Q5. The Boolean reduction xyz + zx = xz is an example of which law?

Frequently asked questions

What is Boolean Algebra in the context of Class 12 Computer Science?

Boolean Algebra is a branch of algebra that deals with variables whose values are either TRUE or FALSE (represented as 1 or 0). It is fundamental to digital logic design and computer science operations.

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 laws.

What are universal gates and why are they important?

Universal gates are NAND and NOR gates. They are important because any logic gate (AND, OR, NOT) or any combination of logic gates can be constructed using only NAND gates or only NOR gates.

How is the Associative Law verified in Boolean Algebra?

The Associative Law is verified using truth tables. For addition, (A+B)+C = A+(B+C), and for multiplication, (A.B).C = A.(B.C). A truth table is constructed showing the results for all possible combinations of input variables.

What is the principle of duality in Boolean Algebra?

The principle of duality states that if a Boolean expression is true, its dual expression (obtained by interchanging AND with OR and 0 with 1) is also true. It's important for deriving new theorems and simplifying expressions.

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

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