Problem Statement Design and implement a program (in any language) that

Question
Problem Statement

Design and implement a program (in any language) that simulates some of the job and CPU

scheduling of a time-shared operating system.

Fig. 1 shows the full architectural view of the system that needs to be implemented.

New Job

Job Scheduling

Job Scheduling

Queue

Process Scheduling

Main Memory

Ready Queue

(Level 2)

Ready Queue

(Level 1)

I/O Wait Queue

Semaphore Wait

Queue 0

Semaphore Wait

Queue 1

Semaphore Wait

Queue 2

Semaphore Wait

Queue 3

Semaphore Wait

Queue 4

Figure 1: System Architecture

CPU

Finished List

Question image 1