wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

IPC

Total questions: 20

Worksheet time: 19mins

Name
Class
Date
1.

In indirect communication between processes P and Q :

a)

there is another process R to handle and pass on the messages between P and Q

b)

there is another machine between the two processes to help communication

c)

there is a mailbox to help communication between P and Q

d)

none of the mentioned

2.

The link between two processes P and Q to send and receive messages is called :

a)

communication link

b)

message-passing link

c)

synchronization link

d)

all of the mentioned

3.

Messages sent by a process :

a)

have to be of a fixed size

b)

have to be a variable size

c)

can be fixed or variable sized

d)

None of the mentioned

4.

What is inter process communication?

a)

communication between two threads of same process

b)

Communication between two process

c)

None of the mentioned

d)

doesn't allow for communication

5.

In the non blocking send :

a)

the sending process keeps sending until the message is received

b)

the sending process sends the message and resumes operation

c)

the sending process keeps sending until it receives a message

d)

none of the mentioned

6.

In the Zero capacity queue :

a)

the queue can store at least one message

b)

the sender blocks until the receiver receives the message

c)

the sender keeps sending and the messages don’t wait in the queue

d)

none of the mentioned

7.

What is operating system?

a)

collection of programs that manages hardware resources

b)

system service provider to the application programs

c)

link to interface the hardware and application programs

d)

all of the mentioned

8.

A process can be terminated due to

a)

normal exit

b)

error

c)

abnormal exit

d)

all of the mentioned

9.

The address of the next instruction to be executed by the current process is provided by the

a)

CPU registers

b)

Program counter

c)

Process stack

d)

Pipe

10.

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

a)

registers

b)

Stack

c)

Bootstrap program

d)

Data

11.

The objective of multi programming is to :

a)

Have some process running at all times

b)

Have multiple programs waiting in a queue ready to run

c)

To minimize CPU utilization

d)

None of the mentioned

12.

Which of the following do not belong to queues for processes ?

a)

Job Queue

b)

PCB queue

c)

Device Queue

d)

Ready Queue

13.

What is a medium-term scheduler ?

a)

It selects which process has to be brought into the ready queue

b)

It selects which process has to be executed next and allocates CPU

c)

It selects which process to remove from memory by swapping

d)

None of the mentioned

14.

Which process can be affected by other processes executing in the system?

a)

cooperating process

b)

child process

c)

parent process

d)

init process

15.

Which module gives control of the CPU to the process selected by the short-term scheduler?

a)

dispatcher

b)

interrupt

c)

scheduler

d)

none of the mentioned

16.

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)

none of the mentioned

17.

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 can not be scheduled

d)

None of the mentioned

18.

Time quantum is defined in

a)

shortest job scheduling algorithm

b)

round robin scheduling algorithm

c)

priority scheduling algorithm

d)

multilevel queue scheduling algorithm

19.

Which one of the following can not be scheduled by the kernel?

a)

kernel level thread

b)

user level thread

c)

process

d)

none of the mentioned

20.

TQ=2, Find out finish time of process P1 using round robin scheduling?

a)

11

b)

10

c)

12

d)

15