Answered step by step
Verified Expert Solution
Link Copied!

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

  1. Given n bits, how many unsigned integers can be represented with the n bits? What is the range of these integers? (6 points)

  1. 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)

  1. Please answer the following: (12 points)
    1. What is the largest positive number one can represent in an 8-bit 2's complement code? Write your result in binary and decimal.

  1. What is the greatest magnitude negative number one can represent in an 8-bit 2's complement code? Write your result in binary anddecimal.

  1. What is the largest positive number one can represent in n-bit 2's complement code?
  2. What is the greatest magnitude negative number one can represent in n-bit 2's complement code?

  1. Convert the following 2's complement binary numbers to decimal. (9 points) a. 1010

b. 01011010

c. 11111110

  1. Convert these decimal numbers to 8-bit 2's complement binary numbers. (18 points)

a. 102

b. -64

c. -33

  1. Without changing their values, convert the following 2's complement binary numbers into 8-bit 2's complement numbers. (12 points)
    1. 1010

b. 011001

c. 1111111000

d. 01

  1. Convert -31.25 to IEEE float in binary. (15 points)

  1. 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Transactions On Large Scale Data And Knowledge Centered Systems Xxviii Special Issue On Database And Expert Systems Applications Lncs 9940

Authors: Abdelkader Hameurlain ,Josef Kung ,Roland Wagner ,Qimin Chen

1st Edition

3662534541, 978-3662534540

More Books

Students also viewed these Databases questions