III B.E. (Information Technology)

VII SEMESTER

8 IT 07 OPERATING SYSTEM LAB

  1. CPU simulator: Write a Program to read mnemonics for CPU and produce appropriate machine language instruction.

  2. Tape Drive simulator: Write a Program to declare 512 kb portion of RAM memory as a Magnetic Tape Drive on which sequential file can be stored and accessed. Files are to be written as blocks of fixed or variable size. Make appropriate assumptions about start time, stop time, tape speed, load point and last point of tape.

  3. Floppy disk Drive Simulator: Write a Program to declare 512 kb portion of RAM memory as a double sided disk drive of 64 tracks 32 sectors per track of unformatted capacity. Format it to store at least 64 byte/sector of user data as sequential and / or random access files. Assume that both heads move together.

  4. File Manager: Write a file manager for above disk drive. It should monition file directory, record of used/free sectors, good/bad (assumed) sectors. Create, delete, rename file/directories.

  5. Memory Manager: Write a memory manager for 64kb o9f RAM memory for use with 8085 CPU for segmented memory management (fixed/variable size segments). At least one segment of 8kb must be reserved for O.S. and other may be given to users (max. 7 processes). Implement memory compaction, garbage collection and best fit/worst fit allocation schemes.

  6. Long Term Scheduler: Write a job analyzer to inspect incoming job, evaluate its system resource requirements and execution priority and schedule it for execution.

  7. Short Term Scheduler: Write a process scheduler allowing tow different time quanta for CPU scheduling and I/O scheduling in which process can change various states. 

  8. Write a print scheduler, which examine output file and schedules them for printing on a slow printer or fast printer to optimize the system throughput.

  9. Write an interrupt handler for 8085. 

  10. Write a system call handler for creating, deleting and terminating (Normally/Abnormally) processes.