Once the process is allocated CPU and executing, which of the following events could NOT occur?
A. The process could issue an I/O request and then be placed in the Ready Queue
B. The process could create new subprocesses & wait for the termination of the subprocesses
C. The time slice of the process expires and it may join the waiting queue
D. The process is forcibly removed from the CPU and is put in the Waiting queue due to arrival of an interrupt
Choose the correct answer from the options given below:
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: D. A, C and D Only
Explanation
A process that issues an I/O request goes to an I/O (waiting) queue, not the ready queue, so A cannot occur. When its time slice expires it returns to the ready queue, not the waiting queue, so C cannot occur. A process pre-empted by an interrupt also goes back to the ready queue, so D cannot occur. Only B (fork a child and wait for it) is a valid event. Hence A, C and D.More System Software and Operating System questions
- What shall be the average waiting time per process if we know that 10 processes (on average) arrive every second and there are normally 20…
- Which of the following shows the correct hierarchy of a layered file system in an operating system? A. Logical File System B. File Organiza…
- Consider the following interrupt protection levels in Linux, and arrange them in the increasing order of their priorities. A. User-Mode Pro…
- Match List I with List IIList I List II A. Clustered Page Table I. Generally considered inappropriate for 64 bit architectures. B. Hierarch…
- Identify the correct statement(s) from the following with respect to Spinlock Semaphores A. The name refers to busy waiting semaphores. B.…
- What is the total swap time (swap in + swap out) in a system for a 15 MB process with a transfer rate of 30 MBps? Given that there is an av…