Question

If the word length is 4 binary bits (including sign), what decimal number does 1001 represent...

If the word length is 4 binary bits (including sign), what decimal
number does 1001 represent in
a. in sign and magnitude?
b. in 2’s complement?

Homework Answers

Answer #1

Sign and Magnitude Representation:

It is most basic method of representing both Positive and Negative Number in Binary Format. In this we represent the differentiate Positive and Negative Numbers placing a Sign bit before the data bits.

  • If the MSB(Left Most Bit) is 0 then the number is Positive
  • If the MSB(Left Most Bit) is 1 then the number is Negative.

And the Magnitude of the Number is determined by converting the remaining bits to Decimal representation using Positional Weight Method

A) The given word is 1001 and length is 4 binary bits (including sign),

The MSB bit of 1 001 is 1 .

Therefore It is a Negative Number.

Now finding the magnitude of the data bits (001) using Positional Weight Method

Positional Weights Method: (exclude the MSB because it is sign bit)

Positional Weight 22 21 20
Data Bits 0 0 1
Value 0 0 1

Total value = ( 0 × 22 + 0 × 21 + 1 × 20)

= 1

Magnitude of 001 is 1 and sign is negative

Therefore 1001 represent the decimal number - 1

Hence ( 1001 )2 = ( -1 )10

2's Complement Forms: It is the enhanced form of representing the Negative Numbers in the binary format. which rectify the drawback of the sign Magnitude form.

Converting a 2's Complement number into Decimal Format:

  1. Observe the Sign Bit or MSB bit if it is 0 then the number is Positive .So directly convert the binary number into decimal using Positional Weight Method.
  2. If the sign Bit or MSB bit is 1 then it Negative number .So find 1's complement form(just alter 0's with 1's vice versa) of the given number and add 1 to result. Then convert the final result into Decimal using Positional Weight Method.

B) The given word is 1001 and length is 4 binary bits (including sign),

The MSB bit of 1 001 is 1 .

Therefore It is a Negative Number.

2' Complement 1 0 0 1
1' Complement 0 1 1 0
Adding 1 + 1
Final Result 0 1 1 1

Now convert the final result into Decimal using positional weight Method.

Positional Weights Method: (do not exclude the MSB because it is sign bit)

Positional Weight 23 22 21 20
Data Bits 0 1 1 1
Value 0 4 2 1

Total value = ( 0 × 23 + 1 × 22 + 1 × 21 + 1 × 20)

= 4 + 2 + 1 = 7

Magnitude of 1001 is 7 and the Sign is Negative

Hence ( 1001 )2 = ( -7 )10

If You Have Any Doubts. Please Ask Using Comments.

Have A Great Day!

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Part a) For an unsigned number that represent binary with n bits, what is the range...
Part a) For an unsigned number that represent binary with n bits, what is the range of value for that? Part b) How many rows appear in a truth table with n input variables? Part c) How many memory location are there if the memory address is n bits?
Sign extension means that any given signed number can be represented with more bits by simply...
Sign extension means that any given signed number can be represented with more bits by simply repeating the sign bit. For example, 0005 = +5 and 00005 = +5. This holds true for negative numbers as well. For example, 1011 = -5 and 11011 = -5. Also, 11111011 = -5. Using finite summation notation, prove that sign extension can be applied to any 2's complement binary integer, B, with b number of bits
Find the 2's complement of the following decimal numbers (You must convert the number to binary...
Find the 2's complement of the following decimal numbers (You must convert the number to binary and the answer has to be in binary with the same number of bits as the conversion)? a. 20 b. 15 c. 2126 d. 266 e. 466 please explain how you did it!
1-What is the decimal number of the binary numbers (101111)2? 2-What is 123 in BCD code?...
1-What is the decimal number of the binary numbers (101111)2? 2-What is 123 in BCD code? 3-Convert the binary (10101011101)2 into octal and hexadecimal? 4-What is 2's complement of (1101110)2? 5-Convert the decimal number 152.25 into binary?
Question 6: Convert BCD 1001 0011 to decimal Question 7: Convert hexadecimal AA to decimal Question...
Question 6: Convert BCD 1001 0011 to decimal Question 7: Convert hexadecimal AA to decimal Question 8: What is the 2’s complement of (01001110)2? Question 9: How is – 1510 represented in eight-bit 2’s complement notation? Question 10: How is – 11210 represented in eight-bit 2’s complement notation? Question 11: Solve the binary arithmetic problem: (00010111)2 + (00101001)2 Question 12: Solve the binary arithmetic problem: (1010)2 - (0100)2 Question 13: Solve the following problem: (01110000)2 - (00011000)2 Question 14: Solve...
9)provide the binary and hexadecimal representations for the integer -37 in the following forms. a)Sign and...
9)provide the binary and hexadecimal representations for the integer -37 in the following forms. a)Sign and Magnitude as an 8 bit value b)8 bit 1’s complement as an 8 bit value c)2’s complement as an 8 bit value d)2’s complement as a 12 bit value
Assuming nine-bit 2’s complement representation, convert the decimal number -137 to binary, show the effect of...
Assuming nine-bit 2’s complement representation, convert the decimal number -137 to binary, show the effect of the ROL operation on it with initial carry C=1, show the status bits and then convert the result back to decimal. Repeat with the ASR operation. Write the RTL specification of both operations shown here.
The 8-bit signed binary 2's complement number equal to the decimal number -73 is [a].
The 8-bit signed binary 2's complement number equal to the decimal number -73 is [a].
1a) 0xCAFE can be written in decimal (base 10) as: 1b) The decimal number -94 can...
1a) 0xCAFE can be written in decimal (base 10) as: 1b) The decimal number -94 can be expressed (in 8 bits) Using signed magnitude representation as: Using one's complement representation as: Using two's complement representation as: Using excess-M representation (with the appropriate value of M) as: 1c) Using the simple floating point model (1-bit sign, 5-bit biased exponent, and 8-bit significand), the number -0.125 (decimal) can be expressed as: (Do not use spaces or any English text. Provide only the...
Concern the following 16-bit floating point representation: The first bit is the sign of the number...
Concern the following 16-bit floating point representation: The first bit is the sign of the number (0 = +, 1 = -), the next nine bits are the mantissa, the next bit is the sign of the exponent, and the last five bits are the magnitude of the exponent. All numbers are normalized, i.e. the first bit of the mantissa is one, except for zero which is all zeros. 1. How many significant binary digits do numbers in this representation...