.
2.1
a. Find the 16-bit 2’s complementary binary representation for the decimal number 1987.
b. Find the 16-bit 2’s complementary binary
representation for the decimal number
−1987.
What are the 16-bit 1’s and 2’s complements of the following binary numbers?
a. 10000
b. 100111100001001
Convert the decimal number 19557 to floating point. Use the
format SEEMMMM. All digits are decimal. The exponent is stored
excess-40 (not excess-50). The implied decimal point is at the
beginning of the mantissa. The sign is 1 for a positive number, 7
for a negative number. Hint: Note carefully the
number of digits in the mantissa
What is the floating point representation for
0.0000019557
As per Chegg policy, I am answering only the first question. In order to get answers of more question please upload the remaining questions separately:
Below is the screenshot of the answer related to question 2.1.
Q2.1) a.) For positive numbers, 2's complement of a number is its binary representation, so for decimal number 1987, 2's complement binary representation is 0000011111000011.
b.) For negative numbers, first we find it's binary equivalent then its first complement and then 2's complement. so for decimal number 1987, 2's complement binary representation is 0000011111000011.
1's complement will be 1111100000111100 and 2's complement will be 1111100000111101.
Hope it helps, give it a thumbs up.
Feel free to comment in case of any query.
. 2.1 a. Find the 16-bit 2’s complementary binary representation for the decimal number 1987. b. Find...
2.1 a. Find the 16-bit 2’s complementary binary representation for the decimal number 1987. b. Find the 16-bit 2’s complementary binary representation for the decimal number −1987. What are the 16-bit 1’s and 2’s complements of the following binary numbers? c. 10000 d. 100111100001001 Convert the decimal number 19557 to floating point. Use the format SEEMMMM. All digits are decimal. The exponent is stored excess-40 (not excess-50). The implied decimal point is at the beginning of the mantissa. The sign...
If we use the IEEE standard floating-point single-precision representation (1 sign bit, 8 bit exponent bits using excess-127 representation, 23 significand bits with implied bit), then which of the following hexadecimal number is equal to the decimal value 3.875? C0780000 40007800 Oo 40780000 40A80010 The binary string 01001001110000 is a floating-point number expressed using a simplified 14-bit floating-point representation format (1 sign bit, 5 exponent bits using excess-15 representation, and 8 significand bits with no implied bit). What is its...
Assume the following representation for a floating point number 1 sign bit, 4 bits exponent, 5 bits for the significand, and a bias of 7 for the exponent (there is no implied 1 as in IEEE). a) What is the largest number (in binary) that can be stored? Estimate it in decimal. b) What is the smallest positive number( closest to 0 ) that can be stored in binary? Estimate it in decimal.c) Describe the steps for adding two floating point numbers. d)...
5p Question 5 Convert the decimal number 9.625 to a floating-point number expressed in the 14-bit simple model given in your text (1 bit for the sign, 5 bits for exponent using excess-15 notation, and 8 bit mantissa with no implied bit).
(a) Find the gray code for a BCD number: 100101100010. (b) The real number -121.34375 is to be converted to 32-bit floating point format, with a bias of 127 for the biased exponent. (i) Determine S, biased exponent, mantissa for the floating point representation. (ii) Write the floating point number in hexadecimal format.
Question 19 In representing the decimal number 11/8 in IEEE 754 representation, the 8-bit binary value of the exponent plus bias for single precision is 01111111 01111110 01111101 10000000 Question 13 In representing the decimal number 11/8 in IEEE 754 representation, the 23-bit binary value of the fraction for single precision is 110 0000 0000 0000 0000 0000 111 0000 0000 0000 0000 0000 100 0000 0000 0000 0000 0000 011 0000 0000 0000 0000 0000 Question 12 The point...
Floating Point Representation Consider a computer that stores information using 10 bits words. The first bit is for the sign of the number, the next 5 for the sign and magnitude of the exponent and the last 4 for the magnitude of the mantissa. The mantissa is normalized as described in class and in the textbook. a. Convert 1 00010 1001 to a base-10 system b. What is the highest number that can be stored on this computer? c. What...
implement two functions in c++ format 1.Convert decimal number to floating point representation (hexa decimal) 2.Convert floating point representation (hexa decimal) to decimal number Note: We only care about the floating point number in IEEE754 Encoding table below (i.e., exponent 1 – 254). ----------------------------------------------------------------------------------------------------------------- void from_decimal_to_floating(){ char number[10]; float decimal = 0; cout << "Input decimal to convert a hexa decimal number (e.g., 0.4375): "; cin >> decimal; //write the code here //end of code cout << decimal << "'s...
ints) The following questions pertain to machine numbers (a) (2 points) For an 8-bit unsigned integer, what is the decimal equivalent of 10010101? (b) (3 points) For an S-bit signed integer, what is the decimal equivalent for the 2's compliment of 11010101? (c) (5 points) Consider an 8-bit floating point number like the one in Homework A2 (one sign bit, three exponent bits, and four assignable mantissa bits), what is the floating point number that associates with 01101 1001? ints)...
Convert the (base 10)decimal numbers into 14-bit, excess-16 floating point representation. a) 4410 b) 22.48710 c) -4410 d) -78.812510