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

Week 8 develops the virtual memory mechanism in more detail. Students learn how pages and page tables translate addresses and how the OS handles memory pressure.

Lecture
Paging, translation, TLBs, and replacement
Reading
OSTEP Chapters 18–24
Lab
Page-table translation and page-fault experiments
Due
Update date later
Weekly Schedule
TimeActivityWhat Students DoLink
Before LecturePreparation ReadingRead OSTEP Chapters 18–24 and solve one address-translation example.Book →
Lecture 1Paging and Page TablesPages, frames, VPN, offset, PTE, valid bits, protection bits, and multi-level page tables.Slides →
Lecture 2TLBs and ReplacementTLB hits, TLB misses, page faults, FIFO, LRU, clock policy, and working set intuition.Slides →
Lab SessionVirtual Memory LabTranslate virtual addresses, inspect page behavior, and run memory-access experiments.Lab →
After LectureAssignment 8Complete address-translation problems and compare page replacement policies.Assignment →
End of WeekQuiz 8Complete short quiz on paging, page tables, TLB, page faults, replacement policies, and address translation.Quiz →
Learning Objectives
Outcome
By the end of Week 8, students should be able to:

Translate virtual addresses, explain page tables, describe TLB behavior, identify page faults, and compare replacement policies.

PagingPage TablesTLBPage Faults
Module 8
Core
Lecture Materials
Slides
Week 8 Lecture Slides

Slides for virtual memory and paging. Replace this placeholder with your final PDF or Google Slides link.

PDFLectureRequired
Slides
Lecture
Open Slides →
Notes
Week 8 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 8 lab and assignment.

CLinuxStarter
ZIP
Starter
Download →
Reading
Required
OSTEP Chapters 18–24

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 8
Virtual Memory Lab

Translate virtual addresses, inspect page behavior, and run memory-access experiments.

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

Complete address-translation problems and compare page replacement policies. Submit source code, screenshots, and a short explanation.

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

Short quiz covering paging, page tables, TLB, page faults, replacement policies, and address translation.

10 Questions15 MinutesOnline
Quiz
TBD
Start →
All Downloads
Files
Week 8 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 8 slides
  • □ Review lecture notes
  • □ Complete Lab 8
  • □ Submit Assignment 8
  • □ Complete Quiz 8
  • □ Save screenshots and code
  • □ Prepare questions for next week

Week 9 focuses on file systems. Students move from memory abstractions to persistent storage abstractions.