Operating System Flashcards

(40 cards)

1
Q

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.

A

Operating System

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Types of OS

A

(1)Single user
(2) Multiuse
(3) Multitasking
(4) Multiprocessing
(5) Real time
(6) Embedded

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

is for use by a single user for a standalone single computer for performing a single task.

A

Single User and Single Task OS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

allows execution of more than one task or process concurrently.

A

Single User and Multitasking OS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

is used in computer networks that allow same data and applications to be accessed by multiple users at the same time.

A

Multiuser OS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

have two or more processors for a single running process. Processing takes place in parallel and is also called parallel processing

A

Multiprocessing OS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

are designed to respond to an event within a predetermined time.

A

Real Time OS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

is embedded in a device in the ROM.

A

Embedded OS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Process Management activities handled by the OS are:

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Memory Management handled by OS are:

A

locate memory
free memory
re-allocate memory to a program when a used block is freed
keep track of memory usage.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

File Management tasks include

A

create and delete both files and directories
provide access to files
allocate space for files
keep back-up of files
secure files.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Device Management tasks handled by OS are:

A

open, close and write device drivers
communicate, control and monitor the device driver.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

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.

A

Protection and Security

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

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.

A

User Interface or Command Interpreter

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

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.

A

Process Management

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Process States

A

New
Ready
Running
Waiting
Termination

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

process is in a ___ state when it is created

18
Q

process is in ready state when it is waiting for a processor

19
Q

process is in _______ state if processor is executing the process

20
Q

process is in _______ state when it waits for some event to happen (I/O etc)

21
Q

process that has finished execution is in __________ state.

22
Q

A system consists of collection of processes

A

System process that execute system code
User process that execute user code.

23
Q

The concurrent execution of the process requires process synchronization and ___ __________

A

CPU Scheduling

24
Q

is a component of the operating system that is responsible for scheduling transition of processes.

25
the processor executes a process till termination without any interruption.
non-preemptive scheduling
26
a running process may be interrupted by another process that needs to execute.
pre-emptive scheduling
27
the process that requests for the CPU first, gets the CPU first. A queue is maintained for the processes requesting the CPU.
First Come First Served (FCFS) Scheduling
28
The process that requires the least CPU time is allocated the CPU first.
Shortest Job First (SJF) Scheduling
29
designed for time-sharing systems In this scheduling, a small quantum of time (10—100 ms) is defined, and each process in the queue is assigned the CPU for this quantum of time circularly.
Round Robin (RR) Scheduling
30
multiple processes are executing at the same time. The processes that share the resources have to communicate with one another to prevent a situation where one process disrupts another process.
Process Synchronization
31
When two or more processes execute at the same time, independent of each other, they are called
concurrent processes.
32
A situation where multiple processes access and manipulate the same data concurrently, in which the final result depends on the order of process execution, is called a
race condition
33
is a situation when a process waits endlessly for a resource and the requested resource is being used by another process that is waiting for some other resource.
Deadlock
34
Causes of Deadlock
Mutual Exclusion No Pre-emption Hold and Wait Circular Wait
35
Only one process at a time can use the resource. Any other process requesting the resource has to wait until the resource is released.
Mutual Exclusion
36
A process releases the resource by itself. A process cannot remove the resource from another process.
No Pre-emption
37
A process holds a resource while requesting another resource, which may be currently held by another process.
Hold and Wait
38
In this situation, a process P1 waits for a resource held by another process P2, and the process P2 waits for a resource held by process P1.
Circular Wait
39
is a set of method that ensures that at least one of the above four necessary conditions required for deadlock, does not hold true.
Deadlock Prevention
40
requires that the operating system be given information in advance regarding the resources a process will request and use.
Deadlock Avoidance