Answer whatever you can answer. BEST ANSWER goes to whom answer all/most of these questions. 2.8 a. What is the largest positive number one can represent in an 8-bits 2's complement code? Write your...


Answer whatever you can answer. BEST ANSWER goes to whom answer all/most of these questions.



2.8


a. What is the largest positive number one can represent in an 8-bits 2's complement code? Write your result in binary and decimal.


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


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


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



2.11


Convert these decimal numbers to 8-bit 2's complement binary numbers.


a. 102


b. 64


c. 33


d. -128


e. 127



2.26


You wish to express -64 as a 2's complement number.


a. How many bits do you need (the minimum number)?


b. With this number of bits, what is the largest positive number you can represent? (Please give answer in both decimal and binary).


c. With this number of bits, what is the largest unsigned number you can represent? (Please give answer in both decimal and binary).



2.33


Compute the following:


a. 01010111 or 11010111


b. 101 OR 110


c. 11100000 OR 10110100


d. 00011111 OR 10110100


e. (0101 OR 1100) OR 1101


f. 0101 OR (1100 OR 1101)



2.39


Write IEEE floating point representation of the following decimal numbers.


a. 3.75


b. -55(23/64)


c. 3.1415927


d. 64,000



May 26, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here