Which of the following can be said about a segmentation fault caused when a process is active?

Which of the following can be said about a segmentation fault caused when a process is active?

Looking for the answer to the question below related to Operating System? Which of the following can be said about a segmentation fault caused when a process is active?  Options: (a) It will recover from the fault transparently to the user, by moving the required page from the secondary memory (b) The fault’s cause may … Read more

One needs a good practical example of a “producer-consumer” type problem from among the following.

One needs a good practical example of a “producer-consumer” type problem from among the following.

Looking for the answer to the question below related to Operating System? One needs a good practical example of a “producer-consumer” type problem from among the following.  Options: (I) A multithreaded audio server, where a thread writes digitized sound into a circular buffer and another thread reads it over to a web page. (II) a … Read more

A certain task is multithreaded in such a way that it is supported by two kernel threads where each kernel thread is supporting more than one user thread. Which of the following statement is not true about this scenario?

A certain task is multithreaded in such a way that it is supported by two kernel threads where each kernel thread is supporting more than one user thread. Which of the following statement is not true about this scenario?

Looking for the answer to the question below related to Operating System? A certain task is multithreaded in such a way that it is supported by two kernel threads where each kernel thread is supporting more than one user thread. Which of the following statement is not true about this scenario?  Options: (a) The task … Read more

Which of the following statements comparing the context of a thread with that of a process is true?

Which of the following statements comparing the context of a thread with that of a process is true?

Looking for the answer to the question below related to Operating System? Which of the following statements comparing the context of a thread with that of a process is true?  Options: (a) Two processes will share any context; two threads of a same process will only share the data and the code (text) areas of … Read more

Consider a swapping system in which memory consists of the following hole sizes 10K, 4K, 16K, 2K, 11Kbytes. Which holes are taken for the successive segment requests of 12K, 10K and 9K if the best fit algorithm

Consider a swapping system in which memory consists of the following hole sizes 10K, 4K, 16K, 2K, 11Kbytes. Which holes are taken for the successive segment requests of 12K, 10K and 9K if the best fit algorithm

Looking for the answer to the question below related to Operating System? Consider a swapping system in which memory consists of the following hole sizes 10K, 4K, 16K, 2K, 11Kbytes. Which holes are taken for the successive segment requests of 12K, 10K and 9K if the best fit algorithm  Options: (a) 14K, 16K, 11K (b) … Read more

Three non-preemptive jobs J1, J2, J3 are waiting to be run. Their expected processor times are 6, 3 and 5 time units respectively. In which order should they be run to minimize the average response time?

Three non-preemptive jobs J1, J2, J3 are waiting to be run. Their expected processor times are 6, 3 and 5 time units respectively. In which order should they be run to minimize the average response time?

Looking for the answer to the question below related to Operating System? Three non-preemptive jobs J1, J2, J3 are waiting to be run. Their expected processor times are 6, 3 and 5 time units respectively. In which order should they be run to minimize the average response time?  Options: (a) J1, J2, J3 (b) J1, … Read more

A light weight process (LWP) is supported by a single kernel space thread, and it in turn supports several user space threads, belonging to a single user task. Which statement is true?

A light weight process (LWP) is supported by a single kernel space thread, and it in turn supports several user space threads, belonging to a single user task. Which statement is true?

Looking for the answer to the question below related to Operating System? A light weight process (LWP) is supported by a single kernel space thread, and it in turn supports several user space threads, belonging to a single user task. Which statement is true?  Options: (I) The user task is made to be multithreaded in … Read more

The critical section problem can be solved in numerous ways. What statement is not true?

The critical section problem can be solved in numerous ways. What statement is not true?

Looking for the answer to the question below related to Operating System? The critical section problem can be solved in numerous ways. What statement is not true?  Options: (a) A test-and-set-lock (TSL) approach is known as a ‘busy-wait’ solution (b) A ‘busy-wait’ solution is good for short duration critical sections (c) When a binary semaphore … Read more

A system suffering from an excessive number of page faults is said to be

A system suffering from an excessive number of page faults is said to be

Looking for the answer to the question below related to Operating System? A system suffering from an excessive number of page faults is said to be  Options: (a) Crashing (b) Hashing (c) Trashing (d) Thrashing (e) Bashing.   The Correct Answer Is: (d) Thrashing   Conclusion I hope you got the answer to your question.

Suppose a system has six equivalent tape drives. Three concurrent processes P1,P2 and P3 require three, two and four of these tape drives, respectively, to complete their execution. At a given instance two, one and one of these tape drives are allocated to these processes P1, P2 and P3 respectively. Which of the following allocations will bring the system to an unsafe state?

Suppose a system has six equivalent tape drives. Three concurrent processes P1,P2 and P3 require three, two and four of these tape drives, respectively, to complete their execution. At a given instance two, one and one of these tape drives are allocated to these processes P1, P2 and P3 respectively. Which of the following allocations will bring the system to an unsafe state?

Looking for the answer to the question below related to Operating System? Suppose a system has six equivalent tape drives. Three concurrent processes P1,P2 and P3 require three, two and four of these tape drives, respectively, to complete their execution. At a given instance two, one and one of these tape drives are allocated to … Read more

Which of the following is not a necessary condition for deadlock to occur?

Which of the following is not a necessary condition for deadlock to occur?

Looking for the answer to the question below related to Operating System? Which of the following is not a necessary condition for deadlock to occur?  Options: (a) Mutual exclusion (b) Hold and wait (c) Wait and signal (d) Circular wait (e) Hold.   The Correct Answer Is: (c) Wait and signal   Conclusion I hope … Read more