COMPUTER SCIENCE ILLUMINATED
COMPUTER SCIENCE ILLUMINATED
7th Edition
ISBN: 9781284208047
Author: Dale
Publisher: JONES+BART
bartleby

Videos

Expert Solution & Answer
Book Icon
Chapter 4, Problem 72E

Explanation of Solution

Circuit diagram for combining the two full adders and its equivalent truth table

Full adder:

  • The full adder is an electric circuit which is used to perform the addition of three binary digits.
  • It takes the inputs of two binary digits and another input is the carry-in value.
  • It produces the output as sum and carry-out.
  • Logic diagram for the full adder takes three inputs A, B, and Carry-in and produces the output Sum and Carry-out.

COMPUTER SCIENCE ILLUMINATED, Chapter 4, Problem 72E , additional homework tip  1

Circuit diagram for combining the two full adders:

  • The first full adder takes the input as B, D, Carry-in (assume 0) and produces the output Z and Carry.
  • The second full adder takes the input as A, C, and output of the first full adder “Carry” and produces the output as Y and X.
  • Diagrammatic representation after combining two full adders is shown below:

COMPUTER SCIENCE ILLUMINATED, Chapter 4, Problem 72E , additional homework tip  2

  • Circuit diagram:
  • Combine the logic diagram of the two full adders that adds two two-bit binary numbers. The circuit diagram is shown below:

COMPUTER SCIENCE ILLUMINATED, Chapter 4, Problem 72E , additional homework tip  3

Truth table explanation:

  • From the above circuit diagram:
    • Boolean expression for Z:
      • First, the inputs B and D are passed to XOR gate to produce the output as BD.
      • Next, pass the output of first XOR gate “BD” and “Carry-in” as the input of second XOR gate to produce the output as Z = ((BD)Carry-in).
    • Boolean expression for Carry:
      • Next, pass the same inputs B and D from the first XOR gate to AND gate to produce the output as BD.
      • Next, pass again the output of first XOR gate “BD” and “Carry-in” as the input of second AND gate to produce the output as ((BD)Carry-in).
      • Finally, pass the output of first AND gate “BD” and the output of second AND gate “((BD)Carry-in)” as the input of OR gate to produce the output as Carry = (BD) + ((BD)Carry-in).
    • Boolean expression for Y:
      • First, the inputs A and C are passed to XOR gate to produce the output as AC.
      • Next, pass the output of first XOR gate “AC” and “Carry” as the input of second XOR gate to produce the output as Y = ((AC)Carry).
    • Boolean expression for X:
      • Next, pass the same inputs A and C from the first XOR gate to AND gate to produce the output as AC.
      • Next, pass again the output of first XOR gate “AC” and “Carry” as the input of second AND gate to produce the output as ((AC)Carry).
      • Finally, pass the output of first AND gate “AC” and the output of second AND gate “((AC)Carry)” as the input of OR gate to produce the output as X = (AC) + ((AC)Carry).
  • Therefore, the Boolean expression for combining two full adders produce X, Y, and Z.

X = (AC) + ((AC)Carry)Y = ((AC)Carry)Z = ((BD)Carry-in)

Truth table for combining the two full adders:

ABCDCarry-inBDACZCarryYX
00000000000
00010101000
00100010010
00110111010
01000101000
01010000110
01100111010
01110010101
10000010010
10010111010
10100000001
10110101001
11000111010
11010010101
11100101001
11110000111

For example:

  • If the inputs are A as 0, B as 0, C as 1, D as 0, and Carry-in as 0, then the full adder adds the two two-bit binary numbers as shown below:

COMPUTER SCIENCE ILLUMINATED, Chapter 4, Problem 72E , additional homework tip  4

  • Then, it produces the output of X, Y, Z, and Carry. Truth table is shown below:
ABCDCarry-inBDACZCarryYX
00000000000
00010101000
00100010010
00110111010
01000101000
01010000110
01100111010
01110010101
10000010010
10010111010
10100000001
10110101001
11000111010
11010010101
11100101001
11110000111

Want to see more full solutions like this?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!
Students have asked these similar questions
In cell C21, enter a formula to calculate the number of miles you expect to drive each month. Divide the value of number of miles (cell A5 from the Data sheet) by the average MPG for the vehicle multiplied by the price of a gallon of gas (cell A6 from the Data sheet).
Microsoft Excel
In cell C16, enter a formula to calculate the price of the vehicle minus your available cash (from cell A3 in the Data worksheet). Use absolute references where appropriate—you will be copying this formula across the row what fomula would i use and how do i solve it
Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education
Boolean Algebra - Digital Logic and Logic Families - Industrial Electronics; Author: Ekeeda;https://www.youtube.com/watch?v=u7XnJos-_Hs;License: Standard YouTube License, CC-BY
Boolean Algebra 1 – The Laws of Boolean Algebra; Author: Computer Science;https://www.youtube.com/watch?v=EPJf4owqwdA;License: Standard Youtube License