Computer Science: An Overview: Global Edition (12th Edition)

Published by Pearson Higher Education
ISBN 10: 1292061162
ISBN 13: 978-1-29206-116-0

Chapter 1 - Data Storage - Chapter Review Problems - Page 85: 1

Answer

a. 0 b. 1 c. 1

Work Step by Step

There are 4 types of logic gates used in the three parts (a, b, c) of the question: 1. XOR (Similar inputs results in ‘0’ else results ‘1’.) 2. NOT (Inverts the input.) 3. OR (If both inputs are false than the output would be ‘0’ else the output will be ‘1’.) 4. AND (If both inputs are true than the output would be ‘1’ else the output will be ‘0’.) a. WHEN THE UPPER INPUT IS ‘0’ & LOWER INPUT IS ‘1’ InpUPPER = 0 --> XOR --> InpLOWER = 1 --> NOT -- 0 --> XOR When both inputs pass through XOR gate the output will be: 0 ANSWER (a): 0 b. WHEN THE UPPER INPUT IS ‘0’ & LOWER INPUT IS ‘1’ InpUPPER = 0 --> OR --> 1 --> AND InpLOWER = 1 -->^ --> 1 --> AND When both inputs pass through AND gate the output will be: 1 ANSWER (b): 1 c. WHEN THE UPPER INPUT IS ‘0’ & LOWER INPUT IS ‘1’ InpUPPER = 0--> | --> 0 -->>>>>>>>> XOR InpLOWER = 1--> ( 0 XOR 1 = 1) --> 1 --> XOR When both inputs pass through XOR gate the output will be: 1 ANSWER (c): 1
Update this answer!

You can help us out by revising, improving and updating this answer.

Update this answer

After you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.