OSPP Seminarie 3 Exam Questions & Answers 2024/2025
Selects which process in the ready memory queue should be executed next, and allocates the cpu to it - ANSWERSWhat is the overall purpose of the short-term scheduler (aka CPU scheduler)?
Decides if a new process should be put in the ready ...
Selects which process in the ready memory queue should be executed next, and allocates the cpu to it -
ANSWERSWhat is the overall purpose of the short-term scheduler (aka CPU scheduler)?
Decides if a new process should be put in the ready queue or put into secondary storage (ex. hårddisk).
Readykön kunde inte vara så stor, man använder en job pool in secondary storage. - ANSWERSWhat is
the overall purpose of the long-term scheduler?
Fungerar som en LTS men kan också ta processer från ready queue till secondary storage. Flyttar alltså
processer mellan ready queue och secondary storage åt båda håll - ANSWERSWhat is the overall purpose
of the medium-term scheduler?
Multiprogramming maximizes CPU utilization. The % of time the CPU is executing user level process
code. Maximize - ANSWERSDefine CPU utilization and state the if the goal is to minimize or maximize the
metric
Number of processes that complete their execution per time unit. Maximize - ANSWERSDefine
throughput and state the if the goal is to minimize or maximize the metric
Amount of time to execute a particular process. Minimize - ANSWERSDefine turnaround and state the if
the goal is to minimize or maximize the metric
Amount of time a process has been waiting in the ready queue. Minimize - ANSWERSDefine waitingtime
and state the if the goal is to minimize or maximize the metric
Amount of time it takes from when a request was submitted until the first response is produced.
Minimize - ANSWERSDefine responsetime and state the if the goal is to minimize or maximize the metric
En tid då CPU gör grejer oavbrutet - ANSWERSWhat is meant by CPU burst?
, En tid då I/O svarar - ANSWERSWhat is meant by I/O burst?
An CPU-bound process spends more time doing computations and is characterized by few very long CPU
bursts. - ANSWERSWhat characterizes a CPU bound process?
An I/O-bound process spends more time doing I/O than computations and is characterized by many CPU
bursts. - ANSWERSWhat characterizes an I/O bound process?
Det gör att många processer måste vänta på CPUn och CPU blir bottleneck, till skillnad på om man har en
balans vilket gör att väntan på I/O kan ske samtidigt som CPU används - ANSWERSWhat would happen if
there was a large majority of CPU bound processes in the ready queue?
Det leder till färre processer på CPUn; ready queue kan bli tom potentiellt - ANSWERSWhat would
happen if there was a large majority of I/O bound processes in the ready queue?
The MTS can swap in/out processes to balance between I/O and CPU bound processes. - ANSWERSHow
can a good balance between CPU bound processes and I/O bound processes in the ready queue be
maintained?
A human interacting with the process in real time, väntar ofta på I/O som tangentbordstryck och mus -
ANSWERSWhat characterizes an interactive process?
Låg responstid, bör få tillgång till CPUn snabbt efter den väntat på I/O annars kan det upplevas lagg -
ANSWERSWhat requirements on CPU scheduling do interactive processes impose?
A process that is executing "in the background", no human interaction. Ofta låg CPU-prioritet
förhållandevis mot interaktiva processer. - ANSWERSWhat characterizes a batch process?
The CPU scheduler (STS) selects one process from among the processes in memory that are READY to
execute. The scheduler dispatcher then gives the selected process control of the CPU. This action is
called scheduler dispatch (SD). - ANSWERSWhat is meant by scheduler dispatch?
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 Bensuda. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $7.99. You're not tied to anything after your purchase.