Inter Process Communication - Operating Systems Questions and Answers - Sanfoundry PDF

Title Inter Process Communication - Operating Systems Questions and Answers - Sanfoundry
Author code with joey
Course Operating System
Institution Government College University Faisalabad
Pages 8
File Size 296.6 KB
File Type PDF
Total Downloads 36
Total Views 159

Summary

Download Inter Process Communication - Operating Systems Questions and Answers - Sanfoundry PDF


Description

3/9/2021

Inter Process Communication - Operating Systems Questions and Answers - Sanfoundry



Operating System Questions and Answers – Inter Process Communication « Prev

Next »

This set of Operating System Multiple Choice Questions & Answers (MCQs) focuses on “Inter Process Communication”. 1. What is a) allows processes to communicate and synchronize their actions when using the same address space b) c) allows the processes to only synchronize their actions without communication d) none of the mentioned View Answer Answer: b Explanation: Interprocess Communication allows processes to communicate and synchronize

https://www.sanfoundry.com/operating-system-mcqs-inter-process-communication/

1/8

3/9/2021

Inter Process Communication - Operating Systems Questions and Answers - Sanfoundry

→ Shared Memory → Message Passing advertisement

2.

allows processes to __________

a) communicate with b) communicate with one another by resorting to shared data c) share data d) name the recipient or sender of the message View Answer Answer: a Explanation: Message Passing system allows processes to communicate with each other without sharing the same address space. 3. Which of the following two a) write & delete message b) delete & receive message c) send & delete message

View Answer Answer: d

https://www.sanfoundry.com/operating-system-mcqs-inter-process-communication/

2/8

3/9/2021

Inter Process Communication - Operating Systems Questions and Answers - Sanfoundry

4. Messages sent by a process __________ a) have to be of a xed size b) have to be a variable size d) none of the mentioned View Answer Answer: c Explanation: Messages sent by a process can be xed or variable size. If the message size of the process is xed then system level implementation is straightforward but it makes the task of programming more dicult. If the message size of the process is variable then system level implementation is more complex but it makes the task of programming simpler. 5. The

is called __________

b) message-passing link c) synchronization link d) all of the mentioned View Answer Answer: a Explanation: The link between two processes P and Q to send and receive messages is called communication link. Two processes P and Q want to communicate with each other; there should be a communication link that must exist between these two processes so that both processes can able to send and receive messages using that link. advertisement

What is Linux Linux Beginner Tutorial

https://www.sanfoundry.com/operating-system-mcqs-inter-process-communication/

3/8

3/9/2021

Inter Process Communication - Operating Systems Questions and Answers - Sanfoundry

6. 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 is 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 View Answer Answer: b Explanation: For direct communication, a communication link is associated with exactly two processes. One communication link must exist between a pair of processes. 7. In 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 to help communication d) none of the mentioned View Answer Answer: c Explanation: In indirect communication between processes P and Q there is a mailbox to help communication between P and Q. A mailbox can be viewed abstractly as an object into which messages can be placed by processes and from which messages can be removed. 8. In the

__________

a) the sending process keeps sending until the message is received b) the sending process c) the sending process keeps sending until it receives a message d) none of the mentioned View Answer Answer: b Explanation: In the non blocking send, the sending process sends the message and resumes operation. Sending process doesn’t care about reception. It is also known as asynchronous send.

https://www.sanfoundry.com/operating-system-mcqs-inter-process-communication/

4/8

3/9/2021

Inter Process Communication - Operating Systems Questions and Answers - Sanfoundry

d) none of the mentioned View Answer Answer: b Explanation: In the Zero capacity queue the sender blocks until the receiver receives the message. Zero capacity queue has maximum capacity of Zero; thus message queue does not have any waiting message in it. advertisement

10. The Zero Capacity queue __________ a) is referred to as a message system with buering c) is referred to as a link d) none of the mentioned View Answer Answer: b Explanation: The Zero capacity queue is referred to as a message system with no buering. Zero capacity queue has maximum capacity of Zero; thus message queue does not have any waiting message in it. 11. Bounded capacity and Unbounded capacity queues are referred to as __________ a) Programmed buering

https://www.sanfoundry.com/operating-system-mcqs-inter-process-communication/

5/8

3/9/2021

Inter Process Communication - Operating Systems Questions and Answers - Sanfoundry

d) No buering View Answer Answer: b Explanation: Bounded capacity and Unbounded capacity queues are referred to as Automatic buering. Buer capacity of the Bounded capacity queue is nite length and buer capacity of the Unbounded queue is innite. Sanfoundry Global Education & Learning Series – Operating System. Here’s the list of Best Reference Books in Operating System. To practice all areas of Operating System, here is complete set on 1000+ Multiple Choice Questions and Answers on Operating System. advertisement

Participate in the Sanfoundry Certication contest to get free Certicate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs! Telegram | Youtube | LinkedIn | Instagram | Facebook | Twitter | Pinterest « Prev - Operating System Questions and Answers – Process Creation » Next - Operating System Questions and Answers – Remote Procedure Calls

https://www.sanfoundry.com/operating-system-mcqs-inter-process-communication/

6/8

3/9/2021

Inter Process Communication - Operating Systems Questions and Answers - Sanfoundry

Recommended Posts: 1. Java Programming Examples on Set & String Problems & Algorithms 2. 100+ Java Android Programming Examples 3. Bangalore Training – SAN, C, Linux Kernel and Device Drivers Training 4. C# Programming Examples 5. C++ Programming Examples on STL 6. Spring Questions and Answers 7. C++ Programming Examples on Data-Structures 8. C Programming Examples on Stacks & Queues 9. IOT Questions and Answers 10. C Algorithms, Problems & Programming Examples 11. Java Algorithms, Problems & Programming Examples 12. Python Programming Examples on Stacks & Queues 13. C++ Algorithms, Problems & Programming Examples 14. C Programming Examples 15. Chemical Process Calculation Questions and Answers 16. Electronics & Communication Engineering Questions and Answers 17. Java Programming Examples on Networking 18. Professional Communication Questions & Answers 19. Operating System Questions and Answers 20. Digital Communication Questions and Answers advertisement

https://www.sanfoundry.com/operating-system-mcqs-inter-process-communication/

7/8

3/9/2021

Inter Process Communication - Operating Systems Questions and Answers - Sanfoundry

Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He is Linux Kernel Developer & SAN Architect and is passionate about competency developments in these areas. He lives in Bangalore and delivers focused training sessions to IT professionals in Linux Kernel, Linux Debugging, Linux Device Drivers, Linux Networking, Linux Storage, Advanced C Programming, SAN Storage Technologies, SCSI Internals & Storage Protocols such as iSCSI & Fiber Channel. Stay connected with him @ LinkedIn

Subscribe Sanfoundry Newsletter and Posts Name*

Email*

Subscribe

About | Certications | Internships | Jobs | Privacy Policy | Terms | Copyright | Contact













© 2011-2021 Sanfoundry. All Rights Reserved.

https://www.sanfoundry.com/operating-system-mcqs-inter-process-communication/

8/8...


Similar Free PDFs