wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

OS(II UNIT)

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

What is the ready state of a process?


a)

when process is scheduled to run after some execution

b)

when process is unable to run until some task has been completed

c)

when process is using the CPU

d)

none of the mentioned

2.

Which system call returns the process identifier of a terminated child?

a)

fork()

b)

wait()

c)

exit()

d)

atexit()

3.

A Process Control Block (PCB) does not contain which of the following?

a)

heap

b)

stack

c)

text

d)

bootstrap

4.

The state of a process is defined by __________

a)

the final activity of the process

b)

the activity just executed by the process

c)

the activity to next be executed by the process

d)

the current activity of the process

5.

Which of the following is not the state of a process?

a)

New

b)

Old

c)

Waiting

d)

Running

6.

The entry of all the PCBs of the current processes is in __________

a)

Process Register

b)

Program Counter

c)

Process Table

d)

Process Unit

7.

The processes that are

residing in main memory and are ready and waiting to execute are kept on a

list called _____________


a)

job queue

b)

ready queue

c)

execution queue

d)

process queue

8.

The interval from the time of submission of a process to the time of completion is termed as ____________

a)

waiting time

b)

turnaround time

c)

response time

d)

throughput

9.

Which scheduling algorithm allocates the CPU first to the process that requests the CPU first?


a)

first-come, first-served scheduling

b)

shortest job scheduling

c)

priority scheduling

d)

round robin scheduling

10.

In priority scheduling algorithm ____________

a)

CPU is allocated to the process with highest priority

b)

CPU is allocated to the process with lowest priority

c)

Equal priority processes cannot be scheduled

d)

None of the mentioned

11.

The processes which are blocked due to unavailability of an I/O device constitute this queue.

a)

ready queue

b)

job queue

c)

process scheduling queue

d)

device queue

12.

If a process is executing in its critical section, then no other processes can be executing in their critical section. This condition is called?

a)

mutual exclusion

b)

bound and wait

c)

progress

d)

none of them

13.

Every process created will have its own process id is statement

a)

YES

b)

NO

14.

A Critical section is a program segment

i) which avoids deadlocks

ii) where shared resources are accessed

a)

only i

b)

only ii

c)

both i and ii

d)

none of them

15.

------- is a condition of process waiting for longer duration resulting either resource allocated or non allocated is called as

a)

starvation

b)

deadlock

c)

race condition

d)

none of them