Core9X
Log inSign up

MBOSE Class XI Computer Science · Chapter 3

Boolean Logic

Opening soon

How a computer decides with 0 and 1: the six logic gates, their truth tables, De Morgan's laws and how gates combine into circuits.

13 lessons · 59 practice questions

See classes open nowLog inMBOSE Class XI opens to new students soon.

What this chapter covers

  • Boolean logic: NOT, AND, OR, NAND, NOR, XOR
  • Truth tables
  • De Morgan's laws
  • Logic circuits

Key terms

Boolean variable

A variable that can be only 0 or 1

Logic gate

Circuit that gives one Boolean output from Boolean inputs

Truth table

Table of outputs for all input combinations

NOT / AND / OR

Invert; all inputs 1; at least one input 1

NAND / NOR

NOT of AND / NOT of OR

XOR

Output 1 when inputs differ

Universal gate

A gate (NAND or NOR) that can build all others

De Morgan's laws

(A·B)′ = A′ + B′ and (A+B)′ = A′·B′

Important questions with answers

10 of the 59 questions on this chapter, solved.

  1. Question 1 · Multiple choice · 1 mark

    The output of an AND gate is 1 when

    • (a) at least one input is 1
    • (b) inputs are different
    • (c) all inputs are 0
    • (d) all inputs are 1

    Answer: (d) all inputs are 1

    AND needs every input to be 1.

  2. Question 2 · Multiple choice · 1 mark

    The NOR gate output is 1 only when

    • (a) all inputs are 0
    • (b) all inputs are 1
    • (c) any input is 1
    • (d) inputs differ

    Answer: (a) all inputs are 0

    NOR is the opposite of OR.

  3. Question 3 · Multiple choice · 1 mark

    Which are universal gates?

    • (a) AND and OR
    • (b) NAND and NOR
    • (c) XOR and NOT
    • (d) AND and NOT

    Answer: (b) NAND and NOR

    Any gate can be built from NAND alone or from NOR alone.

  4. Question 4 · Multiple choice · 1 mark

    A + A · B equals

    • (a) A
    • (b) B
    • (c) A + B
    • (d) A · B

    Answer: (a) A

    Absorption law.

  5. Question 5 · Assertion and reason · 1 mark

    Assertion (A): The output of a NAND gate is 0 only when all inputs are 1.

    Reason (R): NAND is the complement of AND.

    • (a) Both A and R are true, and R is the correct explanation of A.
    • (b) Both A and R are true, but R is not the correct explanation of A.
    • (c) A is true, but R is false.
    • (d) A is false, but R is true.

    Answer: (a) Both A and R are true, and R is the correct explanation of A.

    R explains A.

  6. Question 6 · Short answer · 1 mark

    Name the gate whose output is the complement of its input.

    Answer

    NOT.

  7. Question 7 · Short answer · 2 marks

    Write the truth table of OR.

    Answer

    0, 1, 1, 1 for (0,0), (0,1), (1,0), (1,1).

  8. Question 8 · Short answer · 3 marks

    Prove (A·B)′ = A′ + B′.

    Answer

    Section 1.3 table.

  9. Question 9 · Long answer · 5 marks

    Explain the six logic gates with their symbols' expressions and truth tables.

    Answer

    Sections 1.1 and 1.2.

  10. Question 10 · Long answer · 5 marks

    Explain why NAND is a universal gate.

    Answer

    Section 1.2 Example 3.

Study the whole chapter

13 step-by-step lessons, all 59 practice questions with hints, flashcards and mock tests for MBOSE Class XI Computer Science.

See classes open nowLog inMBOSE Class XI opens to new students soon.