Operating System (3140702) MCQs

MCQs of Inter Process Communication

Showing 1 to 10 out of 50 Questions
1.
IPC stands for
(a) Inter Process Communication
(b) Intra Process Communication
(c) Inter Process Command
(d) Intra Process Command
Answer:

Option (a)

2.
What is Inter process communication?
(a) Communication within the process
(b) Communication between two process
(c) Communication between two threads of same process
(d) None of the mentioned
Answer:

Option (b)

3.
Message passing system allows processes to __________
(a) communicate with one another without resorting to shared data
(b) communicate with one another by resorting to shared data
(c) share data
(d) name the recipient or sender of the message
Answer:

Option (a)

4.
Which of the following two operations are provided by the IPC facility?
(a) Write & delete message
(b) Delete & receive message
(c) Send & delete a message
(d) Receive & send message
Answer:

Option (d)

5.
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
Answer:

Option (c)

6.
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
Answer:

Option (a)

7.
Which of the following are TRUE for direct communication?
(a) A communication link can be associated with N number of process(N = max. number of processes supported by system)
(b) A communication link can be associated with exactly two processes
(c) Exactly N/2 links exist between each pair of processes(N = max. number of processes supported by system)
(d) Exactly two link exists between each pair of processes
Answer:

Option (b)

8.
Concurrent access to shared data may result in ____________
(a) data consistency
(b) data insecurity
(c) data inconsistency
(d) None of the mentioned
Answer:

Option (c)

9.
A situation where several processes access and manipulate the same data concurrently and the outcome of the execution depends on the particular order in which access takes place is called ____________
(a) data consistency
(b) race condition
(c) starvation
(d) critical section
Answer:

Option (b)

10.
The segment of code in which the process may change common variables, update tables, write into files is known as ____________
(a) program
(b) race condition
(c) synchronizing
(d) critical section
Answer:

Option (d)

Showing 1 to 10 out of 50 Questions