-
Notifications
You must be signed in to change notification settings - Fork 0
/
questions.json
110 lines (109 loc) · 5.49 KB
/
questions.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"questions": [
{
"question": "In inter-process communication (IPC), which mechanism allows two processes to communicate by sharing the same memory space?",
"options": ["Shared memory", "Message passing", "Semaphores", "Signals"],
"answer": "Shared memory"
},
{
"question": "Which of the following algorithms is used to find the maximum flow in a network?",
"options": ["Message passing ","Shared memory", "Signals", "Semaphores"],
"answer": "Message passing"
},
{
"question": "What type of communication involves a sender process that writes data to a communication channel and a receiver process that reads data from the channel?",
"options": ["Message queue", "Pipe", "Socket", "Signal"],
"answer": " Message queue"
},
{
"question": "Which IPC method is used for communication between processes running on the same host?",
"options": ["Message passing ","Shared memory", "Signals", "Semaphores"],
"answer": "Message passing"
},
{
"question": "Which IPC mechanism uses a fixed-size buffer to hold messages until the receiver is ready to read them?",
"options": ["Message queue", "Pipe", "Socket", "Signal"],
"answer": " Message queue"
},
{
"question": "Which mechanism allows a process to signal another process to perform a certain action?",
"options": ["Signal", "Shared memory", "Message queue", "Semaphore"],
"answer": " Signal"
},
{
"question": "Which IPC method allows multiple processes to read from and write to the same communication channel concurrently?",
"options": ["Pipe", "Semaphore", "Message passing", "Shared memory"],
"answer": "Pipe"
},
{
"question": "What type of communication involves a sender process that writes data to a named file and a receiver process that reads data from the same file?",
"options": ["Pipe", "FIFOs", "Socket", "Signal"],
"answer": " Pipe "
},
{
"question": "Which IPC mechanism uses a system of counting semaphores to coordinate the activities of multiple processes?",
"options": ["Semaphore ", "Pipe", "Message passing", "Shared memory"],
"answer": " Semaphore "
},
{
"question": "Which IPC method uses a pair of file descriptors to allow communication between processes through a common buffer?",
"options": ["Pipe ", "Semaphore", "Socket", "Signal"],
"answer": " Pipe"
},
{
"question": "What type of communication involves a sender process that writes data to a communication channel and multiple receiver processes that can read from the channel?",
"options": ["Publish/subscribe ", "Pipe", "Message passing", "Signal"],
"answer": "Message passing"
},
{
"question": "Which IPC mechanism allows processes to communicate over a network?",
"options": ["Socket", "Shared memory", "Message passing", "Semaphore"],
"answer": " Socket "
},
{
"question": "Which IPC method provides a way for processes to communicate using a common memory region that is mapped into their address spaces?",
"options": ["Shared memory", "Message passing", "Pipe", "Signal"],
"answer": "Shared memory "
},
{
"question": "Which IPC mechanism allows a process to notify one or more other processes that an event has occurred?",
"options": ["Signal", "Pipe", "Semaphore", "Message queue"],
"answer": "Signal"
},
{
"question": "Which of the following is not a type of cut in a flow network?",
"options": ["Signal", "Semaphore", "Pipe", "Message queue"],
"answer": "Signal"
},
{
"question": "What type of communication involves a sender process that writes data to a communication channel and a receiver process that reads data from the channel in the order it was sent?",
"options": ["FIFOs", "Pipe", "Message passing", "Signal"],
"answer": " FIFOs "
},
{
"question": "Which IPC method provides a way for processes to communicate using named communication channels that can be accessed by multiple processes?",
"options": ["Socket", "Pipe", "Semaphore", "Message queue"],
"answer": " Socket"
},
{
"question": "Which IPC mechanism allows processes to send and receive messages of variable length?",
"options": ["Message passing", "Semaphore", "Shared memory", "Signal"],
"answer": " Message passing"
},
{
"question": "Which IPC method provides a way for processes to communicate using named communication channels that can be accessed by multiple processes?",
"options": ["Socket", "Pipe", "Semaphore", "Message queue"],
"answer": " Socket"
},
{
"question": "What type of communication involves a sender process that writes data to a communication channel and a receiver process that reads data from the channel in the order it was sent?",
"options": ["FIFOs ", "Pipe", "Message passing", "Signal"],
"answer": " FIFOs "
},
{
"question": "Which IPC method provides a way for processes to communicate using a common memory region that is mapped into their address spaces?",
"options": ["Shared memory", "Message passing", "Pipe", "Signal"],
"answer": " Shared memory "
}
]
}