Problem 37
Use the number line in Exercise 36 (c) to calculate the following expressions, where \(A\) is \(-499999\) and \(B\) is 3 . a. \(\mathrm{A}+\mathrm{B}\) b. \(\mathrm{A}-\mathrm{B}\) c. \(\mathrm{B}+\mathrm{A}\) d. \(B-A\)
Problem 40
Evaluate the following expressions, where A is 11111110 and B is 00000010 , using the two's complement. a. \(\mathrm{A}+\mathrm{B}\) b. \(\mathrm{A}-\mathrm{B}\) c. \(\mathrm{B}-\mathrm{A}\) d. \(-B\) e. \(-(-\mathrm{A})\)
Problem 41
Is the two's complement of a number always a negative number? Explain.
Problem 42
Devise a number system based on base 11 . a. Draw the number line. b. Show examples of addition and subtraction. c. Develop a representation of negative numbers based on the eleven's complement.
Problem 44
Convert the following real numbers to binary (five binary places). a. \(0.50\) b. \(0.26\) C. \(0.10\)
Problem 45
Convert the following real numbers to octal (five octal places). a. \(0.50\) b. \(0.26\) C. \(0.10\)
Problem 47
How many bits would be needed to represent a character set containing 45 characters? Why?
Problem 49
What is the main difference between the ASCII and Unicode character sets?
Problem 51
How would the following string of characters be represented using run-length encoding? What is the compression ratio? AAAABBBCCCCCCCCDDDD hi there EEEEEEEEEFF
Problem 55
Is a stereo speaker an analog device or a digital device? Explain.