Worksheets › Class 11 › Boolean Logic

Class 11 · Computer Science worksheet

Boolean Logic

CBSE Computer Science. NOT, AND, OR, NAND, NOR and XOR gates, truth tables, De Morgan’s laws and logic circuits, every output worked out row by row. Every sheet has 20 questions in three sections and an answer key, and the questions change every time.

Open a printable sample sheet

Sample questions

Real questions from this chapter, as the app sets them. Tap Answer to see the answer and working.

Section A · multiple choice

  1. 1.

    Which gate gives an output of 1 only when all its inputs are 1?

    1. NAND
    2. XOR
    3. OR
    4. AND
    Answer

    (d) AND

  2. 2.

    A two-input gate gives these outputs for the inputs 00, 01, 10 and 11: 0, 1, 1, 1. Which gate is it?

    1. XOR gate
    2. NOR gate
    3. OR gate
    4. NAND gate
    Answer

    (c) OR gate

    OR: 0, 1, 1, 1

  3. 3.

    In the truth table of NOT C AND (B OR NOT A), in how many of the 8 rows is the output 1?

    1. 5
    2. 3
    3. 4
    4. 2
    Answer

    (b) 3

    output column: 1, 0, 1, 0, 0, 0, 1, 0

Section B · short answer

  1. 4.

    State both of De Morgan’s laws.

    Answer

    NOT (A AND B) = NOT A OR NOT B; NOT (A OR B) = NOT A AND NOT B.

  2. 5.

    For A = 1 and B = 1, find (a) A NAND B (b) A OR B (c) A NOR B.

    Answer

    (a) 0; (b) 1; (c) 0

    NAND: 1, 1, 1, 0; OR: 0, 1, 1, 1; NOR: 1, 0, 0, 0

Section C · long answer

  1. 6.

    Draw the symbols and write the truth tables of the AND, OR and NOT gates.

    Answer

    AND (D-shaped): 1 only for 11; OR (curved): 0 only for 00; NOT (triangle with a circle): 0 → 1, 1 → 0.

Fresh sheets for your child

In the app, every Boolean Logic sheet is new: the app remembers the questions your child has already had and leaves them out. Print the sheet as a PDF, or use notebook mode and write the answers in a notebook.

Coming soon for Android and iPhone.

More Class 11 Computer Science