Sie sind auf Seite 1von 4

[

Engineering Technology Creativity

Universiti Malaysia PAHANG

FACULTY OF COMPUTER SYSTEMS & SOFTWARE ENGINEERING FINAL EXAMINATION COURSE COURSE CODE LECTURER : : : COMPUTER ARCHITECTURE & ORGANIZATION BCN1043 DR. MAMTA RANI DR. MASROOR AHMAD DATE DURATION : : 8 NOVEMBER 2010 2 HOURS 30 MINUTES SESSION 2010/2011 SEMESTER I BCN/BCS/BCG

SESSION/SEMESTER : PROGRAMME CODE:

INSTRUCTIONS TO CANDIDATES 1. 2. 3. 4. This question paper consists of FIVE (5) questions. Answer ALL questions. Write your answers in the answer booklet provided. Answer EACH question on a new page. All calculations and assumptions must be clearly shown.

EXAMINATION REQUIREMENTS IMINN DO NOT TURN THIS PAGE UNTIL YOU ARE TOLD TO DO SO This examination paper consists of FOUR (4) printed pages including the front page.

CONFIDENTIAL

BCN/BCS/BCG/1 01 11'BCN1043

QUESTION 1 Number systems, data representation and integer representation are fundamental elements in a computer. (a) Convert the following decimal numbers to binary equivalent and BCD system. (i) 47io (ii) 643io [4 Marks]

(b) Convert the following decimals fractions to binary with a maximum of four places to the right of the binary points. (i) 0.3437510 (ii) 26.62510 [2 Marks]

(c) Write the sequence of increasing number based on the number given in the following. (i) 1AO1, 2FFF, [4 Marks]

QUESTION 2 (a) Draw the Von Neumann Machine diagram and explain it. [4 Marks]

(b) Briefly explain how a relationship is established between PC, IR, MAR, MBR I/O AR and I/O BR. Draw diagram to support your explanation. [6 Marks]

CONFIDENTIAL QUESTION 3

BCNIBCSIBCG/101 1I/BCN 1043

(a) A two-way set-associative cache has blocks of 16 bytes and total size of 8KB. The size of main memory is 64MB. Answer the following questions:

(i) How many address bits are required to refer a word in memory? [1 Mark]

(ii) How many blocks are there in main memory?


Li Mark]

(iii) How many bits are used for block id, and how many for word id in main memory? [2 Marks]

(iv) How many sets are there in cache memory? [1 Mark]

(v) How many bits are used for set id, how many for block id, and how many for word id in cache memory? [2 Marks]

(b) (i) Draw a diagram to show the memory hierarchy. [1.5 Marks]

(ii) What happens in terms of speed, size and cost when we move from top to bottom in memory hierarchy? [1.5 Marks]

CONFIDENTIAL

BCN/BCS/BCG/101 1IJBCN 1043

QUESTION 4 (a) What is a program status word? Explain SEVEN (7) common fields or flags of a program status word. [5 Marks]

(b) An address field in an instruction contains decimal value 14. Where is the correct corresponding operand located for

(i) immediate addressing? [1 Mark] (ii) direct addressing? [1 Mark] (iii) indirect addressing? [1 Mark] (iv) register addressing? [1 Mark] (v) register indirect addressing? [1 Mark]

QUESTION 5 (a) Describe the FIVE (5) major functions of I/O Module. [5 Marks]

(b) Draw DMA module diagram. Write the sequence of operations that it performs to transfer the data between disk and memory. [5 Marks]

END OF QUESTION PAPER