R
Rishtaara
Operating Systems Fundamentals
Lesson 8 of 8Article24 min

Project: Build an OS Concepts Simulator

Create a small web or CLI app that simulates process scheduling and memory paging events. Allow users to input jobs and visualize turnaround metrics.

Project scope

Create a small web or CLI app that simulates process scheduling and memory paging events. Allow users to input jobs and visualize turnaround metrics.

  • Round Robin or SJF scheduler module.
  • Page replacement demo (FIFO or LRU).
  • Metrics dashboard: wait time, completion time, page faults.

Sample process model

Representing workload
type Process = {
  pid: string;
  arrival: number;
  burst: number;
  priority: number;
};

const workload: Process[] = [
  { pid: "P1", arrival: 0, burst: 6, priority: 2 },
  { pid: "P2", arrival: 1, burst: 4, priority: 1 },
  { pid: "P3", arrival: 2, burst: 8, priority: 3 },
];