NEW
Font size
WorksheetsInterprocess communication
Total questions: 19
Worksheet time: 10mins
What is inter process communication?
communication between two threads of same process
Communication between two process
None of the mentioned
doesn't allow for communication
Messages sent by a process :
have to be of a fixed size
have to be a variable size
can be fixed or variable sized
None of the mentioned
The link between two processes P and Q to send and receive messages is called :
communication link
message-passing link
synchronization link
all of the mentioned
In the non blocking send :
the sending process keeps sending until the message is received
the sending process sends the message and resumes operation
the sending process keeps sending until it receives a message
none of the mentioned
In the Zero capacity queue :
the queue can store at least one message
the sender blocks until the receiver receives the message
the sender keeps sending and the messages don’t wait in the queue
none of the mentioned
What is operating system?
collection of programs that manages hardware resources
system service provider to the application programs
link to interface the hardware and application programs
all of the mentioned
A process can be terminated due to
normal exit
error
abnormal exit
all of the mentioned
The address of the next instruction to be executed by the current process is provided by the
CPU registers
Program counter
Process stack
Pipe
A Process Control Block(PCB) does not contain which of the following :
registers
Stack
Bootstrap program
Data
The objective of multi programming is to :
Have some process running at all times
Have multiple programs waiting in a queue ready to run
To minimize CPU utilization
None of the mentioned
Which of the following do not belong to queues for processes ?
Job Queue
PCB queue
Device Queue
Ready Queue
What is a medium-term scheduler ?
It selects which process has to be brought into the ready queue
It selects which process has to be executed next and allocates CPU
It selects which process to remove from memory by swapping
None of the mentioned
Which process can be affected by other processes executing in the system?
cooperating process
child process
parent process
init process
Which module gives control of the CPU to the process selected by the short-term scheduler?
dispatcher
interrupt
scheduler
none of the mentioned
Which scheduling algorithm allocates the CPU first to the process that requests the CPU first?
first-come, first-served scheduling
shortest job scheduling
priority scheduling
none of the mentioned
In priority scheduling algorithm
CPU is allocated to the process with highest priority
CPU is allocated to the process with lowest priority
Equal priority processes can not be scheduled
None of the mentioned
Time quantum is defined in
shortest job scheduling algorithm
round robin scheduling algorithm
priority scheduling algorithm
multilevel queue scheduling algorithm
Which one of the following can not be scheduled by the kernel?
kernel level thread
user level thread
process
none of the mentioned
TQ=2, Find out finish time of process P1 using round robin scheduling?
11
10
12
15
