What decimal value does the 8-bit binary number 10110111 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?
e) it is on a computer using excess-127 representation?
a) it is interpreted as an unsigned number?
20 + 21 + 22 + 24 + 25 + 27 = 183
Answer: 183
b) it is on a computer using signed-magnitude representation?
First bit is for sign (0 for positive and 1 for negative)
20 + 21 + 22 + 24 + 25 = 55
Answer: -55
c) it is on a computer using one’s complement representation?
Flip all bits and put a negative sign
Flipped: 01001000
Sign = 23 + 26 = 72
Answer: -72
d) it is on a computer using two’s complement representation?
Most significant magnitude will be of -ve and the rest is positive
- 27 + 20 + 21 + 22 + 24 + 25 + = -128 + 55 = -73
Answer: -73
What decimal value does the 8-bit binary number 10110111 have if: a) it is interpreted as...
4. 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 ones complement representation? d) It is on a computer using twos complement representation? 5. Given the following two binary numbers: 11111100 and 01110000. a) Which of these two numbers is the larger unsigned binary number? b) Which of these two is the larger when it is being...
Given the 8 - bit binary number: 1001 10 1 1 What decimal number does this represent if the computer uses: signed magnitude representation (a) signed 1's complement (b) (c) signed 2's complement Assuming 2's complement 8 - bit representation, consider the following: +70 010001 10 21 +80 010100000 10010110 Is this correct? Why or why not?
Given the 8-bit binary number: 1 0 0 1 1 1 1 1 What decimal number does this represent if the computer uses: a. signed-magnitude representation b. signed-1's complement c. signed-2's complement
1. What decimal number is represented by the following excess 8 notation? 2. Convert 1111 from excess eight representation to its equivalent base ten binary form 3. With two's complement signed binary representation, what is the range of numbers as written in binary and in decimal for an eight-bit cell? (lowest to highest) 4. Convert -7 from decimal to binary, assuming seven-bit two’s complement binary representation 5. Convert 111 1010 from binary to decimal assuming seven bit two's complement binary...
1. Convert the decimal number +164 and -164 to 9-bit binary numbers according to Sign magnitude, One’s complement, and Two’s complement 2. Convert the binary number 111011010 to base 10 decimal form (our regular number system) treating it as each of the following representations: Sign magnitude, One’s complement, and Two’s complement
(3 pts) Consider an unsigned fixed point decimal (Base10) representation with 8 digits, 5 to the left of the decimal point and 3 to the right. a. What is the range of the expressible numbers? b. What is the precision? c. What is the error? ______________________________________________________________________________ (3 pts) Convert this unsigned base 2 number, 1001 10112, to each base given below (Note: the space in the binary string is purely for visual convenience) Show your work. Using...
Using the sigma (E) notation and given an n-bit sequence of binary digits an-lan-2an-3 ... a2alao, what is the value of A if the binary bits are interpreted as: A. an unsigned integer? b. Sign Magnitude number? C. Twos Complement number? D. Using the representation of twos complement numbers in question 6.c. above, convert the sign- magnitude number 1001 into twos complement number.
2. Consider an 8-bit register with the following bit pattern, interpret it in each of the following ways, and give the required values: 0101 1001 Give the decimal value if it is to be interpreted as a binary coded decimal (BCD) number Give the decimal value if it is to be interpreted as a signed integer in 2's complement form. e. Give the decimal value if it is to be interpreted as a number in excess 127 code. 4 Give...
1. 2. Find the decimal value of the following 8-bit numbers for (i) un-signed and (ii) signed number. (a) 11010110, (b) 01011101 Express the following decimal numbers in 6-bit 2's complement representation: (a) -27, (b) 6, (c)-13, (d) -47 - 4. Convert decimal numbers 83 and 101 to 8-bit unsigned binary number. Find the sum and difference (with addition approach) of these two numbers.
3.8) Convert the hexadecimal number 0x15 to a decimal number. 3.9) Convert the hexadecimal number 0x19 to a decimal number. 3.10) Convert the decimal number -35 to an 8-bit two’s complement binary number. 3.11) Convert the decimal number -32 to an 8-bit two’s complement binary number. 3.12) Assuming the use of the two’s complement number system find the equivalent decimal values for the following 8-bit binary numbers: a)10000001 b)11111111 c)01010000 d)11100000 e)10000011 3.13) Convert the base 8 number 204 to...