Inter Process Communication(Engineering > Computer Science And Engineering ) Questions and Answers

Question 1. Port identities and capabilities are maintained by
  1.    Object Oriented Operating System
  2.    Kernel Service
  3.    Kernel
  4.    Microkernel
Explanation:-
Answer: Option C. -> Kernel





Question 2. A message includes a header that identifies the sending and receiving
  1.    Programs
  2.    Processes
  3.    Application
  4.    System
Explanation:-
Answer: Option B. -> Processes





Question 3. Messages sent by a process :
  1.    have to be of a fixed size
  2.    have to be a variable size
  3.    can be fixed or variable sized
  4.    None of the mentioned
Explanation:-
Answer: Option C. -> can be fixed or variable sized





Question 4. Which of the following are TRUE for direct communication:
  1.    A communication link can be associated with N number of process(N = max. number of processes supported by system)
  2.    A communication link can be associated with exactly two processes
  3.    Exactly N/2 links exist between each pair of processes(N = max. number of processes supported by system)
  4.    Exactly two link exists between each pair of processes
Explanation:-
Answer: Option B. -> A communication link can be associated with exactly two processes





Question 5. What is interprocess communication?
  1.    communication within the process
  2.    Communication between two process
  3.    communication between two threads of same process
  4.    None of the mentioned
Explanation:-
Answer: Option B. -> Communication between two process





Question 6. In the Zero capacity queue:
  1.    the queue can store at least one message
  2.    the sender blocks until the receiver receives the message
  3.    the sender keeps sending and the messages dont wait in the queue
  4.    None of the mentioned
Explanation:-
Answer: Option B. -> the sender blocks until the receiver receives the message





Question 7. Bounded capacity and Unbounded capacity queues are referred to as :
  1.    Programmed buffering
  2.    Automatic buffering
  3.    User defined buffering
  4.    No buffering
Explanation:-
Answer: Option B. -> Automatic buffering





Question 8. The link between two processes P and Q to send and receive messages is called:
  1.    communication link
  2.    message-passing link
  3.    synchronization link
  4.    All of the mentioned
Explanation:-
Answer: Option A. -> communication link





Question 9. In the non blocking send :
  1.    the sending process keeps sending until the message is received
  2.    the sending process sends the message and resumes operation
  3.    the sending process keeps sending until it receives a message
  4.    None of the mentioned
Explanation:-
Answer: Option B. -> the sending process sends the message and resumes operation





Question 10. An IPC facility provides atleast two operations:
  1.    write & delete message
  2.    delete & receive message
  3.    send & delete message
  4.    receive & send message
Explanation:-
Answer: Option D. -> receive & send message