CIS300 Spring 2005: Assignment 2

6 points; due Monday, 31 January, 1:30pm

Answer each of the following questions with at least one paragraph consisting of at least four complete, grammatically well-formed sentences. Your answers must be hand-written and submitted on paper.

1. (1 point) What is the purpose of the system bus? Give an example of how the CPU uses the system bus.

2. (1 point) List the steps in an instruction cycle and explain their operation.

3. (1 point) What is a disk buffer? Where is it located and how is it used?

4. (2 points) Explain how the computer can execute ``at the same time'' both a ``stock-ticker'' program that displays news crawling across a banner at the bottom of your display and also a Java program that you start. (In your answer, explain the roles of the computer's clock, interrupts, the process queue, and process control blocks in causing the behavior.)

5. (1 point) Explain what happens inside the computer when the user clicks a mouse button. (In your answer, explain the roles of the interrupt register, the instruction cycle, and the window manager.)