Professional Documents
Culture Documents
Operating Systems
Operating Systems
Outline
Introduction
Definition by parts
Definition by functionalities
Definition by goals
Operating Systems
What is an Operating
System?
Definition by parts
Definition by functionality
Definition by goals
Operating Systems
Everyday Definition
Operating Systems
Everyday Definition
?
Operating Systems
Operating Systems
Outline
Introduction
Definition by parts
Definition by functionalities
Definition by goals
Operating Systems
Layered View
Operating Systems
Layered View
Physical Devices
Operating Systems
Layered View
Microarchitecture
Operating Systems
10
Layered View
Machine Language
Operating Systems
11
Layered View
Save file instruction instead of write data into track 5, cylinder 9, sector 15
instruction
Operating Systems
12
Layered View
System tools
Operating Systems
13
Layered View
Application Programs
Operating Systems
14
Layered View
Operating Systems
15
Outline
Introduction
Definition by parts
Definition by functionalities
Definition by goals
Operating Systems
16
Major functionalities
Process handling
Memory Management
Input/Output Management
File storage
Protection System
Operating Systems
17
Process Management
Operating Systems
18
Process Management
Operating Systems
19
Memory Management
Where to load program into memory. Have to deal with the problem
of non-contiguous space allocation
Operating Systems
20
I/O Management
Operating Systems
21
I/O Management
What if multiple programs all send data to the printer at the same
time?
Operating Systems
22
File Storage
Know where files are actually stored in the hard disk, floppy, USB,
etc.
Provide an easy and standard way for applications to use the above
operations (i.e. Saving to USB should not be different to hard disk)
Operating Systems
23
File Storage
How does the OS know if that area of the hard disk is free or not
How to handle saving files if they have to be spread out (no single
block of continuous space large enough to store file)
Operating Systems
24
Protection System
Operating Systems
25
Command Interpreter
Operating Systems
26
Outline
Introduction
Definition by parts
Definition by functionalities
Definition by goals
Operating Systems
27
Goals
Convenience
Efficiency
Operating Systems
28
Convenience
User-friendliness
Operating Systems
29
Efficiency
Organize files in the hard disk and processes in memory for speedy
access
Operating Systems
30
Exercises
1) Open the task manager of your computer to view the
working processes and see the active processes. Go online
to find out what each processes does.
1) What processes do you think are part of the operating system, what
parts do you consider to be application programs?
2) Try to terminate the programs you think are application programs.
Can you still use your computer even if these application programs
are not running? (dont worry, restarting your computer will make it
work again)
Operating Systems
31
Sources
Operating Systems
32