Types of operating system
TypeIdeaExample use
BatchJobs with similar needs are grouped and run without user interactionPayroll runs
MultiprogrammingSeveral programs kept in memory; the CPU switches when one waits for input or outputBetter CPU use
Time-sharingEach user gets a small slice of CPU time in turn, so all feel served at onceMany users on one system
Real-timeMust respond within a strict time limitFlight control, medical monitors
MultiprocessingMore than one CPU works togetherHeavy computation
DistributedMany computers cooperate as one systemLarge networked services

Batch: no interaction. Time-sharing: turns. Real-time: deadlines. Multiprocessing: many CPUs.

— Rule to remember
  • Five core functions: process, memory, file, device, security/interface.
  • Real-time means deadlines; time-sharing means turns.
  • A full cycle = users x slice length.