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

NCERT Solutions PDF Class 12 PDF

CBSE Class 12 Computer Science, Chapter 8: Boolean Algebra, delves into the foundational principles of this crucial area of digital logic. The solutions explore how to represent the OR operation using AND and NOT gates, illustrating the interconnectedness of basic Boolean functions. Key axioms and theorems, such as the Complementary and Absorption laws, are explained to provide a deeper understanding of Boolean expression manipulation. The chapter also highlights the power of universal gates, NAND and NOR, demonstrating their ability to construct any logic function. Furthermore, the verification of the Associative law for both OR and AND operations through truth tables offers a practical approach to understanding logical equivalences. The principle of duality is introduced as a valuable tool for simplifying complex Boolean expressions, empowering students to efficiently analyze and design digital circuits. This chapter equips students with essential knowledge for their exams and future studies in computer engineering.

Quick info

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

Chapter summary

Chapter 8 of the CBSE Class 12 Computer Science syllabus focuses on Boolean Algebra. This section provides NCERT Solutions that clarify the basic operations and laws of Boolean Algebra. It explains how to express logical operators using others, identifies key theorems used in simplification, and defines universal gates. The solutions also offer step-by-step verification of fundamental laws like the Associative law using truth tables and discuss the principle of duality, highlighting its importance in simplifying complex expressions.

Learning outcomes

  • Understand the representation of the OR operator using AND and NOT operators.
  • Identify and apply axioms and theorems in Boolean reductions.
  • Define and explain the concept of universal gates (NAND and NOR).
  • State and verify the Associative law for Boolean addition and multiplication using truth tables.
  • Understand and explain the principle of duality in Boolean Algebra.

Topics covered

Paper topics

  • Basics of Boolean Algebra
  • OR Operator Representation
  • Boolean Axioms and Theorems
  • Complementary Law
  • Absorption Law
  • Universal Gates (NAND, NOR)
  • Associative Law
  • Truth Table Verification
  • Principle of Duality
  • Boolean Expression Simplification

Important topics

  • Universal Gates
  • Associative Law Verification
  • Principle of Duality
  • Boolean Laws and Theorems
  • Truth Table Construction

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 (\cdot) and NOT (\prime or overbar) operators by applying De Morgan's laws. One way is to use the identity A + B = (\overline{A} \cdot \overline{B})'. This means that the result of A OR B is the same as the result of NOT ( (NOT A) AND (NOT B) ). This is derived from De Morgan's second theorem, which states (\overline{A} \cdot \overline{B})' = A + B.

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. Here, x can be considered as bc, so the expression is in the form x + x' = 1.
  2. The reduction xyz + zx = xz uses the Absorption Law. The Absorption Law states that x + xy = x and x(x+y) = x. In this case, we can factor out xz from the expression: xyz + zx = zx(y + 1). Since y + 1 = 1 (Identity Law), this simplifies to zx(1) = zx. Alternatively, recognizing zx as a common term, the law x + xy = x applies where x = zx and y = y (after rearranging terms to zx + xyz).

Question 3

Which gates are known as universal gates? Why?
Solution: The gates known as universal gates are the NAND gate and the NOR gate. They are called universal because any other basic logic gate (AND, OR, NOT) or any complex combinatorial logic circuit can be constructed using only NAND gates or only NOR gates. This property 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:

(A + B) + C = A + (B + C) (Associative Law for OR)

(A \cdot B) \cdot C = A \cdot (B \cdot C) (Associative Law for AND)

Verification using Truth Table for OR: To verify (A + B) + C = A + (B + C), we construct a truth table with all possible combinations of inputs A, B, and 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 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

Since the columns for (A + B) + C and A + (B + C) are identical for all input combinations, the Associative Law for OR is verified.

Verification using Truth Table for AND: Similarly, we can verify (A \cdot B) \cdot C = A \cdot (B \cdot C):
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 for (A \cdot B) \cdot C and A \cdot (B \cdot C) confirm the validity of the Associative Law for AND.

Question 5

Draw the equivalent logic circuit for the following Boolean expression:

(The source document seems to be missing the actual Boolean expression for Question 5. Assuming a placeholder expression like A \cdot (B + C) for demonstration purposes, the circuit would involve an OR gate followed by an AND gate.)

Solution: (Note: The specific Boolean expression for Question 5 was not provided in the source text. Assuming a hypothetical expression like A \cdot (B + C) to illustrate the process.)

To draw the equivalent logic circuit for a Boolean expression, we identify the operations and the variables. For the expression A \cdot (B + C):

  1. First, the operation inside the parenthesis B + C is performed. This requires an OR gate with inputs B and C.
  2. Next, the result of the OR operation (B + C) is ANDed with variable A. This requires an AND gate whose inputs are A and the output of the OR gate (B + C).

The resulting circuit would consist of one OR gate and one AND gate.

Placeholder for Boolean expression circuit diagram

(A visual representation would typically be included here showing the logic gates and connections.)

Short Answer Type Questions

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. It states that for any given Boolean expression or equation, its dual expression or equation is also valid. The dual is obtained by performing the following transformations:
  • Replace every OR operation (+) with an AND operation (·).
  • Replace every AND operation (·) with an OR operation (+).
  • Replace every Boolean constant 0 with 1.
  • Replace every Boolean constant 1 with 0.
For example, the dual of (A + B) \cdot 1 = A + B is (A \cdot B) + 0 = A \cdot B. Importance in Boolean Algebra: The principle of duality is extremely important because:
  • Simplification: It allows us to derive new theorems and identities from existing ones without needing separate proofs. If a statement is true, its dual is automatically true.
  • Completeness: It helps in understanding the symmetry of Boolean operations and ensures that for every property, there is a corresponding dual property.
  • Circuit Design: It aids in designing and analyzing digital circuits by providing a systematic way to transform expressions and understand their counterparts.
Essentially, it doubles the utility of any proven theorem or identity, making the study and application of Boolean Algebra more efficient.

Common mistakes

  • Incorrectly applying De Morgan's laws.
  • Confusing different Boolean laws (e.g., Associative vs. Commutative).
  • Errors in constructing or interpreting truth tables.
  • Misunderstanding the concept or application of universal gates.

Revision tips

  • Memorize the basic Boolean laws and theorems.
  • Practice constructing truth tables for verification of laws.
  • Understand why NAND and NOR gates are called universal gates.
  • Review the principle of duality and its application in simplifying expressions.

Practice MCQs

Q1. Which of the following is an equivalent representation of the OR operator using AND and NOT operators?

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

Q3. Which of the following pairs of gates are known as universal gates?

Q4. The Boolean expression xyz + zx = xz demonstrates which law?

Q5. The principle of duality states that if a Boolean equation is true, then its dual equation is also true. How is the dual equation obtained?

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 taking only two values, typically TRUE (1) and FALSE (0), and logical operations like AND, OR, and NOT. It's fundamental to digital logic design and computer architecture.

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 via De Morgan's laws. One common form is A + B = (\overline{A} \cdot \overline{B})', which means A OR B is equivalent to the NOT of (NOT A AND NOT B).

What are universal gates and why are they important?

Universal gates are logic gates (NAND and NOR) from which any other logic gate (AND, OR, NOT) can be constructed. They are important because they allow for the design of digital circuits using only one type of gate, simplifying manufacturing and reducing costs.

How is the Associative Law verified using a truth table?

The Associative Law (e.g., (A+B)+C = A+(B+C)) is verified by creating a truth table that lists all possible combinations of input variables (A, B, C). Columns are added to calculate intermediate results ((A+B), (B+C)) and then the final results of both sides of the equation ((A+B)+C and A+(B+C)). If the final columns for both sides are identical for all input combinations, the law is verified.

What is the principle of duality in Boolean Algebra?

The principle of duality states that for any valid Boolean equation, its dual equation (obtained by swapping AND with OR, OR with AND, 0 with 1, and 1 with 0) is also valid. This principle is crucial for simplifying Boolean expressions and deriving new theorems.

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

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