Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 2 Which of the following are true about parent/child processes and job control in Unix/Linux? Not yet answered Select one or more: Marked out
Question 2 Which of the following are true about parent/child processes and job control in Unix/Linux? Not yet answered Select one or more: Marked out of 1.00 a. When a parent process invokes the wait() function to wait for one of its child processes to terminate, the parent process will still be able to continue executing the rest of its program instructions while waiting for a child process to terminate. Flag question O b. Adding an ampersand (the "&" symbol) at the end of a command line will result in the command line shell allowing the user to enter another command without waiting for the current command to finish. C. When running a program via the command line, the command line shell will run the specified program as a child process, and will usually wait for the child process to finish execution before prompting the user for another command. d. A child process is said to be a zombie process when it has terminated, but its parent process has not called wait() or waitpid() for it yet. e. Signals can be used to pause or resume the execution of a process, as well as to terminate a process. Of. When a child process terminates, its parent process will be able to invoke the getpid() function to obtain the status information for that child process. Question 1 Which of the following are true about the scheduling of processes, and process scheduling policies/algorithms? Not yet answered Select one or more: Marked out of 1.00 a. A process scheduling policy that is non-preemptive usually results in better response times for all processes on a multitasking system. P Flag question b. Processes are responsible for organising the scheduling amongst themselves by coming to a consensus on which one among them should go for execution next. c. The Round Robin (RR) scheduling policy allows the operating system to allocate a fixed time limit to how long each process can remain in the running state before returning to the ready queue, so that all processes can take turns sharing the processor in a fairer manner. d. For a completed process that has spent 5 seconds waiting and spent 3 seconds in execution, its turnaround time is 8 seconds. e. One difference between the FCFS and SPN scheduling policies is that in FCFS, the process with the earliest arrival time shall be scheduled next whereas in SPN, the process with the least amount of predicted service time required shall be scheduled next. Of. A non-preemptive scheduling policy means that a currently running process can be interrupted by the OS whenever another new process arrives, an interrupt signal is received, or a timeout occurs
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started