Question

17. If the following uses the floating-point format defined in Figure 1.25 of the textbook, what...

17. If the following uses the floating-point format defined in Figure 1.25 of the textbook, what is the decimal notation for this number: 01100101

18. Encode the following decimal value using the 8-bit floating-point format of Figure 1.25: 7/8 HINT: Be sure to use the normalized form. Note: Answer should be in the format n nnn nnnn

19. Encode the following decimal value using the 8 bit floating point format of Figure 1.24: 7/8 (HINT: be sure to use the normalized form.) Note: answer should be in the format of "n nnn nnnn"

Homework Answers

Answer #1
17)
0 110 0101

sign bit is 0. so, it's positive.
bias is 3.
exponent bits are 110. In decimal it is 6.
frac bits are 0101
so, in decimal 0 110 0101 is +1.0101 * 2^3
=>  1010.1
=>  In decimal this is 10.5
Answer: 10.5

18)
7/8 =>  0.875
0.875 in simple binary => 0.111
so, 0.875 in normal binary is 0.111 => 1.11 * 2^-1

sign bit is 0(+ve)
exp bits are (3-1=2) => 010
frac bits are 1100

so, 0.875 in 8-bit format is 0 010 1100
Answer: 0 010 1100

19)
This question is exactly as same as 18
Know the answer?
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
Similar Questions
16.  Convert the following decimal notation to an equivalent binary notation: 2.75 17. If the following uses...
16.  Convert the following decimal notation to an equivalent binary notation: 2.75 17. If the following uses the floating-point format defined in Figure 1.25 of the textbook, what is the decimal notation for this number: 01100101 18. Encode the following decimal value using the 8-bit floating-point format of Figure 1.25: 7/8 HINT: Be sure to use the normalized form. Note: Answer should be in the format n nnn nnnn 19. Encode the following decimal value using the 8 bit floating point...
Perform the following using 10-bit floating point notation having the format SEEEMMMMMM: a. Decode 1101110110 to...
Perform the following using 10-bit floating point notation having the format SEEEMMMMMM: a. Decode 1101110110 to decimal integer and/or fraction. b. Decode 0001100000 to decimal integer and/or fraction. c. Encode: -5/32 d. Encode: +6 and 5/8
Perform the following using 10-bit floating point notation having the format SEEEMMMMMM: a. Decode 1101110110 to...
Perform the following using 10-bit floating point notation having the format SEEEMMMMMM: a. Decode 1101110110 to decimal integer and/or fraction. b. Decode 0001100000 to decimal integer and/or fraction. c. Encode: -5/32 d. Encode: +6 and 5/8 If someone could send the answer with explanations please do. It will be greatly appreciated.
Assume we are using the simple model for the floating-point representation given in this book (the...
Assume we are using the simple model for the floating-point representation given in this book (the representation uses a 14-bit format, 5 bits for the exponent with a bias of 15, a zero-normalized mantissa of 8 bits, and a single sign bit). What is the real number represented by 01110010000101? Show how the computer would add this number with 238.5 using the floating-point addition algorithm. Verify your results by adding them in decimal, what is the relative error in the...
Find the internal representation of the following decimal number in the Single Precision Floating Point format...
Find the internal representation of the following decimal number in the Single Precision Floating Point format of the value: -17.6 Non-terminating fractions should be carried out 6 places. You will show the different steps involved in this transformation by filling out the fields below. The value 17 in binary is ___ 2 (no leading or trailing zeroes). The value .6 in binary is ____ 2 (complete to 6 places) Normalized fraction: 1.____ 2 x 2Exponent. Exponent=_____. Biased Exponent in Binary:...
19. Use the 64-bit long real format to find the decimal equivalent of the following floating-point...
19. Use the 64-bit long real format to find the decimal equivalent of the following floating-point machine numbers. a. 0100000010101001001100000000000000000000000000000000000000000000 b. 1100000010101001001100000000000000000000000000000000000000000000 c. 0011111111110101001100000000000000000000000000000000000000000000 d. 0011111111110101001100000000000000000000000000000000000000000001
Using the IEEE single-precision floating point representation, find the decimal number represented by the following 32-bit...
Using the IEEE single-precision floating point representation, find the decimal number represented by the following 32-bit numbers, each expressed as an 8-digit hex number. Express your answer using decimal scientific notation. (a) (C6500000)16 (b) (31200000)16
Q1: Answer the following questions about floating-point representations of real numbers: Why is normalization necessary? What...
Q1: Answer the following questions about floating-point representations of real numbers: Why is normalization necessary? What is the mantissa? After a number is normalized, what kind of information does a computer store in memory? Q2: A company has decided to assign a unique bit pattern to each employee. If thecompany has 900 employees, what is the minimum number of bits needed tocreate this system of representation? How many patterns are unassigned? If thecompany hires another 300 employees, should it increase...
/* Homework Lab 4 - Using manipulators to format output */ //***************************************************************** // Mortgage Payment Calculator...
/* Homework Lab 4 - Using manipulators to format output */ //***************************************************************** // Mortgage Payment Calculator program // This program determines the monthly payments on a mortgage given // the loan amount, the yearly interest, and the number of years. //***************************************************************** #include <iostream> // Access cout #include <cmath> // Access power function #include <iomanip> // Access manipulators using namespace std; const float LOAN_AMOUNT = 50000.00; // Amount of the loan const float YEARLY_INTEREST = 0.0524; // Yearly interest rate const...
High-level computer languages are created to be understood by humans. As a result, the keywords and...
High-level computer languages are created to be understood by humans. As a result, the keywords and the commands of these languages are easy to understand. Machine languages are harder to understand and operate. For this assignment, you should assume that the memory cells at addresses F0 to F9 are in the machine described here: Op-Code Operand Description 1 RXY LOAD the register R with the bit pattern found in the memory cell whose address is XY 2 RXY LOAD the...