Inter Process Communication Question & Answers July 21, 2022 By WatElectronics This article lists 100 Inter-Process Communication MCQs for Engineering Students. The Inter-Process Communication Questions & Answers below include solutions and links to the relevant topic. This is helpful for users who are preparing for their exams and interviews, or professionals who would like to brush up on the fundamentals of the Gunn Diode. Inter-process communication is about the processes establishing communication with each other. It is specifically a mechanism provided by OS among processes and allows them to manage shared data. There are two various processes in the system. One is Independent and the other is cooperating. The processes that don't share their data and remain unaffected by the other processes executing in the system are known as Independent Processes. The processes occurring in the system that allows the data to be shared are referred to as Cooperating processes and are affected by the other processes occurring in the system. Hence Inter-process communication belongs to cooperating processes. There are multiple reasons to allow process cooperation. They are Information sharing i.e., various users can access the same information simultaneously. Computational speedup i.e., a task is split into sub-tasks and is run concurrently and speeds up the system, Modularity is gained and is convenient. Name Email 1). What provides the processes to manage data shared? Operating System Kernel Program None Hint 2). What are the types of processes used in a system? Independent Process Co-operating Process a & b Undetermined Process Hint 3). Inter Process Communication is involved in _________? Add description here! Independent Process Co-operating Process Determined Process Undetermined Process Hint 4). Inter process communication is the _________? Mechanism to Exchange Data Doesn’t Allow to Exchange Data Synchronizes Process Actions a & c Hint 5). Why Process communication is needed? Share Information Speed up Computation Modularity All Mentioned Above Hint 6). What is the link established among the processes? Message Link Communication Link Passing Link Synchronization Link Hint 7). A process pair requires how many links if the communication is direct? One Two Three Four Hint 8). Inter Process Communication provides _________? Synchronization Race Condition Independent Processes None Hint 9). What are the methods through which processes communicate? Shared Memory Message Passing Variable Passing a & b Hint 10). What is required by the process in Shared Memory? Variable Share Mail Box Port Barrier Hint 11). How does the process communicate in the shared memory model? Shared memory region Through Messages Both a & b Not Possible Hint 12). How do the multiple processes communicate in the Message passing technique? Shared memory region Through Messages Both a & b Not Possible Hint 13). What should be the size of message sent by process? Fixed Variable Constant Either Fixed or Variable Hint 14). What happens to the process if the size of sent message is fixed? Easy to Implement in System Difficult to Program a Task Difficult to Implement in System a & b Hint 15). Programming a task for variable sizes of message is _____? Difficult Simple Harder None Hint 16). The primitives of Inter Process Communication are _________? Message Send Message Receive Message Send & Receive Address Hint 17). Messages with varying sizes makes complicated for ______? Programmer Designer Both Operating System Hint 18). What does a message in Inter process Communication consist? Header Body Frame a & b Hint 19). Source & Destination identities of messages are stored in ____??__. Header Body Frame a & b Hint 20). Message sent follows ________ in Inter Process Communication? FIFO LIFO SISO SIPO Hint 21). What does a capacity of link determines in process communication? Sequence Source Information Destination Information Number of Messages Hint 22). Each link follows ____ in Inter Process Communication? Message Identities Address Queue Hint 23). Sender in _________ wait for the confirmation of receiver about message sent. Zero Capacity Bounded Capacity Unbounded Capacity Bounded/ Unbounded Capacity Hint 24). A Specific identifier for a process is utilized in ______ link? Direct Communication Indirect Communication Process Communication Synchronous Communication Hint 25). __________ is used for communicating indirectly? Transmitter Receiver Mailbox Transducer Hint Inter-Process Communication MCQs for Quiz 26). How the messages are exchanged in Message Passing? Blocking Non-Blocking Synchronous & Asynchronous All Mentioned Above Hint 27). What is the widely used exchange technique? Blocking Receive Non-Blocking Send Blocking Receive Non-Blocking Receive Blocking Send Hint 28). _____ used in client-server applications? Variable Share Mail Box Port Barrier Hint 29). Port is owned by ____? Sending Process Receiving Process Kernel Memory Hint 30). What are the various methods that provides Synchronization? Semaphore Mutual Exclusion Barrier & Spin Lock a, b & c Hint 31). Inter-process Communication requires ________? Synchronization Manipulation Allocation Race Condition Hint 32). What controls the resource common access? Semaphore Barrier Kernel Spin Lock Hint 33). What solves the Critical section issue in Inter Process Communication? Barrier Semaphore Kernel Spin Lock Hint 34). For the given program _________ decrements argument value? Add description here! Wait Signal Hold Lock Hint 35). For the given program, No operation performed if P is _______? Add description here! Positive Negative Zero b & c Hint 36). What are the various types of Semaphores? Binary Counting Decimal a & b Hint 37). Which semaphore has restricted domain? Binary Counting Decimal a & b Hint 38). Which operation works if semaphore value is equal to 1? Wait Signal Hold Lock Hint 39). For Semaphore = 0 ________ operation works? Wait Signal Hold Lock Hint 40). Which semaphores used in coordinating access of resources? Binary Counting Decimal a & b Hint 41). Semaphores are _________? Machine Dependent Machine Independent Program Dependent Software Independent Hint 42). What is the principle followed by Semaphores? Critical Section Signaling Mutual Exclusion b & c Hint 43). How many processes allowed by Semaphore in Critical mode? One Two Three Four Hint 44). What are the drawbacks of Semaphores? Priority Inversion Modularity Loss Deadlock All Mentioned Above Hint 45). Mutual Exclusion prevents _________? Deadlock Mutually Exclusive Race Condition Critical Section Hint 46). Synchronization Tool is __________? Semaphore Barrier Kernel Spin Lock Hint 47). _______ doesn’t allow preceding the processes individually? Semaphore Barrier Kernel Spin Lock Hint 48). Multiprocessing environment prefer _______? Shared Memory Message Passing Variable Passing a & b Hint 49). Distributed Environment of processing has _______? Shared Memory Message Passing Variable Passing a & b Hint 50). Deadlock is common in ________? Multiprocessing Systems Parallel Computing Systems Distributed Systems All Mentioned Above Hint Inter-Process Communication MCQs for Exams 51). When a system tends to perform more operations at same duration the condition is known as ______? Deadlock Mutually Exclusive Race Condition Critical Section Hint 52). When multiple threads block each other leads to______? Deadlock Mutually Exclusive Race Condition Critical Section Hint 53). Multiple processes accessing same segment code that particular segment is referred to as ________? Deadlock Mutually Exclusive Race Condition Critical Section Hint 54). Message passing method has _______ communication than Shared Memory method? Faster Slower Equivalent Moderate Hint 55). Which method is easier in implementation of Inter Process Communication? Shared Memory Message Passing Variable Passing a & b Hint 56). Memory communication is fast in ________? Shared Memory Message Passing Variable Passing a & b Hint 57). ___________ is more time taking method in Inter Process Communication? Shared Memory Message Passing Variable Passing a & b Hint 58). How the data flows in pipes? Unidirection Bidirection Random Can’t Say Hint 59). Data flow is transient in ________? Semaphore Barrier Kernel Pipe Hint 60). What is the type followed by Synchronous IPC? Blocking Send Blocking Receive Blocking Receive Non-Blocking Receive Blocking Send Hint 61). How the communication established among two processes (Not related)? Semaphore Barrier FIFO Pipe Hint 62). _________ establishes Full-Duplex communication among processes. Semaphore Barrier FIFO Pipe Hint 63). ________ is Half-Duplex Communication? Semaphore Barrier FIFO Pipe Hint 64). Initial Count= 0; Counting semaphore is in _____ state? Available Unavailable Accessible Obtainable Hint 65). What condition should be satisfied to make Counting semaphore available? Initial Count < 0 Initial Count > 0 Initial Count =0 Initial Count ≤ 0 Hint 66). How is the communication in sockets? Unidirectional Bidirectional Random Can’t Say Hint 67). FIFO is known as ________. File Named Pipe Socket Pipe Hint 68). FIFO provides Inter Process Communication among ___________? File Clients & Server Signal Clients & Server Sockets Named Pipe Clients & Server Hint 69). Semaphores improper usage causes _____? Deadlock Mutually Exclusive Race Condition Critical Section Hint 70). What is the major issue of Semaphore in Inter Process Communication? Busy Waiting Mutually Exclusive Race Condition Critical Section Hint 71). Mutex has ______ mechanism? Wait Signal Lock Sleep Hint 72). Which semaphore can be utilized as Mutex? Binary Counting Decimal a & b Hint 73). _____ are known as Automatic Buffering in Inter Process Communication? Zero Capacity Bounded Capacity Unbounded Capacity Bounded/ Unbounded Capacity Hint 74). What is a Non-Blocking send? Sending Process Continues Sending Until Message Received Sending Process Resumes Operation Once the Message is Sent Send and Receive Both Need Acknowledgement Cannot Say Hint 75). What are the various sockets? Sequential Packet Datagram Stream & Raw All Mentioned Above Hint Inter-Process Communication MCQs for Interviews 76). What is Blocking send? Sending Process Continues Sending Until Message Received Sending Process Resumes Operation Once the Message is Sent Send and Receive Both Need Acknowledgement Cannot Say Hint 77). How can sockets are closed? Wait () Close () Close Sleep () Hint 78). Datagrams in sequential packet socket is____. Variable Dynamic Fixed None Hint 79)._____ Socket operation similar to letters passed through mail? Sequential Packet Datagram Stream Raw Hint 80). Dataflow in stream sockets is _____? Sequenced Unduplicated Duplicated a & b Hint 81). _____ sockets operate as a Phone conversation? Sequential Packet Datagram Stream Raw Hint 82). Underlying communication protocols are accessed using ____________? Sequential Packet Datagram Stream Raw Hint 83). Sockets provide ____? Point-to-point Two Way Communication One Way Communication a & b Hint 84). How the Inter Process Thread Communication achieved? Wait () Notify () Notify All () All Mentioned Above Hint 85). How the data passed in sockets? Slower Faster Rapid Speedy Hint 86). Why the Inter Process Communication considered to be advantageous? Shared Memory Communication Limits RPC Processes Allowed to Communicate All Mentioned Above Hint 87). What is the purpose of Inter-Process Communication in Android? Communication between Applications Process Communication in Multiprocessing Applications Limits RPC a & b Hint 88). What are the drawbacks of Inter Process Communication? Addressing Issues for Shared Memory Slower Compared to Straight Function Calls Limits RPC a & b Hint 89). What are the methods utilized for Inter-Process Communication on android? AIDL Messenger Broadcast All Mentioned Above Hint 90). What do you meant by UDP in Inter Process Communication? User Defined Protocol User Datagram Protocol UNIX Datagram Protocol User Defined Program Hint 91). Inter Process Communication is important in processes designing for ________? Microkernels Nanokernels Macrokernels a & b Hint 92). Which method of Inter Process Communication used in storing resources? File Signal Socket Pipe Hint 93). Which method of Inter Process Communication used in UNIX OS? File Signal Socket Pipe Hint 94). Inter process Communication on internet provide __________? Datagram Stream Communication Port Communication a & b Hint 95). What are the mechanisms in Client/Server architecture? Pipe Socket Remote Procedure Call (RPC) All Mentioned Above Hint 96). Parallel Hardware is built using ______? Shared Memory Message Passing Variable Passing a & b Hint 97). Shared memory technique is used in ____? Posix Windows XP Mach b & c Hint 98). What is Message Passing facility in Windows? Remote Procedure Call Local Procedure Call Standard Procedure Call Shared Procedure Call Hint 99). Which OS prefer Message Passing Technique? Posix Windows XP Mach b & c Hint 100). How Remote Procedure Call is defined? Communicate Between Processes Synchronous Communication Asynchronous Communication Communicate from Server to Client Hint Please fill in the comment box below. Time is Up! Time's up