User Tools

Site Tools


midterm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
midterm [2009/07/10 20:22] – created lanmidterm [2009/07/24 15:55] (current) lan
Line 18: Line 18:
   * Translate high-level programs (e.g., Java) to assembly programs.   * Translate high-level programs (e.g., Java) to assembly programs.
   * Convert assembly instructions to machine language and back.    * Convert assembly instructions to machine language and back. 
-  * Understand the fetch-execute cycle concept, performance issues such latencies, CPI, clock rates, bus rate, etc.+  * Understand the fetch-execute cycle concept, performance issues such latencies, CPI, clock rates, bus rates, etc.
   * Understand MIPS design issues such as why is there no ''subi'' instruction in MIPS?; why is there no shift-left-arithmetic instruction?.   * Understand MIPS design issues such as why is there no ''subi'' instruction in MIPS?; why is there no shift-left-arithmetic instruction?.
   * Understand memory usage issues such as why don't we store attributes of objects in ''.data''.   * Understand memory usage issues such as why don't we store attributes of objects in ''.data''.
-  * Given a MIPS program, you should be able to figure out the output(s) of the program and values of all the registers used in the program (assuming a 32-bit machine and all integers are signed). +  * Given a MIPS program, you should be able to figure out the output(s) and values of all the registers used in the program (assuming a 32-bit machine and all integers are signed). 
   * You should be able to write a sequence of MIPS instructions or a complete MIPS program in order to accomplish a required task. (You are not allowed to use pseudo instructions).   * You should be able to write a sequence of MIPS instructions or a complete MIPS program in order to accomplish a required task. (You are not allowed to use pseudo instructions).
-  * You should know all the MIPS instructions presented in the MIPS green card, what they do and how to use them.+  * You should know all the MIPS instructions presented in the {{mipsgreencard.pdf|MIPS Green Card}}, what they do and how to use them.
   * You should also prepare yourselves by reading chapters 1, 2, and 3 in the textbook.    * You should also prepare yourselves by reading chapters 1, 2, and 3 in the textbook. 
  
Line 29: Line 29:
 **Sample Midterm and Answers** **Sample Midterm and Answers**
  
-You can try the this [[http://www.cse.yorku.ca/~lan/2021/midterm/sample.pdf|sample midterm]] and compare your answers with its [[http://www.cse.yorku.ca/~lan/2021/midterm/ans.txt|solutions]]. You can discuss your questions and answers with other students in the [[http://forum.cse.yorku.ca/viewforum.php?f=76|Discussion Group]].+You can try this [[http://www.cse.yorku.ca/~lan/2021/midterm/sample.pdf|sample midterm]]compare your answers with its [[http://www.cse.yorku.ca/~lan/2021/midterm/ans.txt|solutions]] and discuss your questions/answers with other students in the [[http://forum.cse.yorku.ca/viewforum.php?f=76|Discussion Group]]. 
 + 
 +---- 
 +**Midterm Solutions** 
 + 
 +[[http://www.cse.yorku.ca/~lan/2021/midterm/sol.pdf|Midterm Solutions]]
midterm.1247257377.txt.gz · Last modified: 2009/07/10 20:22 by lan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki