Matt McKay Jr.
Dr. Kihlstrom

HW- Chapters 5 & 6

October 16, 2007

 

Ch. 5:

 

2.)

 

a. 1 million bytes = 2^20

 

b. 10 million bytes = 2^24

 

c. 100 million bytes = 2^27

 

d. 1 billion bytes = 2^30

 

 

9.) It needs to exceed 20Éso 2^4 (which is 16) is not enoughÉ

 

2^5 = 32Éthe correct answer

 

n= 5 – We need 5 selector lines, because that gives us more than 20 distinct operations, 2^4 is not enough, so 2^5 works.

 

 

15.)

 

a.  2^6 = 64

 

b. 2^18 = 262144

 

c. 6+18+18 = 42

            42/8= 6

Answer: 6

 

 

Ch. 6:

 

4.)

 

a. r= 472

    60= 472

    61= -1

 

 

b. r= 13

    60= 13

    61= -1

 

c. r=485

   60= 472

   61= -1

 

d. everything stays the same

     r=13

     60= 472       

     61= -1

 

e. r= 13

    60= 472

    61= 50

 

f. everything stays the same

    r=13

    60 = 472

    61  =  -1