Q1) Convert the following negative decimal numbers to 8 bit binary using the 2’s complement (show the steps):
a) -39
b) -127
Q2) Solve the following subtraction problems using 2's complement representation. (Show the steps using 8-bits)
a) 19 – 87
b) 89 – 5
Q3) Convert the following numbers into scientific notation: (Note: to show ten raised to the power of n, you can type as 10^n)
a) 654.345
b) 0.000000324235
c) 25600000000000
Q4) Convert the following numbers out of scientific notation:
a) 1.234 X 10^-5
b) 7.345 X 10^10
c) 4.76456E-23
Q5) Convert the following decimal numbers into the IEEE 754 single-precision floating point representation. (Show the steps):
a) -64.1875
Answer 1.a:
39->00100111 (decimal to binary)(The negative sign is ignored in this step)
00100111->11011000 (convert to its 1's complement just by flipping the bits)
11011000+1->11011001 (convert to 2's complement by adding 1 to the 1's complement)
Answer 1.b:
The process remains the same as question 1.a.
127->01111111 (decimal to binary)
01111111->10000000 (convert to its 1's complement just by flipping the bits)
10000000+1->10000001 (convert to 2's complement by adding 1 to the 1's complement)
Q1) Convert the following negative decimal numbers to 8 bit binary using the 2’s complement (show...
Given A = (1111 0011 1100 0011 1100 0000 0000 0000)2 and assuming A is a single precision IEEE-754 floating point number, what decimal value does A represent? Show A in normalized scientific notation: 1.X * 2Y. Convert (28.4)10 to IEEE-754 single-precision binary. Given X = (0100 0010 0000 1111 0000 0000 0000 0000)2 and Y = (0100 0001 1010 0100 0000 0000 0000 0000)2 in single precision IEEE-754 floating point numbers, perform the following operations. Show all of your...
6. The exponent in IEEE format floating point numbers are not represented in 2's complement format. Why not? What number is indicated if the value stored in the exponent is zero? What exponent and fraction are used to represent "not-a-number"? 7. This question deals with two numbers in IEEE format (A - 0x3F400000, B 0x3DB00000 (a) Calculate A+B using the floating-point addition procedure discussed in class. Determine the single precision result and express your answer in IEEE floating-point format. Convert...
Convert the decimal numbers A and B to 5-bit binary numbers. Using two’s complement representation, show (i) how to subtract the two 5-bit binary numbers (A−B); (ii) how to translate the binary result back to decimal
For the following decimal numbers, convert to 8-bit binary numbers and perform addition. Use 2's complement signed numbers when subtraction is indicated. (a) 2710+ 3410 (b) 520-1810 (c) 3110 - 6310
Convert the IEEE 754 single-precision floating-point number 8000000F16 to binary expressed in normalized scientific notation. Hint 8000000F16 is a denormalized number. Please show steps.
2.Convert the following binary numbers to floating-point format using single-precision IEEE 754 format. Convert your answer to hexadecimal format. a) 11001.0101 b) -101.111101 c) -0.0101001
1.Convert the following decimal and binary numbers into signed integer 32-bit representation (2’s complement for negative numbers). -99
Watching a YouTube tutorial on how to convert decimal to floating point numbers (IEEE 754) and normalisation may prove to be beneficial. Watching a YouTube tutorial on how to convert decimal to floating point numbers (IEEE 754) may prove to be beneficial Convert the decimal number to 32 bits I Decimal number 18 to its binary equivalent I. 18 normalized in binary: 1.-2刈2n) II Biased exponent: 10 IV. Conversion to EE 754 16 I: 10, For ii please normalize the...
Please show steps EXERCICE4 The following real numbers are given in single precision (ieee-754 floating point) format. Negate each of them. Single Precision FP Inverse (negated) value in single precision FP Ox3FCO0000 OxAFC00000 0x43806000 0xC3906000 0x41200000 0xF1200000 0x3F7F0000 EXERCICE 5 Express the following real numbers (single precision ieee-754 floating point) in decimal notation Single Precision FP Value in base 10 0x3FC00000 0xBFC00000 0x43806000 0xC3806000 0x41200000 0xC1200000 0x3F7F0000
2. Convert the following two's complement binary numbers to decimal numbers. These numbers are integers. a. 110101 b. 01101010 c. 10110101 3. Convert the following decimal numbers to 6-bit two's complement binary numbers and add them. Write the results in 6-bit two's complement binary number format and decimal number format. Indicate whether or not the sum overflows a 6-bit result. a. 14 + 12 b. 30 + 2 C. -7 + 20 d. -18-17 4. What is the signed/magnitude and two's complement range of...