Docstoc

Solution to Quiz

Document Sample
Solution to Quiz Powered By Docstoc
					Solution to Quiz#1

Decimal      Binary                       Octal       Hexadecimal
 256.512      100000000.100000110         400.4061      100.831
1024.8125       10000000000.1101          2000.64        400.D
  256.5             100000000.1            400.4         100.8
   128               10000000               200           80



Solution to Homework#1

Question 1-1

Decimal     Binary       Octal        Hexadecimal
     16          10000           20            10
     17          10001           21            11
     18          10010           22            12
     19          10011           23            13
     20          10100           24            14
     21          10101           25            15
     22          10110           26            16
     23          10111           27            17
     24          11000           30            18
     25          11001           31            19
     26          11010           32            1A
     27          11011           33            1B
     28          11100           34            1C
     29          11101           35            1D
     30          11110           36            1E
     31          11111           37            1F

Question 1-4

(1001101)2 = 77

(1010011.101)2 = 83.625

(10101110.1001)2 = 174.5625

Question 1-7

Decimal      Binary                     Octal        Hexadecimal
369.3125     101110001.0101             561.24       171.5
189.625      10111101.101               275.5        BD.A
214.625      11010110.101               326.5        D6.A
62407.625    1111001111000111.101       171707.5     F3C7.A
Question 1-9

      (a) (673.6)8 = (110111011.11)2 = (1BB.C)16
      (b) (E7C.B)16 = (111001111100.1011)2 = (7174.54)8
      (c) (310.2)4 = (110100.1)2 = (64.4)8

Question 1-13

(a)      (BEE)r = (2699)10
         r = 15

         E=14, r must be greater than 14, so 15 is the next suitable.

(b)      (365)r = (194)10
         r=7

         E=6, r must be great than 6, so 7 is the next suitable

				
DOCUMENT INFO