Operating Systems Questions

Q:

What are deadlock prevention techniques?

Answer

Mutual exclusion


Hold and wait


No preemption


Circular wait

Report Error

View answer Workspace Report Error Discuss

0 1835
Q:

What is a ready queue?

Answer

The processes that are residing in the main memory and are ready and waiting to execute are kept on a list called the ready queue.

Report Error

View answer Workspace Report Error Discuss

0 1832
Q:

What is a deadlock?

Answer

Deadlock is a situation where a group of processes are all blocked and none of them can become unblocked until one of the other becomes unblocked. The simplest deadlock is two processes each of which is waiting for a message from the other.

Report Error

View answer Workspace Report Error Discuss

1 1828
Q:

What are the different types of Real-Time Scheduling?

Answer

Hard real-time systems required to complete a critical task within a guaranteed amount of time.
Soft real-time computing requires that critical processes receive priority over less fortunate ones.

Report Error

View answer Workspace Report Error Discuss

1 1827
Q:

What are the benefits of multithreaded programming?

Answer

 



  • Responsiveness

  • Resources sharing

  • Economy

  • Utilization of multiprocessor architectures.

Report Error

View answer Workspace Report Error Discuss

1 1827
Q:

What are the various components of a computer system?

Answer

1.The hardware


2.The operating system


3.The application programs


4.The users.

Report Error

View answer Workspace Report Error Discuss

1 1822
Q:

What are system calls?

Answer

System calls provide the interface between a process and the operating system. System calls for modern Microsoft windows platforms are part of the win32 API, which is available for all the compilers written for Microsoft windows.

Report Error

View answer Workspace Report Error Discuss

1 1817
Q:

What is process synchronization?

Answer

A situation, where several processes access and manipulate the same data concurrently and the outcome of the execution depends on the particular order in which the access takes place, is called race condition. To guard against the race condition we need to ensure that only one process at a time can be manipulating the same data. The technique we use for this is called process synchronization.

Report Error

View answer Workspace Report Error Discuss

1 1816