Full Marks

A-level Physics Year 13 · Topic 25

Electronics: digital systems and communication

Digital systems and communication is about how electronic circuits make decisions, remember information and send it.

We will use logic gates, truth tables and Boolean algebra, and design combinational circuits.

Then we build memory with latches and flip-flops, count with counters, time with the 555, and see how signals are transmitted.

In this topic

  1. 25.1Logic gates and truth tablesFree below · 25 questions
  2. 25.2Boolean expressions and NAND/NOR-only circuitsOpen in Full Marks · 55 questions
  3. 25.3Designing combinational logic systemsOpen in Full Marks · 21 questions
  4. 25.4Bistables, SR latches and flip-flopsOpen in Full Marks · 24 questions
  5. 25.5Counters and clocked sequential circuitsOpen in Full Marks · 69 questions
  6. 25.6The 555 timer: astable and monostable operationOpen in Full Marks · 25 questions
  7. 25.7Data communication: modulation, noise and bandwidthOpen in Full Marks · 36 questions

25.1 · Free notes

Logic gates and truth tables

Diagram: Logic gates and truth tables

Key points

In more detail

Practice

Logic gates and truth tables: 10 questions

Pick an answer to check it, or open the answer for the explanation.

1. For which input condition does a two-input NOR gate give logic 1?

  1. Both inputs at logic 1
  2. Both inputs at logic 0
  3. Either input at logic 1
  4. Inputs at different logic levels
Show answer

B: Both inputs at logic 0. NOR is OR followed by NOT. OR gives 0 only when both inputs are 0, so NOR gives 1 only in that case.

2. An EOR (XOR) gate has both inputs at logic 1. What is its output?

  1. Logic 1
  2. Logic 0
  3. Logic 1 only if the supply is 5 V
  4. Floating (undefined)
Show answer

B: Logic 0. EOR gives 1 only when the inputs differ. Both inputs are the same here, so the output is 0.

3. A two-input gate gives output 0 only when both inputs are 1. Which gate is it?

  1. EOR
  2. OR
  3. NOR
  4. NAND
Show answer

D: NAND. NAND is the inverse of AND. AND is 1 only for 1,1, so NAND is 0 only for 1,1.

4. How many rows are needed in a truth table for a system with three inputs?

  1. 8
  2. 6
  3. 9
  4. 3
Show answer

A: 8. The number of rows is 2ⁿ. For n = 3 this is 2³ = 8.

5. A NOT gate on a 5 V supply has its input connected to 0 V. What is its output?

  1. About 5 V (logic 1)
  2. About 2.5 V
  3. About 0 V (logic 0)
  4. About −5 V
Show answer

A: About 5 V (logic 1). A NOT gate inverts its input. Logic 0 in gives logic 1 out, which is close to the 5 V supply.

6. Inputs A and B feed an AND gate whose output goes to a NOT gate. Which single gate is equivalent to this combination?

  1. NOR
  2. OR
  3. NAND
  4. EOR
Show answer

C: NAND. AND followed by NOT is the definition of NAND. Its output is 0 only for inputs 1,1.

7. A gate's output Q is 1,0,0,0 for (A,B) = (0,0), (0,1), (1,0), (1,1). Which gate is it?

  1. EOR
  2. NOR
  3. AND
  4. NAND
Show answer

B: NOR. The output is 1 only when both inputs are 0. That is the NOR function: OR inverted.

8. Inputs are A = 1 and B = 0. Which two-input gate gives output logic 0?

  1. NOR
  2. EOR
  3. NAND
  4. OR
Show answer

A: NOR. For inputs 1,0, OR gives 1, NAND gives 1 and EOR gives 1. NOR is the inverse of OR, so it gives 0.

9. Sensor X is high when it is dark and sensor Y is high when movement is detected. A lamp is driven from an AND gate on X and Y. When is the lamp on?

  1. Light and movement detected
  2. Dark or movement detected
  3. Dark and movement detected
  4. Dark, whether or not there is movement
Show answer

C: Dark and movement detected. An AND gate outputs 1 only when both inputs are 1. The lamp is therefore on only when it is dark and movement is detected.

10. Which statement about logic systems is correct?

  1. A combinational system's output depends only on its present inputs
  2. A NAND gate gives 1 only when both inputs are 1
  3. An EOR gate gives 1 when both inputs are 1
  4. A NOT gate has two inputs
Show answer

A: A combinational system's output depends only on its present inputs. Combinational logic has no memory. NAND gives 0 for 1,1, EOR gives 0 for 1,1 and NOT has one input.

Keep going in Full Marks

Full Marks has 25 questions on Logic gates and truth tables (15 more than here), set out in practice levels. You also get notes and 3D models for all 7 subtopics of Electronics: digital systems and communication, plus games, timed exams and past papers.

On your exam board

Not in the OCR A, OCR B, Edexcel and Cambridge specifications.

All A-level Physics Year 13 topics