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 88: 45

Answer

See the explanation

Work Step by Step

If you change the length of the bit strings used to represent integers in binary from 4 bits to 6 bits, the largest integer you can represent increases. With 4 bits, you can represent integers from 0 to 15 (2^4 - 1). With 6 bits, you can represent integers from 0 to 63 (2^6 - 1). In two's complement notation, the largest positive integer you can represent depends on the number of bits. With 4 bits, the largest positive integer is 7 (0111 in binary). With 6 bits, the largest positive integer is 31 (001111 in binary). The negative integers would also change accordingly.
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.