/Operating-system-experiments

These programs are experiments in the Operating system course of the Computer Department of North China University of Technology.这些程序是北方工业大学计算机系操作系统实验。

Primary LanguageC++GNU General Public License v3.0GPL-3.0

Operating-system-experiments

These programs are experiments in the Operating System course of the Computer Department of North China University of Technology.
这些程序是北方工业大学计算机系操作系统实验。

Time: 2020 Fall Semester

Simulation of process scheduling 进程调度模拟

  • First come first service 先来先服务
  • Short job first 短作业优先
  • Highest response-ratio next 最高相应比优先
  • Round-Robin 轮转
  • Static highest possible frequency 静态优先级
  • Dynamic highest possible frequency 动态优先级
  • Multi-level feedback round-robin 多级反馈轮转

Simulation of page replacement 页面置换模拟

  • First in first out 先进先出
  • Least recently used 最近最久未使用
  • Optimal replacement 最优淘汰
  • Clock
  • Improved clock 改进型clock
  • Rand 随机

Simulation of file management 文件管理模拟

  • useradd [username]
  • userdel [username]
  • su [username]
  • logout
  • find [name]
  • dir
  • new [filename]
  • del [filename]
  • read [filename]
  • write [filename]
  • refresh [filename]
  • pointer [filename]
  • share [filename] [username] [r|w]
  • stat [filename]
  • rename [filename] [new filename]
  • exit