V22.0201 (sec. 1) - Computer Systems Organization (Honors)

Quiz 2 Study Guide

The second (and last) quiz will be on November 24th.

Like all quizzes and exams in this course, it will be open book (and notes).  As usual, laptops, PDAs, cell phones, and Blackberrys are not allowed.  If you have print-outs of your submitted assignments, they may be worth bringing along to use as models.

The quiz is worth 8 points towards the final grade.

You will have most of the period for the quiz.  The quiz will be somewhat longer than the first quiz -- it will include both short code segments to write, and short-answer questions.

There are three main areas we have covered since the mid-term:

  1. x86 IO:  you should know how to read a character from the keyboard, how to position the cursor, how to write a character to the screen, and how to sound a note on the speaker.  Review Dewar Chapter 9 (so you will know where to find the interrupt codes if you need them) and your solution to Assignment 3.  Can you read a character from the keyboard and write it in the upper left hand corner of the screen?
  2. Linking C and x86 assembler.  The question here will see if you know how to pass parameters correctly.  Review Dewar Chapter 8 and sections 4.5 and 4.7 of the Carter notes.  Presumably Assignment 5 has given you good practice on this.  Anything you need to understand to do Assignment 5 is fair game, including writing a correct C main procedure, understanding what the linker does, and giving a ball-park estimate of how long a piece of code will take (the correct order of magnitude would be OK, but mixing up microseconds and nanoseconds would not).  Since some people used gcc and others Visual C++, I will avoid questions which are specific to one or the other.
  3. JVM.  We won't ask you to write a complete JVM method (we'll do that on the final), but will ask a couple of short-answer questions to see if you have absorbed the material presented in class.