All About Circuits

Digital Circuits

Karnaugh Mapping


17 questions By Tony R. Kuphaldt

Page 3 of 6 0 of 17 answers revealed (0%)
  • Question 7 of 17

    One of the essential characteristics of Karnaugh maps is that the input variable sequences are always arranged in Gray code sequence. That is, you never see a Karnaugh map with the input combinations arranged in binary order:





    The reason for this is apparent when we consider the use of Karnaugh maps to detect common variables in output sets. For instance, here we have a Karnaugh map with a cluster of four 1’s at the center:





    Arranged in this order, it is apparent that two of the input variables have the same values for each of the four “high” output conditions. Re-draw this Karnaugh map with the input variables sequenced in binary order, and comment on what happens. Can you still tell which input variables remain the same for all four output conditions?




    Reveal answer
  • Question 8 of 17

    Examine this truth table and corresponding Karnaugh map:





    Though it may not be obvious from first appearances, the four “high” conditions in the Karnaugh map actually belong to the same group. To make this more apparent, I will draw a new (oversized) Karnaugh map template, with the Gray code sequences repeated twice along each axis:





    Fill in this map with the 0 and 1 values from the truth table, and then see if a grouping of four “high” conditions becomes apparent.

    Reveal answer
  • Question 9 of 17

    A student is asked to use Karnaugh mapping to generate a minimal SOP expression for the following truth table:


    A B C Output

    0 0 0 0

    0 0 1 0

    0 1 0 0

    0 1 1 1

    1 0 0 0

    1 0 1 1

    1 1 0 0

    1 1 1 1




    Following the truth table shown, the student plots this Karnaugh map:





    “This is easy,” says the student to himself. “All the ‘1’ conditions fall within the same group!” The student then highlights a triplet of 1’s as a single group:





    Looking at this cluster of 1’s, the student identifies C as remaining constant (1) for all three conditions in the group. Therefore, the student concludes, the minimal expression for this truth table must simply be C.

    However, a second student decides to use Boolean algebra on this problem instead of Karnaugh mapping. Beginning with the original truth table and generating a Sum-of-Products (SOP) expression for it, the simplification goes as follows:

    $$\overline{A}BC+A\overline{B}C+ABC$$

    $$BC(\overline{A}+A)+A\overline{B}C$$

    $$BC+A\overline{B}C$$

    $$C(B+A\overline{B})$$

    $$C(B+A)$$

    $$AC+BC$$

    Obviously, the answer given by the second student’s Boolean reduction (AC BC) does not match the answer given by the first student’s Karnaugh map analysis (C).

    Perplexed by the disagreement between these two methods, and failing to see a mistake in the Boolean algebra used by the second student, the first student decides to check his Karnaugh mapping again. Upon reflection, it becomes apparent that if the answer really were C, the Karnaugh map would look different. Instead of having three cells with 1’s in them, there would be four cells with 1’s in them (the output of the function being “1” any time C = 1:





    Somewhere, there must have been a mistake made in the first student’s grouping of 1’s in the Karnaugh map, because the map shown above is the only one proper for an answer of C, and it is not the same as the real map for the given truth table. Explain where the mistake was made, and what the proper grouping of 1’s should be.

    Reveal answer

Related Tools:

Published under the terms and conditions of the Creative Commons Attribution License
  • B
    boulous May 15, 2021

    I am studying for my midterms, and this helped me a lot. The author is trying to share the information through pure comprehension, explaining the origin and target of each and every rule, which most teachers tend not to do… Thank you so much !!

    Like. Reply
  • Daedaluxs April 02, 2024

    question 16 circuit is not fully simplified

    Like. Reply
    • D
      dalewilson April 03, 2024
      You are correct in that it could be simplified to D!(B + C!). The question asks for a "simple" answer and does provide the minimal sum-of-products (SOP) solution as noted in the answer. So, both answers are, in a sense, correct.
      Like. Reply