Computer Science Illuminated
Computer Science Illuminated
7th Edition
ISBN: 9781284155617
Author: Nell Dale, John Lewis
Publisher: Jones & Bartlett Learning
Question
Book Icon
Chapter 2, Problem 38E
Program Plan Intro

a.

Hexadecimal addition:

  • The basic rules for adding two numbers are given below:
    • Read the two numbers to know the number of bits.
    • If the number of bits is less than the other number, then pad the required zeroes.
    • The numbers are represented in bytes (1 byte = 8 bits).
    • Align the numbers in order after padding.

Explanation of Solution

b.

AE9 + F:

  • Start with the numbers from right to left.
    • The equivalent hexadecimal value for F is 15. Add 9 + 15 which gives 24. The equivalent hexadecimal digit for 24 is 18. Hence, write 8 below and add carry as 1...

Explanation of Solution

c.

1066 + ABCD:

  • Start with the numbers from right to left.
    • The hexadecimal value for D is 13. Add 6 + 13 which gives 19. The equivalent hexadecimal value for 19 is 13. Write 3 to the result and add carry as 1.
    • The hexadecimal value for C is 12. Add 6 + 12 + 1 which gives 19. The equivalent hexadecimal value for 19 is 13. Write 3 to the result and add carry as 1...

Blurred answer
Knowledge Booster
Background pattern image
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