• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 4 out of 52 pages
Exam (elaborations)

COS3721 Operating Systems & Architecture

Document preview thumbnail
Preview 4 out of 52 pages

COS3721 Operating Systems & Architecture

Content preview

COS3721 — OPERATING SYSTEMS AND
ARCHITECTURE
Premium Original Study Guide • Concepts • Algorithms • Worked Reasoning • Practice

Scope: This guide is an original study resource inspired by the public structure and topic emphasis of the referenced COS3721
summary. It does not reproduce the paid Stuvia document, its copyrighted text, or past/actual assessment questions.

The linked Stuvia document is a 186-page summary from 2021/2022. Related public COS3721 material emphasizes
operating-system fundamentals and exam-oriented summaries. Unisa describes COS3721 as a year module covering CPU
scheduling, process coordination/concurrency, deadlocks, memory management, protection/security and distributed systems.

The guide therefore focuses on transferable operating-systems knowledge: processes and threads, scheduling, synchronization,
deadlocks, memory, file/storage systems, protection/security and distributed systems.

,1. Operating-System Foundations
What an OS does. An operating system manages hardware resources and provides services to applications. Core responsibilities
include process management, memory management, storage/file management, I/O, protection and security.

Kernel vs user mode. User programs normally execute with restricted privileges. Kernel mode permits privileged operations such
as configuring hardware, managing page tables and controlling devices. A system call provides a controlled transition into OS
services.

Program, process, thread. A program is passive code; a process is a running program with execution state and resources; a
thread is an execution path within a process. Threads in the same process can share address space while maintaining separate
execution state such as registers and stacks.

Exam anchor: If the question asks “who controls resources?” think OS/kernel. If it asks “what is executing?” think process/thread.
If it asks “how does an application request a privileged service?” think system call.

,2. Processes, Threads & IPC
A process typically moves through states such as new, ready, running, waiting/blocked and terminated. A context switch saves the
state of one execution context and restores another; it enables multitasking but adds overhead.

PCB. A process control block stores information the OS needs to manage a process, such as state, program counter, CPU
registers, scheduling information and resource/accounting information.

IPC. Interprocess communication can use shared memory or message passing. Shared memory is fast after setup but requires
synchronization. Message passing provides explicit communication and can simplify isolation.

Threads. User-level threads can be managed by a library; kernel-level threads are visible to the OS scheduler. Multithreading can
improve responsiveness and overlap computation with I/O, but shared state creates race-condition risks.

, 3. CPU Scheduling
Scheduling decides which ready process/thread should receive CPU time. Common algorithms include FCFS, SJF, SRTF, priority
scheduling and round robin.

Key metrics: turnaround time = completion − arrival; waiting time = turnaround − CPU burst; response time = first CPU service −
arrival. Throughput measures completed work per unit time; utilization measures how busy the CPU is.

FCFS: simple and non-preemptive, but long jobs can delay short jobs. SJF: minimizes average waiting time when burst estimates
are accurate. Round robin: uses a time quantum and is designed for responsive time-sharing.

Trap: Do not confuse response time with turnaround time. A process can receive its first CPU slice quickly while still completing
much later.

Document information

Uploaded on
September 20, 2026
Number of pages
52
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$4.99

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.
Expert001
4.4
(228)
Sold
833
Followers
566
Items
1471
Last sold
13 hours 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