summaryrefslogtreecommitdiff
path: root/doc/assignment1.md
blob: 856dfac06a3dbb088901e210592f44377acf9193 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Assignment 1

This assignment should be submitted after you have finished Unit 1. It is worth 10% of your final grade.

## Part 1: Concepts and Principles (60 marks; 5 marks each)

Instructions: Please answer the following questions in complete sentences. Your answer for each question should be about 150 words.

1. Define the concepts interrupt and trap, and explain the purpose of an interrupt vector.
1. How does a computer system with von Neumann architecture execute an instruction?
1. What role do device controllers and device drivers play in a computer system?
1. Why do clustered systems provide what is considered high-availability service?
1. Describe an operating system’s two modes of operation.
1. Define cache, and explain cache coherency.
1. Describe why direct memory access (DMA) is considered an efficient mechanism for performing I/O.
1. Describe why multicore processing is more efficient than placing each processor on its own chip.
1. Describe the relationship between an API, the system-call interface, and the operating system.
1. Describe some requirements and goals to consider when designing an operating system.
1. Explain why a modular kernel may be the best of the current operating system design techniques.
1. Distinguish between virtualization and simulation.

## Part 2: Design Considerations (40 marks)

Instructions: Please answer the following questions in about 1-2 pages each.

1. Draw a typical computer organization figure that includes the main components of von Neumann architecture. Identify each component, and explain its function and interaction relative to other components. (15 marks)
1. Define system call, and list the main types of system calls. Elaborate on how a system call interacts with a standard C library and hardware under a dual-mode operating system environment. (10 marks)
1. Describe the overall structure of virtual machines, and compare VMware and JVM. (15 marks)