Question

In: Computer Science

For each of the following signed numbers: what are the minimum and maximum values it can...

For each of the following signed numbers: what are the minimum and maximum values it can represent?

3 bit minimum & Maximum

5 bit minimum & Maximum

Solutions

Expert Solution

a) Singed representation of number as the name suggest is a method to represent both positive and negative numbers.

So for 3 bits in general we can have 23 patters. This is because we have 3 bits and each bit will have 3 choices. So total no. of choices = 2 * 2 * 2, which is nothing but 23.

But we have represent both positve and negative no.. So we divide the total no.'s into two equal parts, each having 22 = 4 terms.

Here the MSB (Most Significant Bit - the left most bit) is used to represent the sign of the number. If the MSB is 0 then the no. is positive and if the MSB is 1 then the no. is negative. For the rest of no. we directly evaluate the decimal equivalent of the no..

000 = 0
001 = 1
010 = 2
011 = 3
------------
100 = -0
101 = -1
110 = -2
111 = -3

So it range of no.'s we can represent using the signed notation is is (-3, 3).

b) If we try to generalize we can clearly see that the no. we can represnt using n-bits in signed representation is (-(2n-1-1) to 2n-1-1).

So with 5 bits we can represent no. from (-15 to 15).

Hope this helps. If you have any queries or suggestions regarding the answers please leave them in the comments section so I can update and improve the answer. Thank you


Related Solutions

What is the maximum and minimum values for average end-to-end distance in polymers? What is the...
What is the maximum and minimum values for average end-to-end distance in polymers? What is the probablity distribution function for the chain length between these range? Drive the equation for root-mean square end to end distance for N bonds, each with the length of 1 and no steric hindrance and all the chains are freely rotated?
1- Use calculus to find the absolute maximum and minimum values of the following functions on...
1- Use calculus to find the absolute maximum and minimum values of the following functions on the given intervals. Give your answers exactly and show supporting work. f(x) = (7x − 1)e^−2x on [0, 1] f(x) = x^4 − 2x^2 + 4 on [0, 2] f(x) = x^3 − 2x^2 + x + 1 on [0, 1]
For the minimum and maximum allowed pH values of blood, calculate the following ratios (you may...
For the minimum and maximum allowed pH values of blood, calculate the following ratios (you may use relevant Ka values that are tabulated for 25C in Appendix D of your textbook): [Species #1] / [Phosphoric Acid] [Species #2] / [Phosphoric Acid] [Species #3] / [Phosphoric Acid] Appendix D says: Phosphoric Acid H3PO4 Ka1 7.5 x 10 ^ -3 Ka2 6.2 x 10 ^-8 Ka3 4.2 x 10 ^-13
find the minimum and maximum values of z=9x+8y, if possible for the following set of constrains:...
find the minimum and maximum values of z=9x+8y, if possible for the following set of constrains: 4x+3y>=12 x+3y>=6 x>=, y >= please show how to get corners
Find the absolute maximum and absolute minimum values of the function, if they exist, on the...
Find the absolute maximum and absolute minimum values of the function, if they exist, on the indicated interval. 6) f(x) = x 4 - 32x 2 + 2; [-5, 5]
The minimum and maximum values of the coefficient of determination r2 are, respectively, A. 0 and...
The minimum and maximum values of the coefficient of determination r2 are, respectively, A. 0 and 1 B. −1 and 1 C. −1 and 0 D. 0 and +∞ The following data represent a random sample of earwig density (x) and the proportion of males that have forceps (y). Earwig Density Proportion of Males with Forceps 0.25 0.05 5.3 0.1 12.6 0.67 22 0.19 25.4 0.04 32.3 0.53 Which of the following is the correlation coefficient? A. 0.33 B. 0.17...
Convert the following values into binary numbers for each word and place the binary values in...
Convert the following values into binary numbers for each word and place the binary values in the two-dimensional array in their proper order of words. Value Binary Number Equivalent Word 0 462,91210 Word 1 1142008 Word 2 5420h Word 3 20,992d Word 4 1104208 Word 5 6102008 Word 6 9F88h Word 7 20,49610 Word 8 502416 Word 9 1101018 Word 10 71082h
What is the minimum and maximum number of solutions that we can expect to see in...
What is the minimum and maximum number of solutions that we can expect to see in any given system of nonlinear equations? In your own words, what is the meaning of extraneous solutions? When solving a system of nonlinear equations, is it possible to always use the Addition Method? Explain your reasoning in complete sentences. PLEASE TYPE, DO NOT WRITE IT DOWN and Check your punctuation and proofreading.
1) Find the maximum and minimum values of the function y = 13x3 + 13x2 −...
1) Find the maximum and minimum values of the function y = 13x3 + 13x2 − 13x on the interval [−2, 2]. 2) Find the minimum and maximum values of the function f(x) = 4 sin(x) cos(x) + 8 on the interval [0, pi/2]. 3)  Find the maximum and minimum values of the function y = 5 tan(x) − 10x on the interval [0, 1] 4) Find the maximum and minimum values of the function f(x) =ln(x)/x  on the interval [1,4] 5)  Find...
ind the intervals of increase or decrease, the local maximum and minimum values, the intervals of...
ind the intervals of increase or decrease, the local maximum and minimum values, the intervals of concavity, and the inflection points for each of the following: ?(?)=2?^3―3?^2―12? ?(?)= ? (Square root) ?+3 ?(?)=ln(?^4+27)
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT