Question

In: Computer Science

a. Encoding the decimal number 2.25 into an 8-bit binary. Suppose k=4 exponent bits, n=3 fraction...

a. Encoding the decimal number 2.25 into an 8-bit binary. Suppose k=4 exponent bits, n=3 fraction bits, and the bias is 7. What’s the corresponding binary representation for 2.25? Show your work. b. What’s the value in decimal if this is an 8-bit floating point number? Suppose k=4 exponent bits, n=3 fraction bits, and the bias is 7 of 10111001

Solutions

Expert Solution


Related Solutions

7-bit float to fraction Consider a 7-bit float representation with 3 exponent bits. that k is...
7-bit float to fraction Consider a 7-bit float representation with 3 exponent bits. that k is the number of exponent bits, and the bias is computed as 2k-1-1. For each problem, convert the given float value (provided as a series of bits) into the equivalent base 10 fraction. Simplify each fraction as much as possible. If there is a whole number part and a fractional part, put a space between them. Here are some example values in the correct format:...
convert fraction decimal number 14/13 to acorrectly rounded binary number with 8 digits.
convert fraction decimal number 14/13 to acorrectly rounded binary number with 8 digits.
a)The decimal equivalent of the signed 2’s complement 8-bit binary number 11010101B is ______________. b)The decimal...
a)The decimal equivalent of the signed 2’s complement 8-bit binary number 11010101B is ______________. b)The decimal equivalent of the unsigned 8-bit hex number 0B4H is ______________. c)The value of the expression ‘H’ – ‘B’ is less than / equal to / greater than that of the expression ‘L’ – ‘C’. d)If the .data segment contains declarations                         A    BYTE      2 DUP (‘a’), ‘+’ B    BYTE      3 DUP (‘b’), 0 C    BYTE      4 DUP (‘c’), ‘–’ D    BYTE     ...
What decimal value does the 8-bit binary number 10011110 have if: a) it is interpreted as...
What decimal value does the 8-bit binary number 10011110 have if: a) it is interpreted as an unsigned number? b) It is on a computer using signed-magnitude representation? c) It is on a computer using one’s complement representation? d) It is on a computer using two’s complement representation?
1) Convert negative fractional decimal number to 8-bit binary number: – 16.625 (use 2's complement binary...
1) Convert negative fractional decimal number to 8-bit binary number: – 16.625 (use 2's complement binary format) Hint: –17 + 0.375 Given the hint above, the fractional number will be divided into two parts, - Whole number, - Fractional part, must be positive (2) Proof to check that your calculation above is correct
(1) Convert negative fractional decimal number to 8-bit binary number: – 6.625 Hint: –7 + 0.375...
(1) Convert negative fractional decimal number to 8-bit binary number: – 6.625 Hint: –7 + 0.375 Given the hint above, the fractional number will be divided into two parts, - Whole number, - Fractional part, must be positive (2) Use 2's complement binary format to convert negative fractional decimal number to 8-bit binary number: – 6.625 (3) Proof to check that your representation calculation for (1) & (2) is correct
Convert the following decimal number to eight (8) binary bits: 21, 200, 105, 144, 183, 199,...
Convert the following decimal number to eight (8) binary bits: 21, 200, 105, 144, 183, 199, 88, 100, 19, 204
1. Add the following binary number in 8-bit. Rewrite each problem in decimal notation to check...
1. Add the following binary number in 8-bit. Rewrite each problem in decimal notation to check you work. 10110101112 + 011001002 2. Find the binary equivalent the following decimal numbers. 0.25 3. Find the decimal equivalent for the following binary numbers. 1110102/100000002 4. Find the decimal equivalent for the following binary numbers. 0.00102 5. Give the multiplying factor associated with each of the following metric prefixes. Deci- 6. Find the binary equivalent the following decimal numbers. 0.6875 7. Exactly how...
What decimal number is represented by the binary 2’s complement 8-bit number 11100111? Show your work
What decimal number is represented by the binary 2’s complement 8-bit number 11100111? Show your work
Interpret these signed 8-bit sequences with each type of signed/unsigned encoding. Remember the bits are arbitrary!...
Interpret these signed 8-bit sequences with each type of signed/unsigned encoding. Remember the bits are arbitrary! They can be interpreted in many different ways. C.1: Complete the following table using decimal (base-10) numbers. The first line is already completed for you bit sequence unsigned sign-magnitude 1s’ complement 2’s complement 00000101 +5 +5 +5 +5 11110001 ? ? ? ? 01010011 ? ? ? ? 10000000 ? ? ? ? 11111111 ? ? ? ?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT