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
Convert the hexadecimal number DEADBEEF to binary. Convert the following decimal number to binary: a) 356...
Convert the hexadecimal number DEADBEEF to binary. Convert the following decimal number to binary: a) 356              b) 658 What decimal value does the 8-bit binary number 10011110 represent if it is on a computer using two’s complement representation? What decimal value does the 8-bit binary number 10110100 have if it is on a computer using two’s complement representation? please show your work for question number 4. thank you.
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?
Design a circuit with three inputs x,y and z representing the bits in a binary number,...
Design a circuit with three inputs x,y and z representing the bits in a binary number, and three outputs (a,b, and c) also representing bits in a binary number. When the input is 0,1,6, or 7, the binary output will be the complement of the input. When the binary input 2,3,4, or 5 the output is the input shifted left with rotate. For example: 3 = 011₂ outputs 110; 4 = 100₂ outputs 001.) Show truth table, computation, simplification and...
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].