Deadlock is a systemwide tangle of resource requests that be

Deadlock is a system-wide tangle of resource requests that begins when two or more jobs are put on hold, each waiting for a vital resource to become available. Deadlock does not usually affect the entire system. Deadlock was a serious problem for early butch systems. Database locking should be done only at the level of the entire database. If locks are not used to preserve data integrity, the updated records in a database may include only some of the data—and their contents depend on the order in which each process finishes its execution. The Processor Manager is a composite of at least two sub managers: one in charge of job scheduling and the other in charge of program scheduling. Most computer programs alternate between CPU cycles and I/O cycles. CPU-bound jobs (such as printing a series of documents) have many brief CPU cycles and long I/O cycles. As a process moves through the system, its status changes. Possible process statuses include FINISHED. HOID READY, RUNNING, and WAITING. A job\'s state moves from HOLD to WAITING when it\'s ready to run but is waiting for the CPU. It is possible to minimize response time by running only interactive jobs and letting batch jobs wait until the interactive load ceases. First-come, first-served (FCFS) is a preemptive scheduling algorithm that handles jobs according to their arrival time. If one job monopolizes the system, the extent of its overall effect on system performance depends on the scheduling policy and whether the job is CPU-bound or I/O-bound. All recovery algorithms have one feature in common: they all require at least one victim, which, when removed from the deadlock, will free the system. To recover from deadlock, a factor that is commonly considered when selecting a victim is the CPU time used by a job jobs close to completion are usually left alone.

Solution

true /false

1)true beacuse here each job willl wait for resource for their excution
2)false because if dead lock occurs entire system will be effected
3)false beacuse for early batch system it not a serious problem
4)false because deadlock may occur not only in database but also at os level
5)true

 Deadlock is a system-wide tangle of resource requests that begins when two or more jobs are put on hold, each waiting for a vital resource to become available.

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site