CGS 3269 Computer Architecture Concepts Solution for Assignment 1 1) Compute a) How many milliseconds (ms) are in 1 second? 1/10-3 = 1000 milliseconds b) How many microseconds (μs) are in 1 second? 1/ 10-6 = 1,000,000 microseconds c) How many nanoseconds (ns) are in 1 millisecond? 1 x 10-3 / 1 x 10-9 = 1,000,000 nanoseconds d) How many microseconds are in 1 millisecond? 1 x 10-3 / 1 x 10-6 = 1,000 microseconds e) How many nanoseconds are in 1 microsecond? 1 x 10-6 / 1 x 10-9 = 1,000 nanoseconds f) How many kilobytes (KB) are in 1 gigabyte (GB)? 2 30 / 2 10 = 2 20 = 1,048,576 KB g) How many kilobytes are in 1 megabyte (MB)? 2 20 / 2 10 = 2 10 = 1,024 KB h) How many megabytes are in 1 gigabyte (GB)? 2 30 / 2 20 = 2 10 = 1024 MB i) How many bytes are in 20 megabytes? 2 20 x 20 = 20,971,520 Bytes j) How many kilobytes are in 2 gigabytes? 2 30 / 2 10 = 2 20 x 2 = 2,097,152 KB 2) If a frequency is given as 3 MHz, how much time in milliseconds does one cycle take? Recall that 1 milliseconds = 1ms = 10-3 seconds. 3 MHZ = 3,000,000 HZ… 1 / 3,000,000 = 1/(3 x 10 6 ) sec = (1/3) x 10-6 sec = 0.333 x 10-6 sec = 0.333 x 10-3 x 10-3 sec = 0.000333 x 10-3 sec = 0.000333 msec = 3.33 x 10-4 msec 3) Von Neumann was responsible for several major contributions in computer design. Name one and explain. Von Neumann architecture: The von Neumann architecture is a design model for a stored-program digital computer that uses a central processing unit (CPU) and a single separate storage structure ("memory") to hold both instructions and data. Such computers are theoretically equivalent to a universal Turing machine and have a sequential architecture. 4) In the von Neumann model, explain the purpose of the: a) processing unit The processing unit performs all of the arithmetic and logic functions.
Inf3 Computer Architecture - 2017-18
- Mar 8: Assignment 2 released
- Feb 5: First assignment released
- First lecture is Monday, 15th January 2018 at 10:00 in David Hume Tower, LG.11.
Textbook: Hennessy and Patterson Computer Architecture: A Quantitative Approach (5th edition). 4th edition is also acceptable.
Lectures: Mondays and Thursdays, David Hume Tower, LG.11, 10:00 - 10:50am.
You are strongly advised to obtain a copy of the textbook as there are no printed lecture notes for this module.
Assignments: There will be two programming assignments, which (in total) will contribute 25% of the overall mark for this course.
- Assignment 1: In this assignment, which will contribute 12.5% of your overall mark, you will simulate various branch predictors using the Pin tool. Out 5-2-2018; Due 19-2-2018
- Assignment 2: In this assignment, which will contribute 12.5% of your overall mark, you will implement and compare data prefetchers using the Pin tool. Out 8-3-2018; Due 22-3-2018
There is zero tolerance for any form of academic misconduct. See the Informatics' Academic Misconduct Policy.
Additional information and useful resources:
- Formative Feedback: Formative feedback for the CAR course will be provided through oral feedback provided during tutorials.
- Course Descriptor:Here you can find assessment information, a link to a timetable covering tutorials and lectures, and other useful info.
- Past exam papers: You can find past papers in the ITO past papers repository.
Vijay Nagarajan, IF room 2.04A, ext. 513440
Informatics Forum, 10 Crichton Street, Edinburgh, EH8 9AB, Scotland, UK
Tel: +44 131 651 5661, Fax: +44 131 651 1426, E-mail: firstname.lastname@example.org
Please contact our webadmin with any comments or corrections. Logging and Cookies
Unless explicitly stated otherwise, all material is copyright © The University of Edinburgh