Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 25 pages
Exam (elaborations)

COS3721 Assignment 2 2026

Document preview thumbnail
Preview 2 out of 25 pages

Operating Systems and Architecture - COS3721 Assignment 2 2026 - Due 1 July 2026; 100 % TRUSTED workings, Expert Solved, Explanations and Solutions. For assistance call or W.h.a.t.s.a.p.p us on ...(.+.2.5.4.7.7.9.5.4.0.1.3.2)...........

Content preview

COS3721
ASSIGNMENT 2 2026

UNIQUE NO.
DUE DATE: 1 JULY 2026

, Operating Systems and Architecture - COS3721
Assignment 2 2026

Question 1
a. Explain how each approach schedules CPU-intensive and short interactive
tasks. (4)

Per-core run queues:

 Each processor core has its own queue of ready processes.
 CPU-intensive tasks are usually assigned to a specific core and continue running
on that core, benefiting from cache locality.
 Short interactive tasks are placed in the queue of a particular core and must wait
behind other tasks in that queue unless load balancing moves them elsewhere.

Shared run queue:

 All ready processes are placed in one global queue shared by all cores.
 Any idle core can select the next task from the queue.
 Short interactive tasks can be scheduled quickly by any available core, while
CPU-intensive tasks are distributed across cores from the same queue.



b. List at least two advantages and two disadvantages for each scheduling
approach. (6)

Scheduling
Advantages Disadvantages
Approach

1. Better cache performance
1. Load imbalance may occur if
because tasks often stay on the
Per-core run some cores have many tasks
same core.
queues while others are idle.
2. Reduced contention since each
2. Requires additional load-
core manages its own queue.

Connected book
 image
Publisher: 2020 ISBN: 9783346125033 Edition: Unknown

Document information

Uploaded on
July 1, 2026
Number of pages
25
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$4.84

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
LIBvault
4.0
(5)
Sold
72
Followers
0
Items
71
Last sold
1 day ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions