Question: QUESTION 14 File systems, communications and program execution are examples of O OS services Inter-process communication (IPC). Semapores. kernel levels. In a multi-processing environment using


QUESTION 14 File systems, communications and program execution are examples of O OS services Inter-process communication (IPC). Semapores. kernel levels. In a multi-processing environment using multiple processors, if we operate on a large array by dividing various parts of the array among forked children of the same parent process, then we can have a large number of processes running in parallel working on diferent parts of the large array and returning results independent of each other. This is an example of task parallelism data paralelism QUESTION 13 po In the four types of memory allocated to each process the process code is stored in text area, global variables are stored in the data area, function calls use the stack, and the head is located dynamically during program execution the process code is stored in text area global variables are stored in the data are function call use the heart and stack is located namically during program execution the process code is stored in data area global variables are stored in the text area, functional use the stack and haplocatedrancy during program execution. the process code is stored in text area, global variables are stored in the heap function calls use the stack and the data daca during program execution QUESTION 1 Critical-section problem can occur only if a process shares data with at least one other process. True False QUESTION 2 One difference between multi-tasking using forkl) versus using threads is that faulty pointer in a thread can corrupt the memory of the parent process. faulty pointer in a thread has no effect on the memory of the parent process
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
