wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Interprocess communication

Total questions: 19

Worksheet time: 10mins

Name
Class
Date
1.

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

2.

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

3.

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

4.

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

5.

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

6.

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

7.

A process can be terminated due to

a)

normal exit

b)

error

c)

abnormal exit

d)

all of the mentioned

8.

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

9.

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

a)

registers

b)

Stack

c)

Bootstrap program

d)

Data

10.

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

11.

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

a)

Job Queue

b)

PCB queue

c)

Device Queue

d)

Ready Queue

12.

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

13.

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

a)

cooperating process

b)

child process

c)

parent process

d)

init process

14.

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

15.

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

16.

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

17.

Time quantum is defined in

a)

shortest job scheduling algorithm

b)

round robin scheduling algorithm

c)

priority scheduling algorithm

d)

multilevel queue scheduling algorithm

18.

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

19.

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

a)

11

b)

10

c)

12

d)

15