A set of processors P1, P2, ......, Pk can execute in parallel if Bernstein's conditions are satisfied on a pair wise basis; that is 

P1 || P2 || P3 || ..... || Pk if and only if:

(A) Pi || Pj for all i ≠ j

(B) Pi || Pj for all i = j+1

(C) Pi || Pj for all i ≤ j

(D) Pi || Pj for all i ≥ j

1 Answer

Answer :

(A) Pi || Pj for all i ≠ j


Explanation:
Bernstein’s Condition:
1. If process Pi writes to a memory cell Mi, then no process Pj can read the cell Mi.
2. If process Pi read from a memory cell Mi, then no process Pj can write to the cell Mi.
3. If process Pi writes to a memory cell Mi, then no process Pj can write to the cell Mi.

Related questions

Description : There are three processes P1, P2 and P3 sharing a semaphore for synchronising a variable. Initial value of semaphore is one. Assume that negative value of semaphore tells us how many processes are waiting in queue. Processes access ... The final value of semaphore will be: (1) 0 (2) 1 (3) -1 (4) -2 

Last Answer : Answer: 1

Description : The grammar with production rules S → aSb |SS|λ generates language L given by: (A) L = {w∈{a, b}* | na(w) = nb(w) and na(v) ≥ nb(v) where v is any prefix of w} (B) L = {w∈{a, b}* | na(w) = nb(w) and na(v ... (D) L = {w∈{a, b}* | na(w) ≠ nb(w) and na(v) ≤ nb(v) where v is any prefix of w}

Last Answer : (A) L = {w∈{a, b}* | na(w) = nb(w) and na(v) ≥ nb(v) where v is any prefix of w} 

Description : Consider the fractional knapsack instance n = 4, (p1, p2, p3, p4) = (10, 10, 12, 18), (w1, w2, w3, w4) = (2, 4, 6, 9) and M = 15. The maximum profit is given by (Assume p and w denotes profit and weight of objects respectively) (A) 40 (B) 38 (C) 32 (D) 30

Last Answer : (B) 38

Description : Consider a system with twelve magnetic tape drives and three processes P1, P2 and P3. Process P1 requires maximum ten tape drives, process P2 may need as many as four tape drives and P3 may need upto nine ... , system is in: (A) safe state (B) unsafe state (C) deadlocked state (D) starvation state

Last Answer : Answer: B

Description : Suppose there are four processes in execution with 12 instances of a Resource R in a system. The maximum need of each process and current allocation are given below: With reference to current allocation, is system safe? If so, ... B) Yes, P1 P2 P3 P4 (C) Yes, P4 P3 P1 P2 (D) Yes, P2 P1 P3 P4

Last Answer : (C) Yes, P4 P3 P1 P2

Description : Consider three CPU intensive processes P1, P2, P3 which require 20, 10 and 30 units of time, arrive at times 1, 3 and 7 respectively. Suppose operating system is implementing Shortest Remaining Time first (preemptive scheduling) ... end of Ready queue are not counted). (A) 3 (B) 2 (C) 4 (D) 5

Last Answer : (A) 3

Description : Consider a system having ‘m’ resources of the same type. These resources are shared by three processes P1, P2 and P3 which have peak demands of 2, 5 and 7 resources respectively. For what value of ‘m’ deadlock will not occur? (A) 70 (B) 14 (C) 13 (D) 7

Last Answer : (B) 14

Description : The unit vector to the points p1(0,1,0), p2(1,0,1), p3(0,0,1) is a) (-j – k)/1.414 b) (-i – k)/1.414 c) (-i – j)/1.414 d) (-i – j – k)/1.414

Last Answer : a) (-j – k)/1.414

Description : Find a vector normal to a plane consisting of points p1(0,1,0), p2(1,0,1) and p3(0,0,1) a) –j – k b) –i – j c) –i – k d) –i – j – k

Last Answer : a) –j – k

Description : The total power in both series and parallel circuits is computed with the formula: PT = P1 + P2 + P3 +...Pn. Why can this formula be used for both series and parallel circuits?

Last Answer : In both cases all the power used in the circuit must come from the source.

Description : Let Pi and Pj be two processes, R be the set of variables read from memory, and W be the set of variables written to memory. For the concurrent execution of two processes Pi and Pj, which of the following conditions is not true? (A) R(Pi)∩W(Pj)=Φ (B) W(Pi)∩R(Pj)=Φ (C) R(Pi)∩R(Pj)=Φ (D) W(Pi)∩W(Pj)=Φ

Last Answer : (C) R(Pi)∩R(Pj)=Φ 

Description : The molecular formula of phosphorus is (a) P1 (b) P2 (c) P3 (d) P4

Last Answer : Ans:(d)

Description : According to the American Society of Anesthesiology Physical Status Classification System, a patient with severe systemic disease that is not incapacitating is noted to have physical status ... normal healthy patient d) P2 Classification P2 reflects a patient with mild systemic disease

Last Answer : a) P3 Classification P3 patients are those who have compensated heart failure, cirrhosis, or poorly controlled diabetes, for example.

Description : What steps shall be required to rotate an object about the point P1 (as shown in fig.1) and its placement such that what was at P1 is now reduced and is at P2 (as shown in fig.2). I. Translate P1 to origin II. ... (A) I,II and III (B) II,III and IV (C) I,III and IV (D) All of the above

Last Answer : Answer: Marks given to all

Description : Consider an undirected graph G where self-loops are not allowed. The vertex set of G is {(i, j) | 1 ≤ i ≤ 12, 1 ≤ j ≤ 12}. There is an edge between (a, b) and (c, d) if |a – c| ≤ 1 or |b–d| ≤ 1. The number of edges in this graph is (A) 726 (B) 796 (C) 506 (D) 616

Last Answer : (D) 616

Description : Find the tangent vector of line having end points P1(3,5,8) and P2 (6,4,3) a.3i+j-5k b.3i-j-5k c.3i-j+5k d.-3i-j-5k

Last Answer : b.3i-j-5k

Description : There are 1.36 kg of gas, for which R = 377 J/kg.k and k = 1.25, that undergo a nonflow constant volume process from p1 = 551.6 kPa and t1 = 60°C to p2 = 1655 kPa. During the process the gas is internally stirred and ... (Formula: T2= T1p2/ p1)  a. 999 K  b. 888 K  c. 456 K  d. One of the above

Last Answer : 999 K

Description : Two lines are parallel when a.P1 X P2=0 b.P1 . P2=0 c.P1 = P2 d.P1+ P2=0

Last Answer : a.P1 X P2=0

Description : A short column (30 cm 20 cm) carries a load P1 at 4 cm on one side and another load P2at 8 cm on  the other side along a principal section parallel to longer dimension. If the extreme intensity on  either side is same, the ... to P2 will be  (A) 2/3  (B) 3/2  (C) 8/5  (D) 5/8 

Last Answer : (C) 8/5 

Description : Phosphorus vapour comprises of (A) P (B) P2 (C) P3 (D) P4

Last Answer : (D) P4

Description : Naphthenic acid is represented by (A) CnH2n+2O2 (B) CnH2n-2O2 (C) CnH2n+2O2 (n ≥ 6) (D) CnH2n+6O2 (n ≤ 6)

Last Answer : (B) CnH2n-2O2

Description : . Which of the following relationships between co-efficient of friction (μ) between rock & roll and a (half of the angle of nip) of the particle to be crushed is correct? (A) μ > tan α (B) μ ≥ tan α (C) μ > tan 2α (D) μ ≤ tan α

Last Answer : (B) μ ≥ tan α

Description : I. 63x^2 – 275x + 300 = 0 II. 18y^2 – 85y + 100 = 0 1 : if x ≥ y 2 : if x ≤ y 3 : if x > y 4 : if x < y 5 : if x = y or relationship cannot be established

Last Answer : 2 : if x ≤ y

Description : I. 20x^2 – 119x + 176 = 0 II. 18y^2 – 123y + 209 = 0 1 : if x ≥ y 2 : if x ≤ y 3 : if x > y 4 : if x < y 5 : if x = y or relationship cannot be established

Last Answer : 5 : if x = y or relationship cannot be  established

Description : I. 3x^2 – 47x + 184 = 0 II. 3y^2 – 38y + 119 = 0 1 : if x ≥ y 2 : if x ≤ y 3 : if x > y 4 : if x < y 5 : if x = y or relationship cannot be established

Last Answer : 3 : if x > y

Description : I. 56x^2 – 127x + 72 = 0 II. 6y^2 – 17y + 12 = 0 1 : if x ≥ y 2 : if x ≤ y 3 : if x > y 4 : if x < y 5 : if x = y or relationship cannot be established

Last Answer : 4 : if x < y

Description : I. 6x^2 – 71x + 195 = 0 II. 12y^2 – 97y + 195 = 0 1 : if x ≥ y 2 : if x ≤ y 3 : if x > y 4 : if x < y 5 : if x = y or relationship cannot be established

Last Answer : 1 : if x ≥ y

Description : I. 32a^2 + 52a + 15 = 0 II. 8b^2 + 38b + 35 = 0 1 : if a > b 2 : if a < b 3 : if a ≥ b 4 : if a ≤ b 5 : if a = b or the relation between a and b cannot be established.

Last Answer : 3 : if a ≥ b

Description : I. 12a^2 − a − 6 = 0 II. 8b^2 − 26b + 15 = 0 1 : if a > b 2 : if a < b 3 : if a ≥ b 4 : if a ≤ b 5 : if a = b or the relation between a and b cannot be established.

Last Answer : 4 : if a ≤ b

Description : I. 28a^2 + 25a − 8 = 0 II. 5b^2 − 13b − 6 = 0 1 : if a > b 2 : if a < b 3 : if a ≥ b 4 : if a ≤ b 5 : if a = b or the relation between a and b cannot be established.

Last Answer : 5 : if a = b or the relation between a and b cannot be established.  

Description : I. 2a^2 − 11a + 12 = 0 II. 35b^2 − 18b − 8 = 0 1 : if a > b 2 : if a < b 3 : if a ≥ b 4 : if a ≤ b 5 : if a = b or the relation between a and b cannot be established.

Last Answer : 1 : if a > b

Description : I. 20a^2 + 51a + 28 = 0 II. 15b^2 − 61b + 56 = 0 1 : if a > b 2 : if a < b 3 : if a ≥ b 4 : if a ≤ b 5 : if a = b or the relation between a and b cannot be established.

Last Answer : 2 : if a < b

Description : Consider a Hamiltonian Graph (G) with no loops and parallel edges. Which of the following is true with respect to this Graph (G) ? (a) deg(v) ≥ n/2 for each vertex of G (b) |E(G)| ≥ 1/2 (n-1)(n-2)+2 edges (c) deg(v) + deg( ... edge (A) (a) and (b) (B) (b) and (c) (C) (a) and (c) (D) (a), (b) and (c)

Last Answer : (D) (a), (b) and (c)

Description : A computer program selects an integer in the set {k : 1 ≤ k ≤ 10,00,000} at random and prints out the result. This process is repeated 1 million times. What is the probability that the value k = 1 appears in the printout atleast once ? (A) 0.5 (B) 0.704 (C) 0.632121 (D) 0.68

Last Answer : (C) 0.632121

Description : Let A and B be sets in a finite universal set U. Given the following: |A - B|, |AÅB|, |A|+|B| and |AÈB| Which of the following is in order of increasing size ? (A) |A - B| ≤ |AÅB| ≤ |A| + |B| ≤ |AÈB| (B) |AÅB| ≤ |A ... |AÅB| ≤ |A| + |B| ≤ |A - B| ≤ |AÈB| (D) |A - B| ≤ |AÅB| ≤ |AÈB| ≤ |A| + |B|

Last Answer : (D) |A – B| ≤ |AÅB| ≤ |AÈB| ≤ |A| + |B|

Description : A fuzzy set A on R is ................. iff A(λx1 + (1 – λ)x2) ≥ min [A(x1), A(x2)] for all x1, x2 ∈ R and all λ ∈ [0, 1], where min denotes the minimum operator. (A) Support (B) α-cut (C) Convex (D) Concave 

Last Answer : (C) Convex 

Description : Two lines L1 and L2 having Parametric equations are P1=[3 4 7]+u[2 2 -6] and P2=[15 -2]+u[1 4 2]. Tangent vector for line L1 a.2i+2j-6k b.2i+2j+6k c.2i-2j-6k d.6-2j-2k

Last Answer : a.2i+2j-6k

Description : Find coordinates of points on line having end points P1(3,5,8) and P2 (6,4,3) at u=0.25 a.[3.75 4.25 6.25] b.[3.25 4.25 6.25] c.[3.75 4.75 6.75] d.[4.25 3.75 6.25]

Last Answer : c.[3.75 4.75 6.75]

Description : Write parametric equation of line having end points P1(3,5,8) and P2 (6,4,3). a.[3 5 8]+u[3 -1 -5] b.[3 5 8]+u[3 1 5] c.[3 8 5]+u[3 -1 -5] d.[3 5 8]+u[-3 1 5]

Last Answer : a.[3 5 8]+u[3 -1 -5]

Description : In a 2-D CAD package, clockwise circular arc of radius, 5, specified from P1 (15,10)to P2 (10,15)will have its center at a.(10, 10) b.(15, 10) c.(15, 15) d.(10, 15)

Last Answer : a.(10, 10)

Description : Q No: 251 In a sludge digestion tank if the moisture content of sludge V1 litres is reduced from p1 % to p2 % the volume V2 is A. [(100 + P1)/(100 – P2)] V1 B. [(100 – P1)/(100 + P2)] V1 C. [(100 – P1)/(100 – P2)] V1 D. [(100 + P2)/(100 – P1)] V1

Last Answer : ANS: C

Description : A signal is measured at two different points. The power is P1 at the first point and P2 at the second point. The dB is 0. This means________. A) P2 is zero B) P2 equals P1 C) P2 is much larger than P1 D) P2 is much smaller than P1

Last Answer : P2 equals P1

Description : Find out the price elasticity in the following example : Price Demand 5(P1) 10(Q1) 4(P2) 15(Q2) (a) – 2.5 (b) + 3.5 (c) + 4.0 (d) + 2.5

Last Answer : (a) – 2.5

Description : If f1 and f2 are the distances from the optical centre of a convex lens of focal length to conjugate two points P1 and P2 respectively, the following relationship holds good (A) f = f1 + f2 (B) f = ½ (f1 + f2) (C) 1/f = 1/f1 + 1/f2 (D) None of these

Last Answer : (C) 1/f = 1/f1 + 1/f2

Description : The expression for entropy change given by, ΔS = - nR ln (P2/P1), holds good for (A) Expansion of a real gas (B) Reversible isothermal volume change (C) Heating of an ideal gas (D) Cooling of a real gas

Last Answer : (B) Reversible isothermal volume change

Description : The expression, ∆G = nRT. ln(P2/P1), gives the free energy change (A) With pressure changes at constant temperature (B) Under reversible isothermal volume change (C) During heating of an ideal gas (D) During cooling of an ideal gas

Last Answer : (A) With pressure changes at constant temperature

Description : The expression, nRT ln(P1/P2), is for the __________of an ideal gas. (A) Compressibility (B) Work done under adiabatic condition (C) Work done under isothermal condition (D) Co-efficient of thermal expansion

Last Answer : C) Work done under isothermal condition

Description : To obtain integrated form of Clausius-Clapeyron equation, ln (P2/P1) = (∆HV/R) (1/T1- 1/T2) from the exact Clapeyron equation, it is assumed that the (A) Volume of the liquid phase is negligible compared to ... gas (C) Heat of vaporisation is independent of temperature (D) All (A), (B) & (C)

Last Answer : (D) All (A), (B) & (C)

Description : A two stage compressor is used to compress an ideal gas. The gas is cooled to the initial temperature after each stage. The intermediate pressure for the minimum total work requirement should be equal to ... final pressures respectively) (A) Logarithmic (B) Arithmetic (C) Geometric (D) Harmonic

Last Answer : (C) Geometric

Description : What horse power is required to isothermally compress 800 ft^3 of Air per minute from 14.7 psia to 120 psia?  A. 28 hp  B.108 hp  C.256 hp  D.13900 hp Formula: W= p1V1 ln (p1/p2) Power = dW / dt

Last Answer : 108 hp