Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Given n bits, how many unsigned integers can be represented with the n bits? What is the range of these integers? (6 points) There are
- Given n bits, how many unsigned integers can be represented with the n bits? What is the range of these integers? (6 points)
- There are 26 characters in the alphabet we use for writing English. What is the least number of bits needed to give each character a unique bit pattern? How many bits would we need to distinguish between upper- and lowercase versions of all 26 characters? (12 points)
- Please answer the following: (12 points)
- What is the largest positive number one can represent in an 8-bit 2's complement code? Write your result in binary and decimal.
- What is the greatest magnitude negative number one can represent in an 8-bit 2's complement code? Write your result in binary anddecimal.
- What is the largest positive number one can represent in n-bit 2's complement code?
- What is the greatest magnitude negative number one can represent in n-bit 2's complement code?
- Convert the following 2's complement binary numbers to decimal. (9 points) a. 1010
b. 01011010
c. 11111110
- Convert these decimal numbers to 8-bit 2's complement binary numbers. (18 points)
a. 102
b. -64
c. -33
- Without changing their values, convert the following 2's complement binary numbers into 8-bit 2's complement numbers. (12 points)
- 1010
b. 011001
c. 1111111000
d. 01
- Convert -31.25 to IEEE float in binary. (15 points)
- Convert 0.1 to IEEE float in binary. Do not use any rounding and truncate the extra bits. (16 points)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started