cause a Process to transition out of the Running State
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
Related questions
Question
Which of the following can cause a Process to transition out of the Running State?
PC Updates to a New Value |
||
Process Calls a static Declared Function |
||
Process Writes to Main Memory |
||
Hardware Timer Expires |
||
All of the Above |
||
None of the Above |
Expert Solution
Step 1
There are following 6 transition that occurs among Running, Ready, Blocked, and Terminated state of a process:
- Transition 1 happens when the process can not continue its execution. The process that is running initiates an input/output operation before its assigned time expires, and relinquishes the CPU control.
Running -> Block
- Transition 2 occurs when the running process has executed for a longer duration then scheduler picks another process from ready queue.
Running -> Ready
- Transition 3 occurs when all processes have executed with their shared time slice and the scheduler picks the first process to run again from the ready queue.
Ready -> Running
- Transition 4 happnes when some external event such as input arrival for which a process is being waiting occurs.
Blocked -> Ready
- Transition 5 happens while creating the process.
New -> Ready
- Transition 6 exist when the process has finished its complete execution.
Running -> Terminated
Step by step
Solved in 2 steps
Knowledge Booster
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.Recommended textbooks for you
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)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
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)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education