What is the initial state of a newly created process? Group of answer choices Running New Ready Blocked
Added by Diane O.
Step 1
When a new process is created, it goes through various states during its lifecycle. Show more…
Show all steps
Your feedback will help us improve your experience
James Kiss and 86 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Select the correct alternative from the given choices. For each of the following transitions, between process states, which transition is not possible? (A) Running $\rightarrow$ Ready (B) Blocked $\rightarrow$ Suspend (C) Ready $\rightarrow$ Ready/Suspend (D) Blocked $\rightarrow$ Running
OPERATING SYSTEM
PROCESSES AND THREADS
For your initial post, compose a real-world analogy to illustrate the concept of different process states (new, running, waiting, ready, and terminated). Considering the diagram of process state in Figure 3.2 of the textbook, describe what happens in your scenario at each of the five oval nodes as well as the six arrows between the nodes. An example is provided below. Scenario: Hospital New: The process is being created. (A new patient enters the hospital) Running: Instructions are being executed. (Tests are being conducted for the patient) Waiting: The process is waiting for some event to occur (such as an I/O completion or reception of a signal). (Waiting for the test reports) Ready: The process is waiting to be assigned to a processor. (The patient should be assigned to a particular specialist depending on the test result) Terminated: The process has finished execution. (The specialist has treated the patient) New → Ready: The patient is admitted Ready → Running: The patient is sent for tests or for surgery Running → Terminate: Operation/treatment completed Running → Ready: Second opinion from a senior specialist Running → Waiting: Waiting for the test reports Waiting → Ready: Reports given to the specialist
Shaiju T.
Multiblocked queues: Multiple answers are allowed When the event occurs, the entire list of processes in the appropriate queue can be moved to the Blocked state. When the event occurs, the entire list of processes in all queues will be scanned. The Multiblocked queues scheme is a disadvantage for large OS. When the event occurs, the entire list of processes in the appropriate stack can be moved to the Ready state. When the event occurs, the entire list of processes in the appropriate LIFO can be moved to the Ready state. When the event occurs, the entire list of processes in the appropriate queue can be moved to the Running state. When the event occurs, the entire list of processes in the appropriate queue can be moved to the Ready state. The Multiblocked queues scheme is an advantage for large OS.
Sri K.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Transcript
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD