wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Operating systems II

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

In priority scheduling algorithm, when a process arrives at the ready queue, its priority is compared with the priority of ____________

a)

all process

b)

currently running process

c)

parent process

d)

init process

2.

Process is _______________

a)

program in High level language kept on disk

b)

contents of main memory

c)

a program in execution

d)

a job in secondary memory

3.

the strategy of allowing processes that are logically runnable to be temporarily suspended is called

a)

preemptive scheduling

b)

non preemptive scheduling

c)

shortest job first

d)

first come first served

4.

Fragmentation of the file system

a)

occurs only if the file system is used improperly

b)

can always be prevented

c)

can be temporarily removed by compaction

d)

is a characteristic of all file systems

5.

The memory allocation scheme subject to "external" fragmentation is

a)

segmentation

b)

swapping

c)

pure demand paging

d)

multiple contiguous fixed partitions

6.

When the process issues an I/O request __________

a)

It is placed in an I/O queue

b)

It is placed in a waiting queue

c)

It is placed in the ready queue

d)

It is placed in the Job queue

7.

Which of the following condition is required for a deadlock to be possible?

a)

mutual exclusion

b)

a process may hold allocated resources while awaiting assignment of other resources

c)

no resource can be forcibly removed from a process holding it

d)

All mentioned

8.

Which one of the following is the deadlock avoidance algorithm?

a)

banker’s algorithm

b)

round-robin algorithm

c)

elevator algorithm

d)

karn’s algorithm

9.

Real time systems must have ____________

a)

preemptive kernels

b)

non preemptive kernels

c)

preemptive kernels or non preemptive kernels

d)

neither preemptive nor non preemptive kernels

10.

Real time systems need to __________ the interrupt latency.

a)

minimize

b)

maximize

c)

context switch

d)

suspend