EKT422 – COMPUTER ARCHITECTURE

SW ER S

TEST 1 (1 HOUR)

Name: _____________________________________________________________ Student ID: _________________________________________________________

A

N

Program: ___________________________________________________________

Part A – Multiple Choice. Answer all questions. [20 marks] 1. How are data and instructions stored in the Von Neumann architecture? A. In separate memories B. Dual ported memory C. Unified read-write memory D. None of the above 2. Which of the following depicts an embedded system? A. Multi-core processor unit. B. Application specific Core C. Hardware Software Combination to perform specific application D. All of the above 3. The performance of a processor can be measured using A. Clock period B. Cycles per Instruction C. Throughput D. All of the above 4. The Memory Address register stores the address of the word stored in which part of the architecture? A. I/O B. Program Counter C. Memory Buffer Register D. None of the above 5. What are the parts of an instruction cycle ? A. Fetch and Execute Cycle B. Fetch, decode and execute cycles C. Decode and Store cycle D. Fetch, decode, execute and store. 6. Which of the following is not a state of the instruction cycle? A. Operand address calculation B. Data write back C. Instruction fetch D. None of the above. 7. Which of the following approach is used to handle multiple interrupts? A. Parallel interrupt processing B. Disable interrupts and priority assignment C. Interrupt wait D. None of the above. 8. What are the interconnection wires not in the bus structure? A. Data lines B. Instruction lines C. Address lines D. Control lines 9. In which type of timing does the clock act as a reference? A. Interrupt timing B. Asynchronous timing C. Synchronous timing D. Sequential timing 10. Which of the following is a bus arbitration scheme? A. Round-robin B. Priority C. First come first serve D. All of the above

11. Performance of the memory is decided by which of the following parameters A. Transfer rate B. Latency C. Cycle time D. All of the above 12. When is a cache block is written into the main memory A. Valid bit is not set B. Every cycle C. Dirty bit is set D. None of the above 13. An important attribute of RAM memories is A. Random access & non-volatile B. Volatile C. Sequential access D. None of the above 14. How often/how is data written into the ROM A. Anytime/when required B. Before use – by microprogramming C. During manufacturing D. All of the above 15. Redundancy is a built-in feature here A. Magnetic disks B. RAID C. Serial I/O tapes D. Optical disks 16. RAID level 0 is primarily used in applications where A. Cost is a priority B. Reliability is a priority C. Area is a priority D. All of the above 17. Bit density is more in which device A. Compact disk B. Magnetic tape C. DVD D. Magnetic disk 18. Which of the following is a example for a communication I/O? A. Monitor B. Mouse C. Modem D. USB 19. This technique for data transfer does not involve the processor A. Direct Memory access B. Programmed I/O C. Memory-mapped I/O D. All the above 20. What part of the OS stores utilities or frequently accessed functions? A. Memory B. Registers C. Kernel D. None of the above

Part B – Discussion and Problem Solving. Answer all questions. [80 marks] Q1) Discuss the definitions for computer architecture and computer organization based on what is presented in this course. Describe how these terms relate to the job of a hardware design engineer and an operating systems developer. [20 marks] Computer Architecture - attributes of a system that is visible to a programmer or that have a direct impact on the logical executions a program - e.g. instruction set, data size&representations, I/O mechanisms Computer Organization - operational units and the interconnections to realize the architectural specifications - e.g. control signals, ALU, peripheral interfaces and memory technology A hardware design engineer is responsible to implement the architectural specifications given along with performance specifications, which defines the organizational aspects of the system. An operating systems developer need to write a kernel that provides a systems interface that can fully utilize the architectural specifications given based on knowledge of available hardware. **NOTE** The definition may vary since this is an open topic for discussion – some text may define it differently. This course encourage the students to define these terms as they see fit based on their field of study/interest. Open 20 marks as long as you don't go astray.

Q2) Four benchmark programs are executed on three computers with the following results: Computer A

Computer B

Computer C

Program 1

1

10

100

Program 2

500

100

20

Program 3

500

1000

50

Program 4

100

800

50

The table shows the execution time in seconds, with 100,000,000 instructions executed in each of the four programs. Calculate the MIPS values for each computer for each program. Then calculate the arithmetic and harmonic means assuming equal weights for the four programs, and rank the computers based on each averaging methods. Show your calculations and fill in the tables below. [40 marks] Computer A

Computer B

Computer C

Program 1

100

10

1

Program 2

0.2

1

5

Program 3

0.2

0.1

2

Program 4

1

0.125

2

Arithmetic Mean

Rank

Computer A

25.35

1

Computer B

2.80625

2

Computer C

2.5

3

Harmonic Mean

Rank

Computer A

0.3633

2

Computer B

0.2094

3

Computer C

1.8182

1

MIPS rate given as

MIPS=

Ic T ×106 m

Arithmetic mean is Harmonic mean is

1 ∑R . m i=1 i m RH= m ∑ R1 . i =1 i RA=

.

Q3) Assume that one 16-bit and two 8-bit microprocessors are to be interfaced to a single system bus. Given the following details: • • • • •

All microprocessors have the hardware features required for any type of data transfer: programmed I/O, interrupt driven I/O and DMA. All microprocessors have 16-bit address bus. Two memory boards with 64Kb capacity each are interfaced to the bus. The system bus supports a maximum of 4 interrupt lines and one DMA line. A DMA controller and a generic I/O device controller (with 4 interrupt lines) also needs to be on the bus.

Make all the necessary assumptions and draw a block diagram of the multiprocessor system and label all signal lines (with size). Focus on the bus lines. [20marks] **Note that this is an open question – you may make any assumptions to create the system. Assumptions for this solution: – The 64KB memory modules have an 8-bit interface – No bus control necessary – simple arbitration logic decides which processor gets bus time – when DMA uses the bus, ALL processor will be on HOLD state – Bus interrupt controller needs to be interfaced to the processor (select one or create logic for more) – this is for interrupt I/O

ekt422 – computer architecture test 1 (1 hour) -

RAID level 0 is primarily used in applications where. A. Cost is a priority ... e.g. control signals, ALU, peripheral interfaces and memory technology. A hardware ...

87KB Sizes 1 Downloads 41 Views

Recommend Documents

ekt422 – computer architecture test 1 (1 hour) -
An operating systems developer need to write a kernel that provides a systems interface that ... Calculate the MIPS values for each computer for each program.

Computer Literacy Test (1)
c. Type “tab” 5 times at the beginning of the paragraph. d. Copy and paste five spaces at the beginning of the paragraph. 4. What might be attached to a USB port on you computer? a. A television set. b. A monitor c. A cable modem. d. A printer. 5

Computer Organization & Architecture (1).pdf
Page. 1. /. 2. Loading… Page 1 of 2. Page 1 of 2. Page 2 of 2. Page 2 of 2. Main menu. Displaying Computer Organization & Architecture (1).pdf. Page 1 of 2.

MCQ Computer architecture 1.pdf
48 The BSA instruction is. (A) Branch and store accumulator (B) Branch and. save return address. (C) Branch and shift address (D) Branch and show.

MCQ Computer architecture 1.pdf
(A) SISD (B) SIMD (C) MIMD (D) MISD. Ans: A. 21. The circuit used to store one bit of data is known. as. (A) Encoder (B) OR gate (C) Flip Flop (D) Decoder.

PRACTICE TEST 1
I think that when you meet the person that you want spend the rest of your life with, you change. A. B. C. D .... a. have run b. have been running c. ran d. am running. 16. …….. he and his wife ……. in their house for a long time? a. Have/live

practice test 1 - Dethithuvn.com
Last year, a new bridge over the river ______. A. is built. B. was built. C. will be built ...... Nile is considered to be …………. river in the world. A. longest ...... PRACTICE 21. Ph n I. Khoanh tròn t phát âm khác v i các t còn l i. 1.

PRACTICE TEST 1
Why do some young people want to find a job after they leave school? a. They are ...... I had a few problems, but Bob gave me some good advices. A B. C. D.

Genuis Hour-Grade 1-Tornadoes.pdf
Page 1 of 11. Page 1 of 11. Page 2 of 11. Page 2 of 11. Page 3 of 11. Page 3 of 11. Page 4 of 11. Page 4 of 11. Genuis Hour-Grade 1-Tornadoes.pdf. Genuis Hour-Grade 1-Tornadoes.pdf. Open. Extract. Open with. Sign In. Main menu. Displaying Genuis Hour

Test 1.pdf
Test 1.pdf. Test 1.pdf. Open. Extract. Open with. Sign In. Details. Comments. General Info. Type. Dimensions. Size. Duration. Location. Modified. Created.

1 Site Zoning Vignette: 1 hour total 1 problem with 2 tasks Problem ...
General notes / Tips: • Exact problem w/ single answer. • Follow the program exactly. • Be aware of sun exposure planes; corner of building will likely be clipped.

Test-1.pdf
Q.6 The minimum force required to start pushing a body up a rough (frictional coefficient .... be cooled from 20 K to 4 K by a special refrigerator operating at room ...

Page 1 MENTAL ROTATIONS TEST - 1 AUTOCAD drawings of ...
Psychology,. University of Guelph, Guelph, ON, Canada N 1G 2W1 ... S.G. Vandenberg of the University of Colorado selected this subset of figures from a larger ...

TELUGU REVISION TEST -2(1)(1).pdf
TELUGU REVISION TEST -2(1)(1).pdf. TELUGU REVISION TEST -2(1)(1).pdf. Open. Extract. Open with. Sign In. Main menu. Displaying TELUGU REVISION ...

Page 1 MENTAL ROTATIONS TEST - 1 AUTOCAD drawings of ...
University of Guelph, Guelph, ON, Canada N 1G 2W1. Look at these five ... S.G. Vandenberg of the University of Colorado selected this subset of figures from a larger set devised by Shepard and. Metzier. ... Duncan, School of Engineering.

Unit #1 - Test 1 review KEY.pdf
Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Unit #1 - Test 1 review KEY.pdf. Unit #1 - Test 1 review KEY.pdf.

1 1 COMPUTER SIMULATIONS OF NON ...
phase field approach are implemented using recently published material properties. Simulations ... This work therefore details the parallel development of.

1. Overall architecture of NuttX - GitHub
except when either (1) the application calls into the NuttX library code, or (2) an interrupt occurs. There is no ..... 13. net_initialize(); Initialize networking facilities, ... Such things as setting up interrupt service routines and starting the

Introduction To Computer Networks-1 Notes 1.pdf
Introduction To Computer Networks-1 Notes 1.pdf. Introduction To Computer Networks-1 Notes 1.pdf. Open. Extract. Open with. Sign In. Main menu.

GRAND TEST-1 SGT KEY.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. GRAND TEST-1 ...

KET1 Test 1.pdf
13 How much was your new shirt. A It's a red shirt. B It was very cheap. C It was in a shop. 14 I'm very sorry. A I'm afraid so. B I think so. C That's all right. 15 Do you speak English? A No, I'm not. B Only a little. C Yes, very much. How are you?

Test Review 1 KEY.pdf
1, YOU invest S.250 in a Savings account that pays 2.00 Simple interest irrusly. What would your ... \1\ely 4 Swee CAC 51ve saw-e (wow of wievest evevs AC41.

Power Play Test 1.pdf
Page 1 of 13. überdiesenButtonrufstdudasneueHauptMenüzudenMächtenunddenGalnet-Newsauf. Imdeutschennenntessich„News-Feed“. Page 1 of 13 ...

Why-Test(1).pdf
Sign in. Page. 1. /. 1. Loading… Page 1 of 1. Page 1 of 1. Why-Test(1).pdf. Why-Test(1).pdf. Open. Extract. Open with. Sign In. Details. Comments. General Info. Type. Dimensions. Size. Duration. Location. Modified. Created. Opened by me. Sharing. D