a.
Formula to compute positive number representation:
Positive [I] = 10k – I (1)
From the above formula,
- “k” is the number of digits in the given positive number
- “I” is the given positive number.
Formula to compute negative number representation:
From the above formula,
- “k” is the number of digits in the given negative number
- “I” is the given negative number.
Explanation of Solution
b.
Calculating ten’s complement for the number “-35768”:
To compute ten’s complement for “-35768” use the formula from Equation(2), and substitute “k” value as “5” because the number of digits in the given negative number is “5” and substitute “I” value as “35768”...
Explanation of Solution
c.
Calculating ten’s complement for the number “-444455”:
To compute ten’s complement for “-444455” use the formula from Equation(2), and substitute “k” value as “6” because the number of digits in the given negative number is “6” and substitute “I” value as “444455”...
Explanation of Solution
d.
Calculating ten’s complement for the number “-123456”:
To compute ten’s complement for “-123456” use the formula from Equation(2), and substitute “k” value as “6” because the number of digits in the given negative number is “6” and substitute “I” value as “123456”...
Want to see the full answer?
Check out a sample textbook solutionChapter 3 Solutions
COMPUTER SCIENCE ILLUMIN.-TEXT
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education