owing set of processes, the length of the CPU burst time given in milliseconds:

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Topic Video
Question
100%
  1. Consider the following set of processes, the length of the CPU burst time given in milliseconds:

 

  

Process

Burst Time

P1

6

P2

8

P2

7

P4

3

 

Assuming the above processes are being scheduled with the Shortest Job First (SJF) scheduling algorithm.

  1. The waiting time for process P1 is 3ms
  2. The waiting time for process P1 is 0ms
  3. The waiting time for process P1 is 16ms
  4. The waiting time for process P1 is 9ms

 

From the following list which is the deadlock avoidance algorithm?

  1. Banker’s algorithm
  2. Round-robin algorithm
  3. Elevator algorithm
  4. Karn’s algorithm

 

A problem encountered in multitasking when a process is perpetually denied necessary resources is called

  1. Deadlock
  2. Starvation
  3. Inversion
  4. Aging

 

  1. To break a deadlock:
  2. Abort one or more processes to break the circular wait
  3. Abort all the process in the system
  4. Preempt all resources from all processes
  5. None of the mentioned

 

Termination of the process terminates

  1. First thread of the process
  2. First two threads of the process
  3. All threads within the process
  4. No thread within the process

 

 

Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Instruction Format
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education