What are the two main functions of an operating system?
Resource management
extension/abstraction
Classification of operation systems by operating mode.
Batch processing
serial batch processing
multiprogrammed batch processing
interactive systems
main frames
nondistributed systems
distributed systems
virtual systems
run time environment
virtual machine
hypervisor
Basic concepts of operating systems:
processes
memory managment
managment of I/O devices
file system
(security, user and rights managment)
What are the characteristics of a boot loader?
-Executed right after computer start
-resight at a fixed adress
-main purpose = fetch OS and prepare computer to execute OS
What is a Process?
Is a program being executed.
Program = file
Explain the process state model:
Program
new
ready
running
blocked
terminated
Explain the difference between preemptive and cooperativ multi tasking
Cooperativ:
-Processes transfer contoll to OS voluntarily
Preemptive:
-timer is used to transfer controll
What are process creation methods?
-Chaining
-old process ends, new process starts
-Forking
-old process copies itself, both run afterwards
-Creation
-old process creates new, independant process
What are process termination methods?
-Merging
-process waits for subordinant process to end
-Rendezvous
-process waits for any process to end
What are requirements for preemptive multitasking?
privilege levels (OS mode, user mode)
interrupts
times
Whats the difference between systemcall exeption and interrupt?
Systemcall = process (user mode) needs OS functionality (switch between user and OS mode)
Exception = hardware detects something unusual (caused by the process) switches to OS mode
Interrupt = hardware detects something unusual (not caused by the process) switches to OS mode
Name two basic mechanism for communication between processes.
message based
memory based
How are different message based communications distinguished?
data delimitation
syncronicity
connection orientation
receiver adressing
What does DMA stand for?
Direct Memory Access
Last changed2 years ago