Question: Problem 1 . ( 5 0 points ) This set of questions are TRUE or FALSE. Two different threads in Unix created by the same

Problem 1.(50 points)
This set of questions are TRUE or FALSE.
Two different threads in Unix created by the same process have the same PID i.e getpid() value.
Most of the instructions in a System function call in a user-program are executed in kernel-mode.
A program resides in secondary memory.
Two different processes in Unix can have the same PID (process ID) i.e getpid() value.
A (single) fork() issued by one process in Unix/Linux will create two new processes.
A user (i.e. user's code / process) can modify the PCB associated with that user's process directly without a system call.
It is NOT possible for a process to have its state changed from READY SUSPEND or BLOCKED SUSPEND directly into RUNNING by the kernel.
A process immediately upon creation at t=0 s creates 10 threads; each of the threads intends to sleep for 2 s and then executes code for 4 sec starting at t=2s. In the mean-time the process terminates after the completion of the thread creation task at t=1s. The number of active threads at t=3s is 0.
The PCB of a process is stored in kernel-space.
A process to process context switch is slower than a KLT to KLT context switch.
Problem 1 . ( 5 0 points ) This set of questions

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!