Question

In: Computer Science

i.Show that 0.0100112 is the binary representation of 0.29687510 ii.A computer system allows only 4 binary...

  • i.Show that 0.0100112 is the binary representation of 0.29687510
  • ii.A computer system allows only 4 binary digits after the decimal point. Write the two binary values with exactly 4 digits after the decimal point that ‘sandwich’ 0.0100112.
  • iii.Using the two binary ‘sandwich’ values that you found in (ii), write down the minimum and maximum binary values that sandwich the result of 0.0100112 + 0.0100112

  • iv.Convert each of the binary values you found in (iii) to decimal notation. Give the minimum and maximum values in decimal notation.
  • v.Calculate, in decimal, the value of 0.29687510 + 0.29687510 (Your answer is the actual value so it should not be rounded). By what percentage, rounded to the nearest whole percent, does the maximum value exceed the actual value? Your answer should show the actual value, the percentage and your workings for full marks.

Solutions

Expert Solution

Here, I am providing my handwritten solutions of above questions:

In case you have doubt like how we are finding just smaller and just greater value then i would like to answer that we are just changing bits in such a way that we get the corresponding smaller and greater value.


Related Solutions

Write the binary tree representation for the Binary Search for also 17 elements and give the...
Write the binary tree representation for the Binary Search for also 17 elements and give the worst-case
(6 pts) Convert the data representation given below • Convert 10110111 unsigned binary representation, to decimal...
(6 pts) Convert the data representation given below • Convert 10110111 unsigned binary representation, to decimal representation. • Convert 01100000101110000001010111111000 the binary representation to a hexadecimal representation. • Convert 0xBAAADA55 hexadecimal representation, to a binary representation. 2. (8 pts) Complete the following arithmetic operations in two’s complement representation. What are the values of the carry flag and the overflow flag? (Assume a six-bit system) • 31 + 11 • 13 – 15 • (-2) x (-16) • (-15) ÷ 5
1. Trident Developers purchased a computer system for $100,000 on June 4, 2003. The computer system...
1. Trident Developers purchased a computer system for $100,000 on June 4, 2003. The computer system is used for business 100% of the time. The accountant for the company elected to take a $12,000 Section 179 deduction, and the asset qualified for a special depreciation allowance (see Table 17-4). Click here for Table 17-4 a. What was the basis for depreciation of the computer system? $ b. What was the amount of the first year's depreciation using MACRS? Click here...
Prove that every real number with a terminating binary representation (finite number
Prove that every real number with a terminating binary representation (finite number of digits to the right of the binary point) also has a terminating decimal representation (finite number of digits to the right of the decimal point).  
What is the 11 bit, binary representation of -108? What is the hexadecimal equivalent of this...
What is the 11 bit, binary representation of -108? What is the hexadecimal equivalent of this number?
Let T be a binary tree with n positions that is realized with an array representation...
Let T be a binary tree with n positions that is realized with an array representation A, and let f() be the level numbering function of the positions of T, as given in Section 8.3.2. Give pseudocode descriptions of each of the methods root, parent, left, right, isExternal, and isRoot.
Provide the instruction type, assembly language instruction, and binary representation of the instruction described by the...
Provide the instruction type, assembly language instruction, and binary representation of the instruction described by the following LEGv8 fields: op = 0x458, Rm = 14, Rn = 16, Rd = 18, shamt = 0
Why are computer addresses described with hexadecimal notation? Why isn't the binary number system used? What...
Why are computer addresses described with hexadecimal notation? Why isn't the binary number system used? What is BCD?
Explain the use of the mantissa and exponent for its representation on a computer. Why is...
Explain the use of the mantissa and exponent for its representation on a computer. Why is it necessary? Explain the terms “normalization”, “hidden bit” and “bias” in the context of floating point number representation.
Show the IEE 754 binary representation of the number 0.625 in: a. single precision. After you...
Show the IEE 754 binary representation of the number 0.625 in: a. single precision. After you show the calculations, create a table with 2 rows and 32 columns to show the binary representation of the number. b. double precision. After you show the calculations, create a table with 3 rows and 32 columns to show the binary representation of the number.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT