CSI3131 Midterm Mod1

CSI 3131 Midterm Mod1Chapter 1 and 2

24 cards   |   Total Attempts: 188
  

Cards In This Set

Front Back
Primary Storage
Main memory, directly accessible by the CPUProgram must be in main memory to runMain memory is volatile (loses contents on power loss/reboot)RAM
Secondary storage
Holds large quantities of dataHard drive
Device driver
For each device controllerunderstands the controller and provides a uniform interface tot he device to the OS
Starting IO operation
Device driver loads the appropriate register within device controllerDevice controller examines the contents of these registers
When transfer is complete
Device controller informs the device driver with an interruptDevice driver returns control to OS
Direct Memory Access
Transfer blocks of data to/from memoryController raises interrupt when transfer is complete per block
Single processor system
PDA's to mainframesMostly used as special-purpose processors
Advantages of multi-processor system
Increase throughput (more work done)Economy of scale (cost less then multi single processor systems)Increased reliability (distribution of processes)
Types of multi-processor system
Asymmetric multi-processing- each processor assigned a specific taskSymmetric multi-processing- all processors perform tasks within the OS (not common)
Operating System Services
Provides environment for the execution of programs
I/O operations
User program cannot directly access IO hardware, OS does the low level part for them
Communication
Help between inter process on same computerBetween computers over a networkvie shared memory or through message passing
Error Detection
OS needs to be aware of all possible errorsOS handles them appropriately to ensure correct and consistent computing
Resource allocation and management
When multiple users/jobs are running concurrently resources will be allocated to each of them
Accounting
Keep track of which user is using what kind of computer resources