What’s…
OS?
Operating System
Programs providing user interface
What’s…
OS’s purpose?
Operating System
User communicate with computer to perform low level tasks involving the management of computer memory and resources.
In what devices are operating system essential?
What are examples of desktop operating systems?
What are examples of desktop operating systems?
What features does an OS provide?
What’s…
3 mameory management techniques?
What’s…
Paging?
(1/3)
How used?
Memory split into equal sized pages.
Programs consist of certain no. pages.
Pages swap from main memory & hard disk as needed.
What’s…
Segmentation?
(2/3)
How works?
Memory split into logically sized segments.
Split based on program’s code structure. e.g. conditional statements, loops
What’s…
VM?
Virtual Memory (3/3)
Used when?
Section of hard drive used as RAM.
If main memory = insufficient space.
What’s…
Moved into VM?
Virtual Memory
Unused programs
Through paging
What’s…
Disk thrashing?
Computer freezes as high page swapping frequency. = More time spent transfering pages than spent running program.
Worsening as VM fills.
What’s…
Interrupts?
Signals sent by software/hardware telling processor a process needs attention.
Different interrupts have different prioritys.
How are…
Interrupts stored?
Priority order within priority queue inside interrupt register.
How does…
OS service interrupts?
Operating System
Fairly, using Interrupt service routine.
How does…
ISR work?
Interrupt Service Routine