Computer Networking: A Top-Down Approach (7th Edition)
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN: 9780133594140
Author: James Kurose, Keith Ross
Publisher: PEARSON
Bartleby Related Questions Icon

Related questions

Question
100%
Represent the following decimal numbers in binary using 8-bit signed magnitude, one's complement,
two's complement, and excess-127 representations:
+++
Decimal
+38
-54
SM
00101010
11110101
OC
01000100
11110101
TC
00001111
11110101
Excess-127
10001111
11110101
expand button
Transcribed Image Text:Represent the following decimal numbers in binary using 8-bit signed magnitude, one's complement, two's complement, and excess-127 representations: +++ Decimal +38 -54 SM 00101010 11110101 OC 01000100 11110101 TC 00001111 11110101 Excess-127 10001111 11110101
Expert Solution
Check Mark
Introduction

Signed Magnitude:

When a number is expressed in sign-magnitude form, the MSB is used to indicate the number's sign, while the remaining bits reflect its magnitude. Therefore, simply add the sign bit to the leftmost side of an unsigned binary number. This representation is comparable to that of signed decimal numbers.

1's complement:

By complementing each bit in a signed binary number, one can derive the 1's complement of a given number. Therefore, a positive number multiplied by one produces a negative number. The complement of a negative number, 1, yields a positive number. The original signed binary number can be obtained by doing two times the 1's complement of a binary number that includes the sign bit.

2's complement:


One is added to the 1's complement of a signed binary number to produce the binary number's 2's complement. The result is a negative number when a positive number is multiplied by two. Similar to this, adding two to a negative number results in a positive number. The original signed binary number can be obtained by performing two times the 2's complement of a binary number that includes the sign bit.

 

Excess 127:


The excess-M form of a signed integer yields the unsigned binary value by simply adding M to the signed integer. – The number 010, for instance, is represented as 0 + 7 = 710 = 01112, assuming that we're using excess-7 representation. – The symbol for the number 310 is 3 + 7 (1010 = 10102).

 

 

 

Using the above procedure we can calculate each field in the table...

Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Computer Networking: A Top-Down Approach (7th Edi...
Computer Engineering
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:PEARSON
Text book image
Computer Organization and Design MIPS Edition, Fi...
Computer Engineering
ISBN:9780124077263
Author:David A. Patterson, John L. Hennessy
Publisher:Elsevier Science
Text book image
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:9781337569330
Author:Jill West, Tamara Dean, Jean Andrews
Publisher:Cengage Learning
Text book image
Concepts of Database Management
Computer Engineering
ISBN:9781337093422
Author:Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:Cengage Learning
Text book image
Prelude to Programming
Computer Engineering
ISBN:9780133750423
Author:VENIT, Stewart
Publisher:Pearson Education
Text book image
Sc Business Data Communications and Networking, T...
Computer Engineering
ISBN:9781119368830
Author:FITZGERALD
Publisher:WILEY