100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
CSC 301 - Exam 2 (Chapter 5) Study Guide correctly answered to pass $9.99   Add to cart

Exam (elaborations)

CSC 301 - Exam 2 (Chapter 5) Study Guide correctly answered to pass

 0 view  0 purchase
  • Course
  • CSC 301
  • Institution
  • CSC 301

CSC 301 - Exam 2 (Chapter 5) Study Guide correctly answered to pass

Preview 1 out of 3  pages

  • November 16, 2024
  • 3
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • CSC 301
  • CSC 301
avatar-seller
BravelRadon
CSC 301 - Exam 2 (Chapter 5) Study
Guide correctly answered to pass
Distinguish between coarse-grained & fine-grained multithreading - correct answer ✔✔- Coarse-grained
multithreading allows thread to run on processor until long-latency event, such as waiting for memory,
to occur.

- When long latency event does occur, processor switches to another thread.

- Fine-grained multithreading switches between threads at much finer granularity, such as between
instructions.



Explain concept of CPU-I/O burst cycle - correct answer ✔✔- lifecycle of process can be considered to
consist of number of bursts belonging to two different states

- All processes consist of CPU cycles & I/O operations.

- Therefore, process can be modeled as switching between bursts of CPU execution & I/O wait.



What role does dispatcher play in CPU scheduling? - correct answer ✔✔- dispatcher gives control of CPU
to process selected by short-term scheduler

- to perform this task, context switch, switch to user mode, & jump to proper location in user program
are all required

- dispatch should be made as fast as possible

- time lost to dispatcher is termed dispatch latency.



Explain difference between response time & turnaround time. These times are both used to measure
effectiveness of scheduling schemes. - correct answer ✔✔- Turnaround time is sum of periods that
process is spent waiting to get into memory, waiting in ready queue, executing on 11 CPU, & doing I/O

- Turnaround time essentially measures amount of time it takes to execute process

- Response time, on other hand, is measure of time that elapses between request & first response
produced.



What effect does size of time quantum have on performance of an RR algorithm? - correct answer ✔✔-
At one extreme, if time quantum is extremely large, RR policy is same as FCFS policy

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

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

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

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 BravelRadon. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $9.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

75323 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$9.99
  • (0)
  Add to cart