Question

Please explain how you got the answers for signed and unsigned integer please and thank you!

OxFADE 13. Convert signed integer a. binary b. decimal 14. Convert unsigned integer OxFADE a. binary b. decimal

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

Answer

13)
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

a)
Converting FADE to binary
F => 1111
A => 1010
D => 1101
E => 1110
So, in binary FADE is 1111101011011110
Answer: 1111101011011110

b)
Now converting 0xFADE to decimal
1111101011011110
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.
   1111101011011110 is flipped to 0000010100100001
II. Add 1 to above result
0000010100100001 + 1 = 0000010100100010
III. Now convert this result to decimal value
Converting 10100100010 to decimal
10100100010
=> 1x2^10+0x2^9+1x2^8+0x2^7+0x2^6+1x2^5+0x2^4+0x2^3+0x2^2+1x2^1+0x2^0
=> 1x1024+0x512+1x256+0x128+0x64+1x32+0x16+0x8+0x4+1x2+0x1
=> 1024+0+256+0+0+32+0+0+0+2+0
=> 1314
Answer: -1314

14)
a)
Converting FADE to binary
F => 1111
A => 1010
D => 1101
E => 1110
So, in binary FADE is 1111101011011110
Answer: 1111101011011110

b)
FADE
=> Fx16^3+Ax16^2+Dx16^1+Ex16^0
=> Fx4096+Ax256+Dx16+Ex1
=> 15x4096+10x256+13x16+14x1
=> 61440+2560+208+14
=> 64222
Answer: 64222


Please let me know if you have any doubts Please upuote this answer. Thanks!!

Add a comment
Know the answer?
Add Answer to:
Please explain how you got the answers for signed and unsigned integer please and thank you!...
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
  • Could someone help me with these please? Also, what significance does "signed" vs "unsigned" mean in...

    Could someone help me with these please? Also, what significance does "signed" vs "unsigned" mean in these cases below? Some steps would be very helpful. Thanks for helping me understand! Convert the decimal number to signed 8-bit binary: -35 Convert the unsigned 8-bit hexadecimal to unsigned 8-bit binary: 0x80 Convert the decimal number to signed 8-bit binary: 127 Convert the decimal number to signed 8-bit binary: -100 Convert the signed 8-bit binary number to decimal: 1010 1010

  • Please convert the 4-bit, signed value to it's unsigned magnitude (absolute value) in binary and it's...

    Please convert the 4-bit, signed value to it's unsigned magnitude (absolute value) in binary and it's signed decimal value: Ob0101 Binary magnitude: Ob Signed decimal value:

  • Please convert the 4-bit, signed two's complement value to it's unsigned magnitude in binary and it's...

    Please convert the 4-bit, signed two's complement value to it's unsigned magnitude in binary and it's signed decimal value: 0b1100

  • Please explain clearly how they got the answer, thank you! Please explain clearly how they got...

    Please explain clearly how they got the answer, thank you! Please explain clearly how they got the answer, thank you! A proton is accelerated from rest through a potential difference of 2.5 kV and then moves perpendicularly through a uniform 0.60-T magnetic field. What is the radius of the resulting path?

  • PLEASE SHOW MATH OF IT ALL Given n bits, how many signed numbers can be represented...

    PLEASE SHOW MATH OF IT ALL Given n bits, how many signed numbers can be represented using the sign-and-magnitude method, the ones’ complement method, and the two’s complement method, respectively? (5 points) Number conversion (2.5 x 22 = 55 points) Convert the following unsigned binary numbers to decimal: 11111 101 Convert the following decimal numbers to binary: 111 35 Convert the following octal numbers to binary: 1111 731 Convert the following unsigned binary numbers to octal: 101010111001 1001 Convert the...

  • 3. Convert the following signed hexadecimal numbers to decimal . a) EE2 b) 7F2 c) 2FE...

    3. Convert the following signed hexadecimal numbers to decimal . a) EE2 b) 7F2 c) 2FE 4. Perform the subtractions with the following binary numbers using 2’s complement Check the answer by straight binary subtractions. a) 10011 – 10001, b) 10110 – 11000, c) 100111011 – 10001. 5. What is the decimal equivalent of the largest binary integer that can be obtained with a) 11 bits unsigned signed b) 25 bits? unsigned signed

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

  • please show how you got this answer thank you! Solve for x: log16 2 + log16(x...

    please show how you got this answer thank you! Solve for x: log16 2 + log16(x + 6) = 1 If an answer does not work, enter DNE. Be sure to enter any numerical answers first. CE = Enter an integer or decimal number (more...)

  • question 1 part 2 and 3 thank you (47) Naruto Notone C Sign In er Sign...

    question 1 part 2 and 3 thank you (47) Naruto Notone C Sign In er Sign Up | Ch ® UFC & MMA × Secure I https://piazza-resourcess3.amazonaws.com/jgopch0cb93d8/j .pdfAWSAccessKeyld-AKAILDNRL/4ALKBWOHA8lexpires-15200435/2&Signature-ol9aXG9 /UAKIHS0QUwMeyBX.. ☆ ミ quations must be properly tyne-set including superscript-s expunents, Always watch the course websile for updates on the assignments. Question 1 (4 points) Show you work I. Convert 2727 into a 32-bit two's complement binary number 2. Convert -5795 into a 16-bit two's complement binary number 3. Add the above...

  • Please answer ALL parts of this question and clearly explain how you got to the answers....

    Please answer ALL parts of this question and clearly explain how you got to the answers. Thank you! 21 1.- Determine the value of n and Azrequired for Simpson's rule to approximatel 4+2 to within 10-5 and compute the approximation. How will the values of n and Ac change if we have used the Trapezoidal rule instead of Simpson's rule in question 1?

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