QED
Boolean Algebra · step 8 of 13

Logic gates & translating circuits

Each gate is one Boolean operation: AND is ·, OR is +, NOT is ′, and XOR is x′y + xy′. Translating a circuit means labelling the output of every gate with an expression and working left to right; translating back means building the expression tree as a network. Minimising the algebra first is what reduces gate count, which is why simplification matters commercially.

Unlimited questions · marked criterion by criterion · no card needed

Method: how to approach it

The order below is what examiners expect to see, and each step carries its own marks.

  1. Label the inputsName every primary input, then work forward through the gates.
  2. Annotate each gate outputWrite the expression at each gate’s output wire. The circuit output is then read off directly.
  3. Simplify before rebuildingMinimise algebraically or with a K-map, then draw the circuit for the reduced expression.
  4. Count gates and inputsCost is usually measured in gate count and total gate inputs. State which you are reporting.

Worked example

A circuit ANDs x with y′, ANDs x′ with y, then ORs the two results. Give its expression and identify the function.

  1. First AND gate output: x·y′.
  2. Second AND gate output: x′·y.
  3. OR gate output: xy′ + x′y.
  4. This is 1 exactly when x and y differ.

Answer. xy′ + x′y — the exclusive-or function, implemented here with two NOTs, two ANDs and one OR.

Where marks get dropped

These are the specific errors that cost credit on logic gates & translating circuits questions — QED's rubric penalises each of them separately.

Practise this until it is automatic

Unlimited fresh questions

QED generates new logic gates & translating circuits problems on demand at warm-up, exam and challenge level, so you can drill this one skill until it stops costing you marks.

Marked like an examiner

Every answer is scored against a point-by-point rubric with partial credit, so you see exactly which step of the method broke down — not just a tick or a cross.

Answer in real notation

A one-tap symbol palette, a visual equation editor and a truth-table builder — or photograph your handwritten working and QED converts it to LaTeX.

Saved to your library

Every question you generate is kept and re-takeable as a timed exam, and your Boolean Algebra mastery is tracked so you know when this is exam-ready.

Logic gates & translating circuits — frequently asked questions

Why minimise a circuit?

Fewer gates means less silicon area, lower power and shorter propagation delay. In practice tools optimise for a mix of these, not purely for literal count.

How is XOR built from basic gates?

As xy′ + x′y with two ANDs, one OR and two NOTs, or more compactly with four NAND gates — which is how it is usually fabricated.

What is propagation delay?

The time for a change at the inputs to reach the output, roughly proportional to the depth of the circuit. A two-level SOP implementation minimises depth at the cost of gate width.

The rest of Boolean Algebra

Axioms, laws, simplification and Boolean functions. Each subtopic below has its own method, worked example and mark-losing traps.

Ready to make logic gates & translating circuits exam-proof?

Generate your first questions free — no card, no setup, no personal data stored. Practise until the method is second nature.

Start practising free →