What are the Three Process schedulers used for process management? - correct answer ✔✔Job
Scheduler
Process Scheduler
Overload handler or Scheduler
What are the tasks of the the three process schedulars? - correct answer ✔✔Job Scheduler- Highest
Priority, job queue pick a job from this queue for the CPU, form/sequence the jobs, keeping track of I/O
requirement for all jobs.
Process scheduler- Closest to the process, Gives a process to the CPU to run (for all processers) , picks up
the process to be scheduled next for the CPU
Overload Handler or scheduler- If too many processes for the resources moves them to storage,
temporary, move back later ( (RAM -> HDD
^____________|)
What is the Process State Diagram? - correct answer ✔✔Starts at "new", then goes to "ready", then goes
to "run", then either go to "exit" if the process is finished, go back to "ready" if the process gets
preempted, or go to "wait" if I/O call blocks the process, which would go back to "ready" when the I/O is
completed.
what are the different process states in a process state diagram? - correct answer ✔✔Held, Swapped
Ready, Ready, Running, Blocked, Swap Blocked, and Terminated
(New, Ready, Running, Terminated, Waiting. in the simpler model)
Which of the below are valid transitions in a process state diagram?
What is a Process control block? - correct answer ✔✔Located in OS area of memory , contains PID,
Process status, registers, Process status word (PSW), Priority #, and resources(I/O, Files, Network Access)
What is an interrupt? - correct answer ✔✔Signal from hardware or software indicating that an event has
occurred or that a process needs attention.
What are interrupts we have discuessed? - correct answer ✔✔Timer Run out (TRO)
What is an interrupt service routine? - correct answer ✔✔run a timer -> starts ----> runs-> elapses -> an
interrupt -> TRO
-> CPU -> Switch to Another Process
Can Interrupts be generated by software? - correct answer ✔✔Yes
Why, when, and how does a context switch happen? - correct answer ✔✔Switching over the CPU to a
new process. Save the state of present process, load the state of the new process, and where is it saved?
(the Process control block)
what are the basic difference between I/O bound and CPU bound jobs? - correct answer ✔✔I/O bound
jobs- Lots of I/O, not much of CPU's attention required
CPU bound job- Lots of CPU involvement, number crunching logical operation, low on I/O
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller kirus27. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $12.99. You're not tied to anything after your purchase.