201 views
0 0 votes
Consider a program with a single CPU burst of 100 time units and a single disk I/O of 1000 time units at the end. If the timer interval is fifteen time units, how many times would the program enter the ready queue before entering the terminated state? Assume that there is a sufficiently large number of processes of similar nature trying to run on the CPU.

Please log in or register to answer this question.

Position:
Show:

Related questions

1 1 vote
1 1 answer
300
300 views
RUPALI_SHAHAPURE asked Sep 26, 2024
300 views
A program executes eight system calls. Four of these calls are fork calls and three of the remaining calls require disk I/O. The last system call is the exit call, throug...
0 0 votes
0 0 answers
170
170 views
RUPALI_SHAHAPURE asked Sep 26, 2024
170 views
A program executes eight system calls. Four of these calls are fork calls and three of the remaining calls require disk I/O. The last system call is the exit call, throug...
0 0 votes
0 0 answers
131
131 views
RUPALI_SHAHAPURE asked Sep 26, 2024
131 views
Consider the following programs. Assume that execv does not encounter any error during execution.#include <stdio.h>#include <unistd.h>int main(void) { int x = getpid()...
0 0 votes
0 0 answers
154
154 views
RUPALI_SHAHAPURE asked Sep 26, 2024
154 views
1. Consider the following program.#include <stdio.h>#include <stdlib.h>typedef struct { int x;} global_t;global_t *g;int main(void) { g = (global_t*)malloc(sizeof(g...