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.
Express the decimal number (25)10 as an 8-bit unsigned binary number. Express the decimal number (-37)10...
Express the decimal number (25)10 as an 8-bit unsigned binary number. Express the decimal number (-37)10 as an 8-bit sign-magnitude binary number. Express the decimal number (-37)10 as an 8-bit 1's complement binary number.
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?
What decimal number does the bit pattern 1101 1011 represent if it is a: • [1...
What decimal number does the bit pattern 1101 1011 represent if it is a: • [1 pts] unsigned integer? • [1 pts] sign-magnitude integer? • [1 pts] two's complement integer? Please Explain and Show all work
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...
Represent the following decimal numbers in binary using 8-bit signed magnitude, one’s complement, and two’s complement:...
Represent the following decimal numbers in binary using 8-bit signed magnitude, one’s complement, and two’s complement: a) 77 b) -42 c) 119 d) -107 E) 60 f) -60 g) 20 h) -20
Show that in 2’s complement binary system, the highest significant position acts like a sign (not...
Show that in 2’s complement binary system, the highest significant position acts like a sign (not the same) as in the signed-magnitude binary system. Is this true for any radix-r number system? Justify your answer.