Operating System Flashcards
(40 cards)
software that provides an interface between the computer hardware, and the application programs or users.
is a large and complex software consisting of several components.
Operating System
Types of OS
(1)Single user
(2) Multiuse
(3) Multitasking
(4) Multiprocessing
(5) Real time
(6) Embedded
is for use by a single user for a standalone single computer for performing a single task.
Single User and Single Task OS
allows execution of more than one task or process concurrently.
Single User and Multitasking OS
is used in computer networks that allow same data and applications to be accessed by multiple users at the same time.
Multiuser OS
have two or more processors for a single running process. Processing takes place in parallel and is also called parallel processing
Multiprocessing OS
are designed to respond to an event within a predetermined time.
Real Time OS
is embedded in a device in the ROM.
Embedded OS
Process Management activities handled by the OS are:
control access to shared resources like file, memory, I/O and CPU
control execution of applications
create, execute and delete a process (system process or user process)
cancel or resume a process
schedule a process
synchronization,communication and deadlock handling for processes.
Memory Management handled by OS are:
locate memory
free memory
re-allocate memory to a program when a used block is freed
keep track of memory usage.
File Management tasks include
create and delete both files and directories
provide access to files
allocate space for files
keep back-up of files
secure files.
Device Management tasks handled by OS are:
open, close and write device drivers
communicate, control and monitor the device driver.
OS protects the resources of system. User authentication, file attributes like read, write, encryption, and back-up of data are used by OS to provide basic protection.
Protection and Security
Operating system provides an interface between the computer user and the computer hardware.
It is a set of commands or a graphical user interface via which the user interacts with the applications and the hardware.
User Interface or Command Interpreter
A process is a program in a state of execution. It is a unit of work for the operating system. A process can be created, executed, and stopped.
The ____ function of an operating system handles allocation of resources to the processes in an efficient manner.
Process Management
Process States
New
Ready
Running
Waiting
Termination
process is in a ___ state when it is created
New
process is in ready state when it is waiting for a processor
Ready
process is in _______ state if processor is executing the process
Running
process is in _______ state when it waits for some event to happen (I/O etc)
Waiting
process that has finished execution is in __________ state.
Terminated
A system consists of collection of processes
System process that execute system code
User process that execute user code.
The concurrent execution of the process requires process synchronization and ___ __________
CPU Scheduling
is a component of the operating system that is responsible for scheduling transition of processes.
Scheduler