College of Computer Science & Information Technology King Khalid University · جامعة الملك خالد
Week
Week 4
Topic
Scheduling
Workload
6–8 Hours
Status
Materials Placeholder
OverviewScheduleObjectivesMaterialsReadingLabAssignmentQuizDownloadsChecklist
Module Overview

Week 4 explains how the operating system decides which ready process or thread should use the CPU next. Students compare simple policies and evaluate their behavior using scheduling metrics.

Lecture
Scheduling policies and scheduling metrics
Reading
OSTEP Chapters 7–8
Lab
Scheduling simulator and policy comparison
Due
Update date later
Weekly Schedule
TimeActivityWhat Students DoLink
Before LecturePreparation ReadingRead OSTEP Chapters 7–8 and prepare one example schedule using FCFS and Round Robin.Book →
Lecture 1Scheduling MetricsTurnaround time, response time, wait time, throughput, fairness, and workload assumptions.Slides →
Lecture 2Scheduling AlgorithmsFCFS, SJF, STCF, Round Robin, priority scheduling, and multi-level feedback queues.Slides →
Lab SessionScheduling SimulationRun or implement a simple scheduler and compare FCFS, SJF, and Round Robin.Lab →
After LectureAssignment 4Analyze a workload using multiple scheduling policies and report the metrics.Assignment →
End of WeekQuiz 4Complete short quiz on CPU scheduling, FCFS, SJF, RR, response time, and turnaround time.Quiz →
Learning Objectives
Outcome
By the end of Week 4, students should be able to:

Calculate scheduling metrics, compare classic CPU scheduling algorithms, explain time slices, and reason about fairness and responsiveness.

SchedulingFCFSSJFRound Robin
Module 4
Core
Lecture Materials
Slides
Week 4 Lecture Slides

Slides for cpu scheduling. Replace this placeholder with your final PDF or Google Slides link.

PDFLectureRequired
Slides
Lecture
Open Slides →
Notes
Week 4 Lecture Notes

Instructor notes and class summary for review after lecture and before assessment.

PDFReviewSummary
PDF
Notes
Download →
Video
Lecture Recording

Placeholder for lecture recording or external video link. Replace this href with YouTube, Blackboard, or local recording URL.

VideoRecordingOptional Review
Video
TBD
Watch →
Code
Starter Code

Starter files, examples, and templates for the Week 4 lab and assignment.

CLinuxStarter
ZIP
Starter
Download →
Reading
Required
OSTEP Chapters 7–8

Complete the assigned reading before lecture. Focus on definitions, mechanisms, tradeoffs, and examples that connect to the lab.

RequiredReadingPreparation
Required
Book/Notes
Open →
Reference
Linux man-pages Project

Use this reference to look up commands, system calls, library calls, and Linux behavior related to this week.

LinuxManualReference
Reference
man7
Open →
Lab
Lab 4
Scheduling Simulation

Run or implement a simple scheduler and compare FCFS, SJF, and Round Robin.

Hands-onLinuxC
Required
90 min
Open Lab →
Assignment
HW 4
Week 4 Assignment

Analyze a workload using multiple scheduling policies and report the metrics. Submit source code, screenshots, and a short explanation.

HomeworkSubmissionReport
10 points
Due TBD
Download →
Quiz
Quiz 4
Week 4 Quiz

Short quiz covering CPU scheduling, FCFS, SJF, RR, response time, and turnaround time.

10 Questions15 MinutesOnline
Quiz
TBD
Start →
All Downloads
Files
Week 4 File Package

Central download area for slides, notes, lab, assignment, starter code, and reference files. Replace placeholder paths after uploading final files.

SlidesNotesLabAssignmentCode
Student Checklist
  • □ Complete preparation reading
  • □ Open Week 4 slides
  • □ Review lecture notes
  • □ Complete Lab 4
  • □ Submit Assignment 4
  • □ Complete Quiz 4
  • □ Save screenshots and code
  • □ Prepare questions for next week

Week 5 focuses on synchronization. Students should understand concurrency and scheduling before studying locks and condition variables.