Aspire Faculty ID #18618 · Topic: UGC NET Computer Science Dec 2022 Shift II (Paper II) · Just now
UGC NET Computer Science Dec 2022 Shift II (Paper II)

For the following set of processes scheduled using FCFS policy, determine the average waiting time. Assume that the processes arrived in the order P1, P2, P3, P4.
 ProcessBurst Time 
 P18 
P2 15 
P3 10 
P4 4 
 

Solution

In FCFS scheduling, processes execute in the same order in which they arrive.

Order is:

$P1 \to P2 \to P3 \to P4$

Waiting time of $P1$:

$0$

Waiting time of $P2$:

$8$

Waiting time of $P3$:

$8+15=23$

Waiting time of $P4$:

$8+15+10=33$

Total waiting time:

$0+8+23+33=64$

Average waiting time:

$\frac{64}{4}=16$

Previous 10 Questions — UGC NET Computer Science Dec 2022 Shift II (Paper II)

Nearest first
1
Consider an operating system capable of loading and executing a single sequential user process at a time. The disk head…
Topic: UGC NET Computer Science Dec 2022 Shift II (Paper II)
2
The main function of the microkernel is to provide a communication facility between the __________ program and the vari…
Topic: UGC NET Computer Science Dec 2022 Shift II (Paper II)
3
In Linux Operating System, when __________ is invoked, it is passed a set of flags that determine how much sharing is t…
Topic: UGC NET Computer Science Dec 2022 Shift II (Paper II)
4
Which of the following statements is correct, according to the following instance of the relational schema R(X, Y, Z)?&…
Topic: UGC NET Computer Science Dec 2022 Shift II (Paper II)
5
Consider the two relations below. The primary keys are underlined. Identify all possible foreign key(s) from the option…
Topic: UGC NET Computer Science Dec 2022 Shift II (Paper II)
6
Identify the incorrect statement(s).
Topic: UGC NET Computer Science Dec 2022 Shift II (Paper II)
7
Overfitting is expected when we observe that?
Topic: UGC NET Computer Science Dec 2022 Shift II (Paper II)
8
Which one of the following allows the session to continue?
Topic: UGC NET Computer Science Dec 2022 Shift II (Paper II)
9
If a constructor 'Date' is declared explicitly and has to be defined outside the class, which of the following is corre…
Topic: UGC NET Computer Science Dec 2022 Shift II (Paper II)
10
Which of the following is wrong about the data types?
Topic: UGC NET Computer Science Dec 2022 Shift II (Paper II)

Next 10 Questions — UGC NET Computer Science Dec 2022 Shift II (Paper II)

Ascending by ID
1
Which of the following is not a Non-functional requirement?
Topic: UGC NET Computer Science Dec 2022 Shift II (Paper II)
2
Topic: Software Engineering → Software Cost Estimation COCOMO stands for-
Topic: UGC NET Computer Science Dec 2022 Shift II (Paper II)
3
Modifying the software to match changes in the ever-changing environment is called as
Topic: UGC NET Computer Science Dec 2022 Shift II (Paper II)
4
For a function of two variables, boundary value analysis yields,
Topic: UGC NET Computer Science Dec 2022 Shift II (Paper II)
5
How many different binary trees are possible with $n$ nodes?
Topic: UGC NET Computer Science Dec 2022 Shift II (Paper II)
6
Let $n$ denote a positive integer. Suppose a function $F$ is defined as $f(n)= \begin{cases} 0, & n=1 \ f\left(\lef…
Topic: UGC NET Computer Science Dec 2022 Shift II (Paper II)
7
Given the FFT we can have ______ time procedure for multiplying two polynomials $A(x)$ and $B(x)$ of degree bound $n$ w…
Topic: UGC NET Computer Science Dec 2022 Shift II (Paper II)
8
Consider the Graph below: How many spanning trees can be found? 
Topic: UGC NET Computer Science Dec 2022 Shift II (Paper II)
9
The transition function $\delta$ in multi-tape Turing machine is defined as:
Topic: UGC NET Computer Science Dec 2022 Shift II (Paper II)
10
In Pumping Lemma for regular languages, to say a language is satisfying pumping lemma, what is the minimum length of $y…
Topic: UGC NET Computer Science Dec 2022 Shift II (Paper II)
Ask Your Question or Put Your Review.

loading...