Posts

Showing posts with the label knowledge.

Deadlock in os

Image
DEADLOCK what is deadlock ? Deadlock is a situation in which two computer processes share only one resource, due to which no process can access the resource. That is, a deadlock is a condition in which two or more processes fight  for only one resource, due to which no one is able to access the resource. For example, suppose there are two friends and both want to play computer games, due to which both fight. One has a remote control and the other has a cd of games.  Due to which neither of the two friends are able to play but neither of them is ready to cooperate. This condition is called deadlock . According to the picture we have two processes A and B and two resources r1 and r2. It contains resource r1 that is allocated with process A, and resource r2 that is allocated with process B. But resource r2 is required to complete the process so it requests r2, but r2 is already allocated with B. Similarly process B requires r1 to complete its execu...

computer system and it's main component .

Image
COMPUTER SYSTEM                                              A computer system is made of following component :         1. HARDWARE         2.OPERATING SYSTEM         3.APPLICATION PROGRAMS         4.USERS 1.HARDWARE----------                                        The CPU ,the memory and the I/O devices provides the basic computing resources for the system. 2. Application programs--------                                                                   such as word processors, spreadsheet, compiler, and...