Question

Question 1: (4 pts) (CLO#: 4 )(SO#: 1) [1]. The hex number 8f is Unsigned decimal number ..... Signed decimal number using 2
0 0
Add a comment Improve this question Transcribed image text
Answer #1
1)
Hexadecimal     Binary
    0           0000
    1           0001
    2           0010
    3           0011
    4           0100
    5           0101
    6           0110
    7           0111
    8           1000
    9           1001
    A           1010
    B           1011
    C           1100
    D           1101
    E           1110
    F           1111
Use this table to convert from hexadecimal to binary
Converting 8F to binary
8 => 1000
F => 1111
So, in binary 8F is 10001111

a)
Converting 10001111 to decimal
10001111
=> 1x2^7+0x2^6+0x2^5+0x2^4+1x2^3+1x2^2+1x2^1+1x2^0
=> 1x128+0x64+0x32+0x16+1x8+1x4+1x2+1x1
=> 128+0+0+0+8+4+2+1
=> 143
Answer: 143

b)
10001111
since left most bit is 1, this number is negative number.
so, follow these steps below to convert this into a decimal value.
I. first flip all the bits. Flip all 0's to 1 and all 1's to 0.
   10001111 is flipped to 01110000
II. Add 1 to above result
01110000 + 1 = 01110001
III. Now convert this result to decimal value
Converting 1110001 to decimal
1110001
=> 1x2^6+1x2^5+1x2^4+0x2^3+0x2^2+0x2^1+1x2^0
=> 1x64+1x32+1x16+0x8+0x4+0x2+1x1
=> 64+32+16+0+0+0+1
=> 113
Answer: -113

2)
a)
2^10 - 1
= 1024 - 1
= 1023
Answer: 1023

b)
Answer: 0

c)
2^9 - 1
= 512 - 1
= 511
Answer: 511

d)
-2^9
= -512
Answer: -512
Add a comment
Know the answer?
Add Answer to:
Question 1: (4 pts) (CLO#: 4 )(SO#: 1) [1]. The hex number 8f is Unsigned decimal...
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
  • (3 pts) Consider an unsigned fixed point decimal (Base10) representation with 8 digits, 5 to the...

    (3 pts) Consider an unsigned fixed point decimal (Base10) representation with 8 digits, 5 to the left of the decimal point and 3 to the right. a.      What is the range of the expressible numbers?    b.      What is the precision?    c.       What is the error?    ______________________________________________________________________________   (3 pts) Convert this unsigned base 2 number, 1001 10112, to each base given below   (Note: the space in the binary string is purely for visual convenience) Show your work. Using...

  • 4. What decimal value does the 8-bit binary number 10011110 have if:

    4. What decimal value does the 8-bit binary number 10011110 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 ones complement representation? d) It is on a computer using twos complement representation? 5. Given the following two binary numbers: 11111100 and 01110000. a) Which of these two numbers is the larger unsigned binary number? b) Which of these two is the larger when it is being...

  • What decimal number does the bit pattern 10101100 represent if it is a: [1 pts] unsigned...

    What decimal number does the bit pattern 10101100 represent if it is a: [1 pts] unsigned integer? [1 pts] sign-magnitude integer? [1 pts] two's complement integer? What decimal number does the bit pattern 01010011 represent if it is a: [1 pts] unsigned integer? [1 pts] sign-magnitude integer? [1 pts] two's complement integer?

  • 1. 2. Find the decimal value of the following 8-bit numbers for (i) un-signed and (ii)...

    1. 2. Find the decimal value of the following 8-bit numbers for (i) un-signed and (ii) signed number. (a) 11010110, (b) 01011101 Express the following decimal numbers in 6-bit 2's complement representation: (a) -27, (b) 6, (c)-13, (d) -47 - 4. Convert decimal numbers 83 and 101 to 8-bit unsigned binary number. Find the sum and difference (with addition approach) of these two numbers.

  • 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?

  • ord Paragrapth Styles 1 Perform the following conversions Convert 51 (decimal) to binary and to hex...

    ord Paragrapth Styles 1 Perform the following conversions Convert 51 (decimal) to binary and to hex a b. Convert 0xDI (hexadecimal) to binary and to decimal c. Convert Ob11001001 (binary) to hex and to decimal 2. Find the 2's complement of the following 4 bit numbers a 1101 b 0101 3. Perform the following 4 bit unsigned operations. For each, indicate the 4-bet result and the carry bit, and indicate if the answer is correct or not a. 5+8 b....

  • Here is the 16-bit, unsigned binary representation of 4100: 0001 0000 0000 0100 Write the 16-bit,...

    Here is the 16-bit, unsigned binary representation of 4100: 0001 0000 0000 0100 Write the 16-bit, unsigned binary representation of 2050. TT T Arial + 3(12pt) * T - 12 i 52 Path: P Words:0 QUESTION 8 What are the largest and smallest numbers that you can represent using the 9-bit, 2's complement representation scheme? Write both the bit strings and the equivalent decimals.

  • Why do computers use the binary number system instead of the decimal number? Convert 43_10 to...

    Why do computers use the binary number system instead of the decimal number? Convert 43_10 to binary and hexadecimal. Convert 100111_2 to hexadecimal and decimal Convert 110101_2 to its 2's complement representation. What is the largest Hex value that can be moved into 8-bit register 16-bit register What are the decimal equivalents of these Hex values?

  • Give the decimal number represented by the 32-bit word 1011 0011 1101 0000 0000 0000 0000...

    Give the decimal number represented by the 32-bit word 1011 0011 1101 0000 0000 0000 0000 0000 if a. An unsigned representation has been used b. A sign magnitude representation has been used c. A signed 2’s complement representation has been used d. A 754 IEEE representation has been usedGive the decimal number represented by the 32-bit word 1011 0011 1101 0000 0000 0000 0000 0000 if a. An unsigned representation has been used b. A sign magnitude representation has...

  • Write a program that allows the user to enter an unsigned integer (the maximum value of...

    Write a program that allows the user to enter an unsigned integer (the maximum value of an unsigned 4-byte int is 232 = 4,294,967,296) and reverses its format (from little to big endian, or vice versa). Print out the user-entered number in hexadecimal and binary, reverse the endianness, and print the reverse in hexadecimal and binary. Integers in most machine architectures are represented in little endian format: the least significant byte is stored in the smallest address; for instance, the...

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