Whatisthevaluenthesmallestnumberofbitsneededtorepresentall


Assignment

1. Convert the following decimal numbers to binary, show work

a) 2410
b) 3010
c) 1110
d) 51810

2. Convert the following binary numbers to decimal, show work

a) 1101012
b) 110112
c) 101010.11112

3. Convert the following, show work:

a) Decimal 225.5 to binary, octal, and hexadecimal
b) Binary 110.110 to decimal, octal, and hexadecimal
c) Octal 620.77 to decimal, binary, and hexadecimal
d) Hexadecimal 2AD5.D to decimal, octal, and binary

4. Use 1's complement to compute the following subtractions in parts (a) and (b), show work:

a) 1010101 - 1000101
b) 1000101 - 1010101
c) Use 2's complement to compute the same subtractions in parts (a) and (b), show work:

5. An engineer proposed the following logic circuit. Why was the boss very disappointed? Explain and show all work.

612_Logic Circuit.jpg

6. You are given four signed integers in different number bases

A = +(7A)16 B = -(25)8 C = (104)10 D = +(11010)2

a) What is the value n, the smallest number of bits needed to represent all of these numbers in 2's complement representation? What is the largest and smallest number that can be represented?

b) Give the n-bit representations of the four numbers in the 2's complement system, where n is the value determined in (a).

c) Compute using 2's complement arithmetic C + D. Is this the answer you would expect? Explain.

Solution Preview :

Prepared by a verified Expert
Computer Engineering: Whatisthevaluenthesmallestnumberofbitsneededtorepresentall
Reference No:- TGS01591416

Now Priced at $35 (50% Discount)

Recommended (94%)

Rated (4.6/5)