How to convert a number into binary


Problem:

Question 1- Write a program C++ that stores lists of names (the last name first) and ages in parallel arrays and sorts the names into alphabetical order keeping the ages with the correct names.

Question 2- What would the number 3185.34375 ten be in IEEE 754 single precision floating point format. You need to follow the following steps:

a) Write the above number in binary. (before normalizing it)

b) Write the above number in the normalized format.

c) Compute the biased exponent, and write it in binary.

d) Write its IEEE 754 single precision floating point format in binary, then in hex.

Please show code with comments so I can follow what you are doing.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: How to convert a number into binary
Reference No:- TGS0893776

Expected delivery within 24 Hours