Aspire Faculty ID #19084 · Topic: UGC NET Computer Science Dec 2019 (Paper II) · Just now
UGC NET Computer Science Dec 2019 (Paper II)

Identify the circumstances under which pre-emptive CPU scheduling is used:

(a) A process switches from Running state to Ready state
(b) A process switches from Waiting state to Ready state
(c) A process completes its execution
(d) A process switches from Ready to Waiting state

Solution

Pre-emptive scheduling is used when the currently running process can be interrupted and CPU can be given to another process.

Statement (a) is correct because when a process moves from Running to Ready state, CPU is taken away from it.

Statement (b) is also correct because when a process moves from Waiting to Ready state, it may have higher priority and may preempt the current process.

Statement (c) is not preemption because the process completes naturally.

Statement (d) is not a valid normal transition for preemption.

So, correct statements are:

(a) and (b)

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

Nearest first
1
Two concurrent executing transactions $T_1$ and $T_2$ are allowed to update same stock item say $A$ in an uncontrolled …
Topic: UGC NET Computer Science Dec 2019 (Paper II)
2
Which of the following are legal statements in C programming language? (a) int *P = &44; (b) int *P = &r; (c) i…
Topic: UGC NET Computer Science Dec 2019 (Paper II)
3
Which of the following statements are true regarding C++? (a) Overloading gives the capability to an existing operator …
Topic: UGC NET Computer Science Dec 2019 (Paper II)
4
Consider the following statements with respect to approaches to fill areas on raster systems:P: To determine the overla…
Topic: UGC NET Computer Science Dec 2019 (Paper II)
5
Which of the following binary codes for decimal digits are self complementing? (a) $8421$ code (b) $2421$ code (c) exce…
Topic: UGC NET Computer Science Dec 2019 (Paper II)
6
The Reduced Instruction Set Computer $($RISC$)$ characteristics are:(a) Single cycle instruction execution (b) Variable…
Topic: UGC NET Computer Science Dec 2019 (Paper II)
7
Consider the following statements with respect to duality in LPP: (a) The final simplex table giving optimal solution o…
Topic: UGC NET Computer Science Dec 2019 (Paper II)
8
Consider the following statements: $S_1:$ If a group $(G,*)$ is of order $n$, and $a\in G$ is such that $a^m=e$ for som…
Topic: UGC NET Computer Science Dec 2019 (Paper II)
9
. Let the population of chromosomes in genetic algorithm is represented in terms of binary number. The strength of fitn…
Topic: UGC NET Computer Science Dec 2019 (Paper II)
10
The order of schema $?10?101?$ and $???0??1$ are $...............$ and $...............$ respectively.
Topic: UGC NET Computer Science Dec 2019 (Paper II)

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

Ascending by ID
1
The following multithreaded algorithm computes transpose of a matrix in parallel:$p\ Trans(X,Y,N)$if $N=1$then $Y[1,1]\…
Topic: UGC NET Computer Science Dec 2019 (Paper II)
2
Consider the following statements: (a) The running time of dynamic programming algorithm is always $\theta(\rho)$ where…
Topic: UGC NET Computer Science Dec 2019 (Paper II)
3
Consider the following statements: (a) Fiber optic cable is much lighter than copper cable. (b) Fiber optic cable is no…
Topic: UGC NET Computer Science Dec 2019 (Paper II)
4
Consider the following statements: (a) Windows Azure is a cloud-based operating system. (b) Google App Engine is an int…
Topic: UGC NET Computer Science Dec 2019 (Paper II)
5
Consider the following statements with respect to network security:(a) Message confidentiality means that the sender an…
Topic: UGC NET Computer Science Dec 2019 (Paper II)
6
Consider the following:(a) Trapping at local maxima(b) Reaching a plateau(c) Traversal along the ridge. Which of the…
Topic: UGC NET Computer Science Dec 2019 (Paper II)
7
Consider the following learning algorithms:(a) Logistic regression (b) Back propagation (c) Linear regression Which of…
Topic: UGC NET Computer Science Dec 2019 (Paper II)
8
Match List-I and List-II: List-I Layer List-II Description (a) …
Topic: UGC NET Computer Science Dec 2019 (Paper II)
9
According to the ISO-9126 Standard Quality Model, match the attributes given in List-I with their definitions in List-I…
Topic: UGC NET Computer Science Dec 2019 (Paper II)
10
Match the Agile Process models with the task performed during the model: List-I Agile Process Mode…
Topic: UGC NET Computer Science Dec 2019 (Paper II)
Ask Your Question or Put Your Review.

loading...