Questions_for_cse331-sp08_Midtermexam-1

Questions_for_cse331-sp08_Midtermexam-1 - Student name:...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Student name: ________________________________________________Section 1 or 2 Midterm Exam-I for CSE331 Computer Organization and Architecture Sections (1) and (2) Spring 2008 6:30P-7:45P on 2/14/08, 6:30 – 7:45pm, 26 Hosler Dr Kabekode V. Bhat, Associate Professor, Computer Science & Engineering, The Pennsylvania State University,111H, Information Sciences & Technology Building, University Park, PA 16802, (814) 863 0147 (Tel), kbhat@cse.psu.edu Answer all questions. If you need more space use the backside. (Total 60 points) 1a. What do we mean by a stored program computer system? (2) 1b. Why would both hardware and software affect the performance (measured in terms of response time, throughput) of a computer system for a given workload? (2) 1c. Suppose you have an application that requires you to compute factorial (n) for various values say 2 – 20. You can implement a recursive algorithm that uses a stack or use a table of computed values of factorial( n) for the range of n stored in the memory. Assuming each memory access takes m microseconds and each register operation takes say p nanoseconds, write a simple model (equation) to compare the two methods in terms providing the result You may ignore the time taken for Input out but operation for this case. (Note that you should count instructions executed, not the code size) (4 points) 1d. What are the advantages of assembler and what is a pseudo assembler instruction? Give an example. (2 point) 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2. Fill in the blanks regarding the need of circuits for control and data path in MIPS
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 09/23/2009 for the course CMPEN 331 taught by Professor Bhat during the Fall '08 term at Pennsylvania State University, University Park.

Page1 / 8

Questions_for_cse331-sp08_Midtermexam-1 - Student name:...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online