Question

1. Convert the decimal number +164 and -164 to 9-bit binary numbers according to Sign magnitude,...

1. Convert the decimal number +164 and -164 to 9-bit binary numbers according to Sign magnitude, One’s complement, and Two’s complement

2. Convert the binary number 111011010 to base 10 decimal form (our regular number system) treating it as each of the following representations: Sign magnitude, One’s complement, and Two’s complement

0 0
Add a comment Improve this question Transcribed image text
Answer #1

2) Given 1 1101 1010

In Sign magnitude the

The sign "1" means negative

11011010 = (1 × 2⁸) + (1 × 2⁷) + (0 × 2⁶) + (1 × 2⁵) + (1 × 2⁴) + (0 × 2³) + (1 × 2²) + (0 × 2¹) + (-16 × 2⁰) = 218

The magnitude is 218

In One’s complement

111011010 = (1 × 2⁸) + (1 × 2⁷) + (1 × 2⁶) + (0 × 2⁵) + (1 × 2⁴) + (1 × 2³) + (0 × 2²) + (1 × 2¹) + (0 × 2⁰) = 474

In Two’s complement

111011010 = -38

Add a comment
Know the answer?
Add Answer to:
1. Convert the decimal number +164 and -164 to 9-bit binary numbers according to Sign magnitude,...
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. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • (1) Convert this Hexadecimal to Binary, Octal and Decimal : ABCDEF (2) how the representation of...

    (1) Convert this Hexadecimal to Binary, Octal and Decimal : ABCDEF (2) how the representation of each of these numbers in both two’s complement and sign magnitude formats. Use the following assumptions: ● Assume that the sign magnitude number should be represented in the fewest number of bits possible. ● Assume that the sign bit for negative sign magnitude numbers should be a 1. ● Assume that the two’s complement numbers should be 8 bit numbers. 1. 108 2. -65

  • For problems 8, 9 and 10, convert the following decimal numbers into 8‑bit binary numbers as...

    For problems 8, 9 and 10, convert the following decimal numbers into 8‑bit binary numbers as required for 2's complement math, and perform the indicated operations. Circle or bold your binary answer and show your work. Notes: Remember that positive numbers are represented in sign-magnitude format in 2's complement math 8. +26 +15 =                                                          9. +26 - 15    = 10. - 26 +15 =

  • Convert the following numbers from binary to decimal, assuming nine-bit two’s complement binary representation: 1 0110...

    Convert the following numbers from binary to decimal, assuming nine-bit two’s complement binary representation: 1 0110 1010

  • Convert the decimal numbers A and B to 5-bit binary numbers. Using two’s complement representation, show...

    Convert the decimal numbers A and B to 5-bit binary numbers. Using two’s complement representation, show (i) how to subtract the two 5-bit binary numbers (A−B); (ii) how to translate the binary result back to decimal

  • Exercise 1.25 Convert the following decimal numbers to unsigned binary numbers Exercise 1.31 Repeat Exercise 1.29,...

    Exercise 1.25 Convert the following decimal numbers to unsigned binary numbers Exercise 1.31 Repeat Exercise 1.29, but convert to 8-bit sign/magnitude numbers KExercise 1.32 Repeat Exercise 1.30, but convert to 8-bit sign/magnitude numbers (a) 4210 (b) 6310 Exercise 1.33 Convert the following 4-bit two's complement numbers to 8-bit two's complement numbers. (c) 22910 (d) 84510 (a) 0101 b) 1010 XExercise 1.26 Convert the following decimal numbers to unsigned binary numbers. Exercise 1.34 Convert the following 4-bit two's complement numbers to...

  • 101b= 2610, what is b?   How the following numbers will be represented in 4-bit (a) sign-magnitude...

    101b= 2610, what is b?   How the following numbers will be represented in 4-bit (a) sign-magnitude (b) two’s complement and (c) unsigned representations. Indicate if not possible. 2,  5,   7,   8   How the following negative numbers will be represented in 4-bit (a) sign-magnitude and b) two’s complement representations. Indicate if not possible. -2,     -5,   -7,  -8 Consider the following java program snippet (hint: byte is represented as 8-bit 2’s complement number in java- run the program in java to check it). What will be printed? Explain....

  • 1. Convert the binary number 10101102 to octal, decimal, and hexadecimal numbers. 2. Convert the decimal...

    1. Convert the binary number 10101102 to octal, decimal, and hexadecimal numbers. 2. Convert the decimal number 236.7510 to binary,octal, and hexadecimal numbers. 3. Add the following two binary numbers: 100111102 and 011110112. Remember to show any carries that are generated along the way. 4. Repeat the previous question, but this time subtract the second binary number from the first. Remember to show any borrows that are required along the way. 5. Determine the encoding of the decimal number 28610...

  • 2. Convert the following two's complement binary numbers to decimal numbers. These numbers are integers.

    2. Convert the following two's complement binary numbers to decimal numbers. These numbers are integers. a. 110101 b. 01101010 c. 10110101 3. Convert the following decimal numbers to 6-bit two's complement binary numbers and add them. Write the results in 6-bit two's complement binary number format and decimal number format. Indicate whether or not the sum overflows a 6-bit result. a. 14 + 12 b. 30 + 2 C. -7 + 20 d. -18-17 4. What is the signed/magnitude and two's complement range of...

  • What decimal value does the 8-bit binary number 10110111 have if: a) it is interpreted as...

    What decimal value does the 8-bit binary number 10110111 have if: a) it is interpreted as an unsigned number? b) it is on a computer using signed-magnitude representation? c) it is on a computer using one’s complement representation? d) it is on a computer using two’s complement representation? e) it is on a computer using excess-127 representation?

  • Convert the following decimal numbers to 6-bit two's complement binary number and add them. Keep result...

    Convert the following decimal numbers to 6-bit two's complement binary number and add them. Keep result in binary form. Enter yes/no for any overflows (overflows only, not carried bits). 16 + 9 .............. Overflow?................... 27 + 31 .............. Overflow?....................... (-4) + 19 .............. Overflow? ........................ 3 + (-32) ............ Overflow? ........................ (-16) + (-9) ............... Overflow? .............................. (-27) + (-31) ................ Overflow? ...........................................

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT