Computer Science I / Minimisation and Canonical Forms
Practice question · Put in order

Order the steps of minimising a boolean function with a Karnaugh map.

Hints
  1. Nothing can be circled until the 1s have been placed on the map, and nothing can be placed until the function's outputs are known.
  2. A term is read off a group, so the grouping must be settled before any term is written.
Show the answer
  1. Write the truth table of the function
  2. Plot each 1-row of the table into its cell of the map
  3. Circle groups of adjacent 1s, making every group as large as possible and a power of two in size
  4. Write one product term for each group, keeping only the variables that stay constant across it
  5. OR the terms together to get the minimised expression
Why

The map is only a re-arrangement of the truth table, so the table comes first. Grouping before writing terms matters: the variables that vary within a group are exactly the ones dropped, so a different circling gives a different, possibly larger expression. Writing terms cell by cell and grouping afterwards defeats the whole method.

Read the lesson: Minimisation and Canonical Forms →

Practise Minimisation and Canonical Forms

The app has 7 more questions on this lesson, and keeps your place in the course. Computer Science I is free to start.

More questions on Minimisation and Canonical Forms