pl01-2011_sol

pl01-2011_sol - Name:_ E-mail:_ Student ID:_ Lab Session:_...

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

View Full Document Right Arrow Icon
E-mail:__________ Student ID:_______ Lab Session:___ The Hong Kong University of Science and Technology Department of Computer Science and Engineering Comp 180: Computer Organization Deadline: 17/2/2011, 17:00 Collection box outside room 4213A _________________________________________ ATTENTION: 1. Print this Pre-Lab in “ 1-IN-1 ” and “ DOUBLE SIDED ” format . 2. Complete this Pre-Lab using a PEN or PENCIL. 3. Copying is NOT ALLOWED! 4. Failure to comply with the above rules will result in Zero score for your Pre-Lab report. __________________________________________________________________ Pre-Lab 01: Performance evaluation 1. Clock Cycles and the Performance a) A compiler generates 10 000 000 instructions for a high-level language program on machine A . Suppose each of the instructions requires 2 clock cycles of execution time on machine A . How many clock cycles are needed for executing the program on machine A ? 10 000 000 x 2 =20 000 000 clock cycles
Background image of page 1

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

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/05/2011 for the course COMP 180 taught by Professor Bb during the Spring '11 term at HKUST.

Page1 / 3

pl01-2011_sol - Name:_ E-mail:_ Student ID:_ Lab Session:_...

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

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