An "A" entered in the keyboard simulates an interrupt signaling the arrival of a process. The handling routine should create a PCB for this process, generate a PID, and enqueue the PCB into the ready queue. If the CPU is not occupied, the first process in the ready queue should be passed to CPU. In fact, the CPU should never be idle if there is a process in the ready queue.
Can someone please explain this to me? So my PCB will be like a struct right?