Question: 2 . 1 Given n bits, how many distinct combinations of the n bits exist? 2 . 2 There are 2 6 characters in the

2.1 Given n bits, how many distinct combinations of the n bits exist?
2.2 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?
2.3 a. Assume that there are about 400 students in your class. If every student is to be assigned a unique bit pattern, what is the minimum number of bits required to do this?
b. How many more students can be admitted to the class without requiring additional bits for each students unique bit pattern?
2.4 Given n bits, how many unsigned integers can be represented with the n bits? What is the range of these integers?
2.5 Using five bits to represent each number, write the representations of 7 and 7 in 1s complement, signed magnitude, and 2s complement integers.
2.6 Write the six-bit 2s complement representation of 32.
2.7 Create a table showing the decimal values of all four-bit 2s complement numbers.
2.8 What is the largest positive number one can represent in an eight-bit 2s complement code? Write your result in binary and decimal.
What is the greatest magnitude negative number one can represent in an eight-bit 2s complement code? Write your result in binary and decimal.
What is the largest positive number one can represent in n-bit 2s complement code?
What is the greatest magnitude negative number one can represent in n-bit 2s complement code?
2.9 How many bits are needed to represent Avogadros number (6.021023) in 2s complement binary representation?
2.10 Convert the following 2s complement binary numbers to decimal.
a.1010
b.01011010
c.11111110
2.11 Convert these decimal numbers to eight-bit 2s complement binary numbers.
a.102
b.64
c.33
d.128
e.127

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!