Skip to content
TestMacher
Chapter 1 · Class 11 Computer Science

Boolean Logic — Important Questions

56 questions With answers CBSE format

SUMMARY: The chapter on Boolean Logic introduces the fundamental concepts of Boolean algebra and its application in computer science.
KEY TOPICS: Boolean algebra, logic gates, truth tables, logical operators, De Morgan's laws, simplification of Boolean expressions, binary logic, applications of Boolean logic, digital circuits, logic circuit design

Q1 1 Mark

Which gate gives output 1 only when both inputs are 1?

AOR
BAND
CNOT
DNAND
Check answerHide answer
Correct answer: Option 2 — AND
Q2 1 Mark

The Boolean expression A + AB simplifies to:

AA
BB
CAB
DA + B
Check answerHide answer
Correct answer: Option 1 — A
Q3 1 Mark

The complement of a Boolean variable A is denoted as:

AA'
BA1
C!A
D~A
Check answerHide answer
Correct answer: Option 1 — A'
Q4 1 Mark

Which of the following is a universal gate?

AAND
BOR
CNOT
DNAND
Check answerHide answer
Correct answer: Option 4 — NAND
Q5 1 Mark

De Morgan's first theorem states that (A + B)' equals:

AA' + B'
BA' * B'
CA * B
DA + B
Check answerHide answer
Correct answer: Option 2 — A' * B'
Q6 1 Mark

What is the result of the Boolean expression A . (B + C)?

AA . B + A . C
BA + B . C
CA + B + C
DA . B . C
Check answerHide answer
Correct answer: Option 1 — A . B + A . C
Q7 1 Mark

Which of the following represents the AND operation in Boolean algebra?

A+
B*
C-
D/
Check answerHide answer
Correct answer: Option 2 — *
Q8 1 Mark

What is the output of the truth table for the expression A + A' ?

A0
B1
CA
DA'
Check answerHide answer
Correct answer: Option 2 — 1
Q9 1 Mark

Which of the following is NOT a logical operator in Boolean algebra?

AAND
BOR
CXOR
DNAND
Check answerHide answer
Correct answer: Option 4 — NAND
Q10 1 Mark

In a truth table, how many rows are there for a Boolean expression with three variables?

A4
B6
C8
D16
Check answerHide answer
Correct answer: Option 3 — 8
Q11 1 Mark

According to De Morgan's laws, which of the following is true?

A(A . B)' = A' + B'
B(A + B)' = A' + B'
C(A + B)' = A' . B'
D(A . B)' = A + B
Check answerHide answer
Correct answer: Option 1 — (A . B)' = A' + B'
Q12 1 Mark

What is the output of a NAND gate when both inputs are 0?

A0
B1
CUndefined
DDepends on the circuit
Check answerHide answer
Correct answer: Option 2 — 1
Q13 1 Mark

Which of the following Boolean expressions is equivalent to A + A . B?

AA + B
BA
CB
DA . B
Check answerHide answer
Correct answer: Option 2 — A
Q14 1 Mark

What is the primary purpose of using truth tables in Boolean logic?

ATo simplify expressions
BTo visualize circuit designs
CTo determine the output for all input combinations
DTo prove De Morgan's laws
Check answerHide answer
Correct answer: Option 3 — To determine the output for all input combinations
Q15 1 Mark

Which of the following circuits represents the logical expression A . (B + C)?

AAND gate followed by OR gate
BOR gate followed by AND gate
CTwo AND gates in series
DOne AND gate and one NOT gate
Check answerHide answer
Correct answer: Option 1 — AND gate followed by OR gate
Q16 3 Marks

State and verify the two De Morgan's theorems.

Q17 3 Marks

Draw the truth tables for AND OR and NOT gates.

Q18 3 Marks

What is meant by a universal gate? Give one example.

Q19 3 Marks

Simplify the Boolean expression A.B + A.B' using identity laws.

Q20 3 Marks

Differentiate between NAND gate and NOR gate.

Q21 3 Marks

What is a truth table and how is it used in Boolean logic?

View sample solutionHide solution
A truth table is a mathematical table used to determine the output of a logical expression based on all possible combinations of its inputs. It systematically lists the input values and corresponding output values for each combination, helping in the analysis of logic gates and Boolean expressions.
Q22 3 Marks

Explain the concept of logical operators in Boolean algebra.

View sample solutionHide solution
Logical operators in Boolean algebra include AND, OR, and NOT. These operators are used to combine or modify Boolean values (true or false) to produce new Boolean values, forming the basis for constructing complex logical expressions and circuits.
Q23 3 Marks

What is the significance of binary logic in computer science?

View sample solutionHide solution
Binary logic is fundamental in computer science as it forms the basis of digital circuits and computing systems. It uses two states, typically represented as 0 and 1, to perform calculations and process information, enabling the operation of computers and electronic devices.
Q24 3 Marks

Describe the process of simplifying a Boolean expression using the consensus theorem.

View sample solutionHide solution
The consensus theorem states that AB + A'C + BC = AB + A'C. To simplify a Boolean expression using this theorem, identify terms that can be grouped according to the theorem and eliminate redundant terms, resulting in a more concise expression.
Q25 3 Marks

How do you derive the output of a logic circuit from a given Boolean expression?

View sample solutionHide solution
To derive the output of a logic circuit from a Boolean expression, first, identify the variables and operations involved. Then, construct the circuit using appropriate logic gates according to the expression, and finally evaluate the circuit for specific input values to determine the output.
Q26 6 Marks

Explain the basic logic gates with their truth tables and symbols.

Q27 6 Marks

State and prove De Morgan's theorems with the help of truth tables.

Q28 6 Marks

Implement an XOR gate using only NAND gates with a circuit diagram.

Q29 6 Marks

Simplify the Boolean expression F = A.B + A.B' + A'.B using K-map and verify.

Q30 6 Marks

Discuss the importance of universal gates with implementation of basic gates using only NAND.

Q31 6 Marks

Compare AND OR and NOT logic gates with the help of a table giving truth table for each.

Q32 1 Mark

Assertion (A): NAND is called a universal gate.

Reason (R): Any logic gate can be constructed using only NAND gates.

Show explanationHide explanation
Correct answer: Option 1 — Both A and R are true, and R is the correct explanation of A.
Q33 1 Mark

Assertion (A): A.A' is always 0.

Reason (R): A and its complement cannot be true at the same time.

Show explanationHide explanation
Correct answer: Option 1 — Both A and R are true, and R is the correct explanation of A.
Q34 1 Mark

Assertion (A): An OR gate gives output 0 only when all inputs are 0.

Reason (R): Any one input being 1 gives output 1 in an OR gate.

Show explanationHide explanation
Correct answer: Option 1 — Both A and R are true, and R is the correct explanation of A.
Q35 1 Mark

Assertion (A): Boolean algebra has only two values 0 and 1.

Reason (R): It is used to design digital circuits.

Show explanationHide explanation
Correct answer: Option 1 — Both A and R are true, and R is the correct explanation of A.
Q36 1 Mark

Assertion (A): De Morgan's theorems are widely used in simplifying Boolean expressions.

Reason (R): They convert AND operations to OR operations and vice versa.

Show explanationHide explanation
Correct answer: Option 1 — Both A and R are true, and R is the correct explanation of A.
Q37 1 Mark

Assertion (A): The output of an AND gate is 1 only when both inputs are 1.

Reason (R): An AND gate implements the logical conjunction operation.

Show explanationHide explanation
Correct answer: Option 1 — Both A and R are true, and R is the correct explanation of A.
Q38 1 Mark

Assertion (A): The expression A + A' = 1 is a fundamental identity in Boolean algebra.

Reason (R): This identity states that a variable ORed with its complement equals true.

Show explanationHide explanation
Correct answer: Option 1 — Both A and R are true, and R is the correct explanation of A.
Q39 1 Mark

Assertion (A): A NOR gate is a universal gate.

Reason (R): Universal gates can be used to create any other gate.

Show explanationHide explanation
Correct answer: Option 3 — A is true, but R is false.
Q40 1 Mark

Statement 1: An XOR gate gives output 1 when inputs are different.

Statement 2: It gives output 0 when inputs are the same.

Show answerHide answer
Correct answer: Option 1 — Both statements are true.
Q41 1 Mark

Statement 1: Boolean algebra was developed by George Boole in 1854.

Statement 2: It is the foundation of digital electronics.

Show answerHide answer
Correct answer: Option 1 — Both statements are true.
Q42 1 Mark

Statement 1: A NOT gate has one input and one output.

Statement 2: It inverts the input.

Show answerHide answer
Correct answer: Option 1 — Both statements are true.
Q43 1 Mark

Statement 1: A truth table lists all possible input combinations and outputs.

Statement 2: For n inputs there are 2^n rows in the truth table.

Show answerHide answer
Correct answer: Option 1 — Both statements are true.
Q44 1 Mark

Statement 1: K-maps are used to simplify Boolean expressions.

Statement 2: They group adjacent 1s in powers of 2.

Show answerHide answer
Correct answer: Option 1 — Both statements are true.
Q45 1 Mark

Statement 1: A NAND gate is a universal gate that can be used to create any other gate.

Statement 2: The output of an AND gate is true only when both inputs are false.

Show answerHide answer
Correct answer: Option 2 — Only Statement 1 is true.
Q46 1 Mark

Statement 1: De Morgan's laws state that the negation of a conjunction is the disjunction of the negations.

Statement 2: The output of an OR gate is true only when at least one input is true.

Show answerHide answer
Correct answer: Option 1 — Both statements are true.
Q47 1 Mark

Statement 1: A NOR gate produces a true output only when both inputs are true.

Statement 2: Boolean expressions can be simplified using algebraic identities.

Show answerHide answer
Correct answer: Option 3 — Only Statement 2 is true.
Q48 3 Marks
An engineer is designing a security circuit for an office. The alarm should ring (output Y = 1) only when both the door sensor (A) AND the motion sensor (B) detect intrusion. She decides to implement this with logic gates and considers using only NAND gates because they are universal.
  1. Which gate gives output 1 only when both inputs are 1?
    AAND
    BOR
    CNOT
    DXOR
  2. A NAND gate is called a:
    AUniversal gate
    BSpecialised gate
    COutput gate
    DCustom gate
  3. Explain how an AND gate can be implemented using only NAND gates with a circuit diagram.
Show answersHide answers
1. Option 1 — AND
2. Option 1 — Universal gate
3. A NAND gate is universal because any other gate (AND OR NOT) can be built from NANDs. Y = A AND B is implemented by feeding A and B into a NAND then feeding that NAND output through another NAND with both inputs the same (which acts as a NOT). So 2 NANDs give an AND. Universal gates simplify manufacturing because the chip needs only one type of gate.
Q49 3 Marks
Boolean Logic is a branch of algebra that deals with true or false values, typically represented as 1 and 0. It forms the foundation of digital circuits and computer programming. The primary operations in Boolean algebra include AND, OR, and NOT, which can be combined to create complex logical expressions. Truth tables are used to represent the output of these operations based on all possible input combinations. For instance, the AND operation outputs true only when both inputs are true, while the OR operation outputs true if at least one input is true. Understanding these basic operations is crucial for designing efficient digital circuits and algorithms.
  1. What are the primary operations in Boolean algebra?
    AAND, OR, NOT
    BAdd, Subtract, Multiply
    CXOR, NAND, NOR
    DIncrement, Decrement, Shift
  2. Explain the significance of truth tables in Boolean logic.
  3. Which Boolean operation outputs true only when both inputs are true?
    AAND
    BOR
    CNOT
    DXOR
Show answersHide answers
1. Option 1 — AND, OR, NOT
2. Truth tables are used to represent the output of Boolean operations based on all possible input combinations, helping to visualize and analyze logical expressions.
3. Option 1 — AND
Q50 3 Marks
De Morgan's laws are fundamental rules in Boolean algebra that describe how the NOT operator interacts with AND and OR operators. The first law states that the negation of a conjunction is equivalent to the disjunction of the negations, which can be expressed as NOT (A AND B) = (NOT A) OR (NOT B). The second law states that the negation of a disjunction is equivalent to the conjunction of the negations, expressed as NOT (A OR B) = (NOT A) AND (NOT B). These laws are essential for simplifying complex Boolean expressions and are widely used in digital circuit design.
  1. What does the first of De Morgan's laws state?
    ANOT (A AND B) = (NOT A) OR (NOT B)
    BNOT (A OR B) = (NOT A) AND (NOT B)
    CA AND B = NOT (A OR B)
    DA OR B = NOT (A AND B)
  2. How do De Morgan's laws assist in Boolean expression simplification?
  3. What is the second of De Morgan's laws?
    ANOT (A OR B) = (NOT A) AND (NOT B)
    BNOT (A AND B) = (NOT A) OR (NOT B)
    CA AND B = NOT (A OR B)
    DA OR B = NOT (A AND B)
Show answersHide answers
1. Option 1 — NOT (A AND B) = (NOT A) OR (NOT B)
2. De Morgan's laws provide a systematic way to transform and simplify complex Boolean expressions, making it easier to design and analyze digital circuits.
3. Option 1 — NOT (A OR B) = (NOT A) AND (NOT B)
Q51 3 Marks
In digital circuits, logic gates are the building blocks that perform basic logical functions. The most common types of logic gates include AND, OR, NOT, NAND, NOR, XOR, and XNOR. Each gate has a specific function and can be combined to create complex circuits. For example, an AND gate outputs true only when all its inputs are true, while an OR gate outputs true if at least one input is true. Understanding how these gates work and how to represent them in truth tables is crucial for designing effective digital systems.
  1. Which logic gate outputs true only when all its inputs are true?
    AAND gate
    BOR gate
    CNOT gate
    DXOR gate
  2. What is the role of logic gates in digital circuits?
  3. Name one type of logic gate that outputs true if at least one input is true.
    AOR gate
    BAND gate
    CNOT gate
    DNAND gate
Show answersHide answers
1. Option 1 — AND gate
2. Logic gates perform basic logical functions and are combined to create complex circuits, enabling the processing of binary information.
3. Option 1 — OR gate
Q52 5 Marks

Identify the gate from the truth table (A, B inputs and Y output).

ABGate 1 (Y=AB)Gate 2 (Y=A+B)Gate 3 (Y=AB')
00000
01011
10011
11110
Q53 5 Marks

For each Boolean expression, give the simplified form using identity laws.

ExpressionSimplified
A + 0?
A + 1?
A . 0?
A + A?
A + A'?
A . A'?
Q54 3 Marks

Study the truth table for three logic gates and answer:

ABAND (A.B)OR (A+B)XOR (A^B)
00000
01011
10011
11110
  1. Which gate gives output 1 only when inputs are different?
    AAND
    BOR
    CXOR
    DNOT
  2. An OR gate gives output 0 only when:
    ABoth 0
    BBoth 1
    CDifferent
    DCannot tell
  3. Construct the truth tables of NAND NOR and XNOR gates from this table.
Show answersHide answers
1. Option 3 — XOR
2. Option 1 — Both 0
3. The truth table lists all 4 input combinations of two inputs A and B. AND gives 1 only when both inputs are 1. OR gives 1 if any input is 1. XOR (exclusive OR) gives 1 only when inputs differ. NAND NOR XNOR are inverses of AND OR XOR respectively. Truth tables completely specify gate behaviour.
Q55 6 Marks

What is the output of the AND gate when both inputs are true?

Input AInput BOutput (A AND B)
TrueTrue
TrueFalse
FalseTrue
FalseFalse
Q56 3 Marks

Study the truth tables of AND OR XOR gates and answer:

Boolean Logic figure
  1. Which gate gives output 1 only when both inputs are 1?
    AAND
    BOR
    CXOR
    DNOT
  2. Which gate gives output 1 only when inputs are different?
    AAND
    BOR
    CXOR
    DNAND
  3. Construct truth tables for NAND NOR and XNOR from these.
Show answersHide answers
1. Option 1 — AND
2. Option 3 — XOR
3. The truth table lists all 4 input combinations of two inputs. AND gives 1 only when both inputs are 1. OR gives 1 if any input is 1. XOR gives 1 only when inputs differ. NAND NOR XNOR are inverses of AND OR XOR. Truth tables completely specify gate behaviour.

Make a full Computer Science paper on Boolean Logic.

Pick the question mix, set the marks, hit generate. You get a ready-to-print paper with an answer key.

Generate your paper — free