1. What is the representation of -9 in ten’s complement using two decimal digits?
2. What is the representation of -9 in ten’s complement using three decimal digits?
3. Which of the following is represented as 11111100 in two’s complement ?
A. -2
B. -4
C. -6
D. 252
E. -252
1) 10s complement means 9s complement of a decimal no. + adding 1 to least significant bit
so for -9 ............. the 10s complement up to 2 decimals ...........9.99-(-9)=18.99 is 9s complement .
now add 0.01 to obtained answer 18.99+0.01=19.00
2) 10s complement up to 3 decimals ...........for -9 is 9.999-(-9)=18.999 is 9s complement.
now add 0.001 to obtained answer 18.999 +0.001 =19.000
3) 11111100 is in 2s complement
so first do 1s complement to this(11111100).........is 00000011 and now add 1 to gets its original number ..
0 0 0 0 0 0 1 1
+ 1
0 0 0 0 0 1 0 0
so we got 00000100 as the answer so converting it to decimal as 0*2^{0}+0*2^{1}+1*2^{2}+0+0+0+0+0=4 as its a negative number we indicate it with negative sign
so answer is -4
1. What is the representation of -9 in ten’s complement using two decimal digits?
8. Using 4 bits and two’s complement representation , what is the binary representation of the following signed decimal values; a) +6 b) -3
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...
(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...
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
(1) Convert this Hexadecimal to Binary, Octal and Decimal : ABCDEF (2) how the representation of each of these numbers in both two’s complement and sign magnitude formats. Use the following assumptions: ● Assume that the sign magnitude number should be represented in the fewest number of bits possible. ● Assume that the sign bit for negative sign magnitude numbers should be a 1. ● Assume that the two’s complement numbers should be 8 bit numbers. 1. 108 2. -65
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?
Using a two's complement representation of 10 bits, what is the maximum decimal value that can be stored?______________
3. Find the byte-length 2's complement representation of each of the following decimal numbers (a) 23 (b) 111 (c) -100 (d) -55 (e) 99 (f) -15
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...
Question 3: Represent the following numbers in the memory using 32-bit floating-point representation, then in Hexadecimal. 1. (-1313.3125) 2.(0.00011011) Question 4:_Represent the following data in the memory (show your work): 1.93 // Integer : Two bytes 2.-156 //Integer: Two bytes using Two's complement Question 5: Find the real number (in decimal) which is represented in the memory using 32-bit floating-point representation as follows, please show your steps follows: JOJO AOL