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
Look for the binary representation for each of the numbers in the left column of the...
Look for the binary representation for each of the numbers in the left column of the following table using the algorithm that iteratively divides by two. Show all steps of the algorithm for each number in different rows of a table with three columns like the example I have included. All steps are essential for getting full credit. Create 5 different tables for the 5 numbers. The numbers in the left column of the following table are expressed in base-10...
(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
4. The DuPont System allows us to relate the return on total assets and the return...
4. The DuPont System allows us to relate the return on total assets and the return on common equity to various measures of firm characteristics. Consider a firm with a ROA of 0.04. a. If you were analyzing a firm that had sales of $12500 and total assets of $10000, how much in earnings were available for common shareholders? b.If the firm had common stockholders' equity of $3300, what would be the firm's ROE? c. If we compare this firm...
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?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT