What is 345 as an unsigned decimal number? It is 34 with subscript of 5. Not 345!
a. 8
b. 23
c. 34
d. 51
e. None of the above
What is 345 as an unsigned decimal number? It is 34 with subscript of 5. Not...
What is the binary number 0111 1011 as unsigned decimal number? a. 78 b. 49 c. 123 d. 173 e. None of the above
(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...
1. For the following number of bits, what is the range of unsigned and signed decimal values that can be represented? a. 12-bits b. 10-bits
What is decimal -1 as a 5 bit 2's complement number? a. 10001 b. 10010 c. 11110 d. 11111 e. None of the above
BNF 5. Write a BNF grammar that accepts an unsigned decimal number. This number can contain a single decimal point, if it does it cannot be the first character in the string, nor may it be the last.
Write a BNF grammar that accepts an unsigned decimal number.
This number can contain a single decimal point, if it does it
cannot be the first character in the string, nor may it be the
last.
5. Write a BNF grammar that accepts an unsigned decimal number. This number can contain a single decimal point, if it does it cannot be the first character in the string, nor may it be the last. [4 marks]
5. Write a BNF grammar...
What decimal number does the bit pattern 10101100 represent if it is a: [1 pts] unsigned integer? [1 pts] sign-magnitude integer? [1 pts] two's complement integer? What decimal number does the bit pattern 01010011 represent if it is a: [1 pts] unsigned integer? [1 pts] sign-magnitude integer? [1 pts] two's complement integer?
1. a) Perform the following binary subtractions of unsigned binary numbers. Convert your answer to decimal. i) 101001012 - 01001001, ii) 110110102 - 100100112 b) Repeat the calculations above but for when the binary numbers are in two's complement form. Comment on the results of the two methods used, noting and discrepancies. 2. Find the sums of the following unsigned hexadecimal numbers. Indicate whether or not the sum overflows an equivalent 8-bit binary result. a) 1116 +2216 b) 1716 +3516...
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?
What is the smallest number in 8-bit unsigned integer representation? 4. What is 00000000-00000001 in 8-bit unsigned integer representation? 8. 10. What is 0011 1101 in 4-bit unsigned integer representation? Is it overflow?
What is the smallest number in 8-bit unsigned integer representation? 4. What is 00000000-00000001 in 8-bit unsigned integer representation? 8. 10. What is 0011 1101 in 4-bit unsigned integer representation? Is it overflow?