Assignment 01b - Number Systems

pdf

School

University of Texas *

*We aren’t endorsed by this school

Course

311K

Subject

Computer Science

Date

Feb 20, 2024

Type

pdf

Pages

3

Uploaded by MegaEnergy11514

Report
Crystal Zimmermann Assignment 01b - Number Systems 1. Given the binary number 001101101110001112 (i.e., in base 2). a. What is this number in decimal – in base 10? In decimal (base 10): 1405 b. What is this number in hexadecimal – in base 16? In hexadecimal (base 16): 36E3 2. Given the binary number 1101101111101002 (i.e., in base 2). a. What is this number in decimal – in base 10? In decimal (base 10): 28148 b. What is this number in hexadecimal – in base 16? In hexadecimal (base 16): 6DF4 3. Given the decimal number 23510 (i.e., in base 10). a. What is this number in binary – in base 2? In binary (base 2): 11101011 b. What is this number in hexadecimal – in base 16? In hexadecimal (base 16): EB 4. Given the decimal number 66410 (i.e., in base 10). a. What is this number in binary – in base 2? In binary (base 2): 1010011000 b. What is this number in hexadecimal – in base 16? In hexadecimal (base 16): 298 5. Given the hexadecimal number 23516 (i.e., in base 16). a. What is this number in binary – in base 2? In binary (base 2): 1000110101 b. What is this number in decimal – in base 10? In decimal (base 10): 565 6. Given the hexadecimal number 1BC16 (i.e., in base 16).
a. What is this number in binary – in base 2? In binary (base 2): 110111100 b. What is this number in decimal – in base 10? In decimal (base 10): 444 7. Given the binary number 0.011011012 (i.e., in base 2). a. What is this number in decimal – in base 10? In decimal (base 10): 0.42578125 b. What is this number in hexadecimal – in base 16? In hexadecimal (base 16): The direct conversion gives the integer part as 0. 8. Given the binary number 1101.1011112 (i.e., in base 2). a. What is this number in decimal – in base 10? In decimal (base 10): 13.734375 b. What is this number in hexadecimal – in base 16? In hexadecimal (base 16): D for the integer part. 9. Given the decimal number 0.23510 (i.e., in base 10). a. What is the closest number in binary – in base 2, using at most 23 bits (0’s or 1’s) as in the most allowed, for the mantissa in single precision? (You may use EXCEL for this.) Closest number in binary (base 2) using at most 23 bits: 00111100001010001111010 b. What is the closest number in hexadecimal – in base 16, using at most 6 characters? Closest number in hexadecimal (base 16) using at most 6 characters: 3C28F5 10. Given the decimal number 0.7812510 (i.e., in base 10). a. What is the closest number in binary – in base 2, using at most 23 bits (0’s or 1’s) as in the most allowed for the mantissa in single precision? (You may use EXCEL for this.)
Closest number in binary (base 2) using at most 23 bits: 11001 b. What is the closest number in hexadecimal – in base 16, using at most 6 characters? Closest number in hexadecimal (base 16) using at most 6 characters: 190000 11. Given the hexadecimal number 0.23516 (i.e., in base 16). a. What is this number in binary – in base 2? In binary (base 2): 001000110101 b. What is this number in decimal – in base 10? In decimal (base 10): 0.137939453125 12. Given the hexadecimal number 0.1A316 (i.e., in base 16). a. What is this number in binary – in base 2? In binary (base 2): 000110100011 b. What is this number in decimal – in base 10? In decimal (base 10): 0.102294921875
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help