Software and Hardware Infrastructure Concepts

profileac142

 

IFSM 310 Homework #2

This assignment is at the instructor's option. Some instructors may choose to assign selected questions from this assignment or may choose to use an alternate assignment.

(Max raw score: 10 pt / Counts for max 4 pt towards Course Grade)

Due Sunday (2359 hours Eastern Time)
Module 3, Englander Chapters 4, 7 & 8

1. (1 point) Using Englander's Figure 4.3 (page 102), fill out the table below by translating the following binary numbers into characters using ASCII code.  (HINT: It's easier if you convert the binary to hexadecimal first.) 

Binary

Hex

ASCII

0011 0001

 

 

0100 1110

 

 

0010 0100

 

 

0101 1110

 

 

0111 0010

 

 

0111 0101

 

 

0100 0011

 

 

0010 0011

 

 

0100 1111

 

 

0110 1110

 

 

 

2. (1 point) The MP3 audio format is described as ‘‘almost CD quality.’’ What characteristic of MP3 makes this description accurate?

 

3. (2 points) Describe at least three shortcomings of using a parallel as compared to serial bus to transfer data from one place to another. 

 

4. (2 points) Answer the following questions about pipelining: 

(a) Explain how pipelining improves CPU efficiency. 

(b) What is the potential effect of executing a conditional branch instruction on the efficiency gained by pipelining? 

(c) Briefly describe two techniques that can be employed to make pipelining more efficient when executing conditional branch instructions.

 

5. (2 points) Answer the following questions about memory cache: 

(a) Describe the trade-offs between the memory cache write-through and write-back techniques. 

(b) Does a memory cache read always result in a performance improvement? Why or why not.

 

 

6. (2 points) Consider the following register and memory values:

Register

Contents

 

Memory Locations

Contents

1

150

 

150

251

2

252

 

151

004

3

250

 

152

250

4

311

 

153

017

PC

320

 

250

313

BR

308

 

251

310

X

198

 

252

008

AC

105

 

310

405

 

 

 

311

151

 

 

 

312

151

 

 

 

313

202

PC is the Program Counter, BR is a Base Register, X is an Index Register, AC is the Accumulator.

 

a. Compute the result of an ADD IMMEDIATE 150 instruction. 
b. Compute the result of an ADD DIRECT 150 instruction. 
c. Compute the result of an ADD INDIRECT 150 instruction. 
d. Compute the result of an ADD REGISTER 4 INDIRECT instruction.

 
(HINT: See Module 4 section 3 and the Self-Assessment problem 8.)

 
    • 9 years ago
    • 20
    Answer(2)

    Purchase the answer to view it

    blurred-text
    NOT RATED
    • attachment
      software_and_hardware_infrastructure_concepts.docx

    Purchase the answer to view it

    blurred-text
    NOT RATED
    • attachment
      ifsm_310_homework.docx
    Bids(1)