wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Quiz no. 1- Process Management & Concurrent Processes

Total questions: 55

Worksheet time: 1hrs 14mins

Name
Class
Date
1.

Enter your full name

4 lines
2.
A situation where resources are needed by some processes to finish execution are held by other processes
a)
Hunger
b)
Race
c)
Process Synchronization
d)
Deadlock
e)
Starvation
3.
Conditions that can result from the lack of process synchronization
a)
Hunger
b)
Race
c)
Process Synchronization
d)
Deadlock
e)
Starvation
4.

Occurs when one or more threads in the program are blocked from gaining access to a resource and as a result, cannot progress.

(a)  

5.
Give atleast five cases of deadlock
4 lines
6.

This deadlock case can occur if processes are allowed to request and hold files for the duration of their execution

(a)  

7.

A technique used to guarantee the integrity of the data

(a)  

8.

Deadlocks that occurs in databases

(a)  

9.
Occurs when a batch of files is given to the printer
a)
Starvation
b)
Spooling
c)
Race
d)
Livelock
10.
Contents would depend on the order in which process finishes its execution. This is known as a _______.
a)
Locking
b)
Starvation
c)
Race
d)
Livelock
11.
This deadlock case can occur when network is congested
a)
Deadlocks in network
b)
Deadlocks in databases
c)
Deadlocks in spooling
d)
Deadlocks on file requests
12.
Give the 4 conditions of deadlock
4 lines
13.
What happens when one of the 4 conditions of deadlock is resolved?
4 lines
14.
Condition in deadlock where it is an act of allowing one process to have access to dedicated resource
a)
Mutual Exclusion
b)
Resource Holding
c)
No Preemption
d)
Circular Wait
15.
Condition in deadlock where each process involved is waiting for another to release the resource, so that at least one process will be able to be completed
a)
Mutual Exclusion
b)
Resource Holding
c)
No Preemption
d)
Circular Wait
16.

Graph used for deadlock modeling

(a)  

17.

Type of node that represents a process in a directed graph

(a)  

18.

A cycle in a directed graph

(a)  

19.

This type of node represents a process within a directed graph

(a)  

20.

Happens to a resource when there is no connection in a directed graph

(a)  

21.
Draw an example graph of a process requesting a resource
22.
Draw an example graph of a process holding a resource
23.
Draw a directed graph of a deadlock
24.
Draw a directed graph which is not locked
25.
Draw a group of the same type of resources in an expansion of a directed graph
26.
Give the 3 strategies of a deadlock
4 lines
27.
When can we say if a state is safe or unsafe in deadlock handling avoidance
4 lines
28.

Complete the table below use deadblock banker's algorithm find whether is safe or not

29.

The expendable job to be removed from the deadlock to free the system

(a)  

30.
Also called multiprocessing
a)
Parallel processing
b)
Process Synchronization
c)
Intermediate Processing
d)
Multiprocessing
31.
Benefits of parallel processing
a)
Increased Reliability and Increased Processing
b)
Increased Reliability and Faster Processing
c)
Faster Processing and Lower Cost
d)
Increased Reliability and Faster Rendering
32.

Must be well configured so as not to generate any type of problem

(a)  

33.
Give the 3 Types of Configurations and give the advantages of each
4 lines
34.
Draw a sample master/slave configuration
35.
Draw a sample of a loosely coupled configuration
36.
Draw a sample of a symmetric configuration
37.
The year when the first multi-processor was introduced
a)
2000
b)
2001
c)
1999
d)
1989
e)
2002
38.
In your own words how does process synchronization work?
4 lines
39.
Give atleast 3 advantages of process cooperation
4 lines
40.
Give the 2 methods of process cooperation explain each
4 lines
41.

A single sequential flow of execution of tasks of a process

(a)  

42.
Differentiate single and multithreaded processes
4 lines
43.

The system has multiple devices, to handle these devices, an operating system requires a separate program known as a ________

a)
driver
b)
application
c)
kernel
d)

device controller

44.

Three types of Operating system peripheral devices except for

a)
processing devices
b)

dedicated

c)

shared

d)

virtual

45.

Devices are allocated to only one task at a time until that job releases them

a)
processing devices
b)

dedicated

c)

shared

d)

virtual

46.

Dedicated devices that have been transformed into shared devices

a)
processing devices
b)

dedicated

c)

shared

d)

virtual

47.

Storage media, which require data to be read serially.

a)

Sequential access

b)

Direct Access

c)

Random Access

d)

ROM

48.

Total time taken by memory devices to perform a read or write operation that an address is sent to memory.

a)
memory response time
b)
memory transfer time
c)
memory access time
d)
memory latency
49.

Executes the policies used by OS to allocate and access the device,

a)
operating system
b)

Traffic Controller

c)

I/O scheduler

d)
software
50.

What does RAID stand for?

a)
Redundant Array of Inexpensive Disks
b)
Random Access Independent Disks
c)
Reliable Array of Inexpensive Drives
d)
Redundant Array of Independent Disks
51.

A File System is also referred to as (a)  

52.

Examples of file systems except for

a)

FAT

b)

DFS

c)

GFS

d)

UDF

53.

Three levels of Management Systems

a)

Disk

b)

Network

c)

File

d)

Document

e)

Directory

54.

Can save storage space, increase transmission speed, and improve performance.

a)
data encryption
b)
encryption
c)
data compression
d)
data backup
55.

Preserves all the information in the original data

a)

Lossless

b)

Lossly

c)

Lossy

d)

Lostless