Assignment 1
Assignment 1
Assignments1
1) Explain using a diagram:
• Computer System Structure
• Interrupt-drive I/O Cycle
• Computer Startup
• Transition from User to Kernel Mode
• View of Operating System Services
2) What are the three main purposes of an operating system?
3) What are the main differences between user mode and kernel mode?
4) What is the purpose of interrupts? How does an interrupt differ from a trap?
5) Define the following terms
• Operating system
• kernel
• System call
• System program
• Application program
• Middleware
• Protection and Security
6) Rank the following storage systems from slowest to fastest:
a. Hard-disk drives
b. Registers
c. Optical disk
d. Main memory
e. Nonvolatile memory
f. Magnetic tapes
g. Cache
7) What is the main advantage of using DMA (Direct memory access)?
8) What is the advantage of multiprogramming systems?
9) Briefly explain
• The difference between a system call and a system program
• The microkernel OS structure
• The uses of a bootstrap program
10) What is the purpose of system calls?
11) What is the purpose of system programs?
12) List the services provided by an operating system and explain how each creates
convenience for users.
13) Why do some systems store the operating system in firmware, while others
store it on disk?
14) list out five categories of system calls
15) What is the main advantage of the layered approach to system design?
16) What is the main advantage of the microkernel approach to system design?
17) What are the advantages and disadvantages of using the same system call
interface for manipulating both files and devices?