Which of the following conditions does not hold good for a solution to a critical section problem ? (A) No assumptions may be made about speeds or the number of CPUs. (B) No two processes may be simultaneously inside their critical sections. (C) Processes running outside its critical section may block other processes. (D) Processes do not wait forever to enter its critical section.

1 Answer

Answer :

(C) Processes running outside its critical section may block other processes. 

Related questions

Description : The following conditions of policy must be present for a deadlock to be possible. i) Mutual exclusion ii) Hold and wait iii) No preemption iv) Circular wait A) i, ii and iii only B) ii, iii and iv only C) i, iii and iv only D) All i, ii, iii and iv

Last Answer : D) All i, ii, iii and iv

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 : Match the following. i) Mutual exclusion a) A process may hold allocated resources while waiting assignment. ii) Hold and wait b) No resource can be forcibly removed from a process holding it. iii) No preemption c) Only one process may use ... , ii-c, iii-b C) i-b, ii-c, iii-a D) i-c, ii-a, iii-b

Last Answer : D) i-c, ii-a, iii-b

Description : A Multicomputer with 256 CPUs is organized as 16x16 grid. What is the worst case delay (in hops) that a message might have to take? (A) 16 (B) 15 (C) 32 (D) 30

Last Answer : (D) 30

Description : With ................ only one process can execute at a time; meanwhile all other process are waiting for the processer. With .............. more ... . A) Multiprocessing, Multiprogramming B) Multiprogramming, Uniprocessing C) Multiprogramming, Multiprocessing D) Uniprogramming, Multiprocessing

Last Answer : C) Multiprogramming, Multiprocessing

Description : Consider the following justifications for commonly using the two-level CPU scheduling : I. It is used when memory is too small to hold all the ready processes. II. Because its performance is same as that of the FIFO. III. Because it ... ? (A) I, III and IV (B) I and II (C) III and IV (D) I and III

Last Answer : (D) I and III

Description : A direct method of deadlock prevention is to prevent the occurrence of ………….. A) Mutual exclusion B) Hold and wait C) Circular waits D) No preemption

Last Answer : C) Circular waits

Description : A direct method of deadlock prevention is to prevent the occurrences of ................... A) Mutual exclusion B) Hold and wait C) Circular waits D) No preemption

Last Answer : C) Circular waits

Description : When a train is rounding a curve to prevent side thrust on the wheel flanges of cars a.Opposite thrust is created to counter balance this thrust b.Guide rail sections are provided to take care of ... are provided in the train d.Outside rails are realised e.Rail section is made thick on curvature

Last Answer : d. Outside rails are realised

Description : The processes of ............ and .........go on simultaneously and generally there is a balance between the two ? (a) Denudation and erosion (b) Soil formation and erosion (c) Soil formation and denudation (d) Climatic conditions and soil erosion

Last Answer : (b) Soil formation and erosion

Description : Two, trains, one from Howrah to Patna and the other from Patna to Howrah, start simultaneously. After they meet, the trains reach their destinations after 9 hours and 16 hours respectively. The ratio of their speeds is: A. 1: 2 B. 4 : 3 C. 7 : 8 D. 3 : 4 E. none of these

Last Answer : Answer- B (4:3) Explanation: Let us name the trains as A and B. Then, trick formula (A’s speed) : (B’s speed) = square root of b : square-root of a =square-root of 16 : square-root of 9 = 4 : 3.

Description : In which section only one process is allowed to access the shared variable and all other have to wait. a. Critical section b. Racing section Cc. Entry section d. Remainder section

Last Answer : . Critical section

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 section of a reinforced beam where most distant concrete fibre in compression and tension in steel attains permissible stresses simultaneously, is called (A) Balanced section B) Economic section (C) Critical section (D) All the above

Last Answer : Answer: Option D

Description : In a beam section, if the steel reinforcement is of such a magnitude that the permissible stresses in concrete and steel are developed simultaneously, the section is. (a) Balanced section (b) Economical section (c) Critical section (d) All the above

Last Answer : (d) All the above

Description : The section of a reinforced beam where most distant concrete fiber in compression and tension in steel attains permissible stresses simultaneously is called (i)Balanced section (ii)Economic section (iii)Critical section [ A ] i [ B ] i and ii [ C ] i and iii [ D ] i, ii and iii

Last Answer : [ D ] i, ii and iii

Description : You are standing in front of a room with one lightbulb inside of it. You cannot see if it is on or off. Outside the room, there are 3 switches in the off positions. You may turn the ... to. You stop turning the switches, enter the room and know which switch controls the lightbulb. How? -Riddles

Last Answer : You turn 2 switches 'on' and leave 1 switch 'off' and wait about a minute. Then enter the room, but just before you enter, turn one switch from 'on' to 'off'. Once in the room, feel the lightbulb - ... switch left on. If it is cold and is off, it has to be the switch you left in the off position.

Description : Which of the listed sections of an emergency switchboard is used to supply power for alarm signals under emergency conditions? A. The generator and bus transfer section B. The 450 volt, 60 cycle, 3 phase bus C. The 120 volt, 3 phase, 60 cycle bus D. The 24 volt DC bus

Last Answer : Answer: D

Description : Kilowatt load is divided between two AC generators operating in parallel by _____________. A. adjusting the governor controls B. varying the excitation voltage C. increasing both prime mover speeds simultaneously D. decreasing both prime mover speeds simultaneously

Last Answer : Answer: A

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 : Which of the following statements is not true for Multi Level Feedback Queue processor scheduling algorithm? (A) Queues have different priorities. (B) Each queue may have different scheduling algorithm (C) ... to a queue (D) This algorithm can be configured to match a specific system under design

Last Answer : (C) Processes are permanently assigned to a queue

Description : Which of the following provides the best description of an entity type? (A) A specific concrete object with a defined set of processes (e.g. Jatin with diabetes) (B) A value given to a ... template for a group of things with the same set of characteristics that may exist in the real world

Last Answer : Answer: D

Description : Which of these assumptions is not associated with strategies for goods-producing location decisions? a. most major costs can be identified dentified explicitly explicitly for each site b. focus on ... intangible costs can be evaluated e. location location is a major determinant determinant of cost

Last Answer : c. high customer contact issues are critical

Description : State true of false. i) We cannot make the function inline by defining a function outside the class. ii) A member function can be called by using its name inside another member function of the same class, this ... of member function. A) True, True B) True, False C) False, True D) False, False

Last Answer : C) False, True

Description : The slot leakage can be calculated by making which of the following assumptions ? (a) The current in the slot conductors is uniformly distributed over their cross-section (b) The leakage path is straight ... is only considered. The reluctance of iron paths is assumed as zero (d) All of the above

Last Answer : (d) All of the above

Description : Constantly running system program processes are known as (1) Daemons (2) Processes (3) Process Block (4) Process Control Block

Last Answer : Daemons

Description : If the primal Linear Programming problem has unbounded solution, then it’s dual problem will have (A) feasible solution (B) alternative solution (C) no feasible solution at all (D) no bounded solution at all 

Last Answer : (C) no feasible solution at all

Description : Translation Look-aside Buffer(TLB) is (A) a cache-memory in which item to be searched is compared one-by-one with the keys. (B) a cache-memory in which item to be searched is compared with ... keys. (D) an associative memory in which item to be searched is compared with all the keys simultaneously.

Last Answer : (D) an associative memory in which item to be searched is compared with all the keys simultaneously.

Description : A specific editor has 200 K of program text, 15 K of initial stack, 50 K of initialized data, and 70 K of bootstrap code. If five editors are started simultaneously, how much physical memory is needed if shared text is used ? (A) 1135 K (B) 335 K (C) 1065 K (D) 320 K

Last Answer : (B) 335 K

Description : In the NPN transistor, what section is made very thin compared with the other two sections?

Last Answer : The P or base section.

Description : Water vapour comes out from the plant leaf through the stomatal opening. Through the same stomatal opening carbon dioxide diffuses into the plant during photosynthesis. Reason out the above ... Both processes can happen together because the diffusion coefficient of water and CO2 is different

Last Answer : (d) Both processes can happen together because the diffusion coefficient of water and CO2 is different

Description : Two trains running in opposite directions cross a man standing on the platform in 27 seconds and 17 seconds respectively and  they cross each other in 23 seconds. The ratio of their speeds is: A.1 : 3 B.3 : 4 C.3 : 2 D.Data inadequate E.None of these

Last Answer : Answer - C (3 : 2) Explanation - Let the speeds of the two trains be x m/sec and y m/sec respectively. Then, length of the first train = 27x metres, and length of the second train = 17y metres. relative speed = total ... 23x + 23y = 27x + 17 y 27x-23x= 23 y-17y 4x=6y x/y=6/4=3/2= 3:2

Description : _________ is a data area shared by hardware devices or program processes that operate at different speeds or with different sets of priorities. A. Flash memory B. Virtual memory C. Buffer D. None of the Above

Last Answer : C. Buffer

Description : I sit here collecting dust, I can wait forever to open me and you will not be disappointed, I can make you laugh, cry, and sad, I contain all the knowledge of the world, let me take you to a far away land. What am I? -Riddles

Last Answer : A book.

Description : A basic feasible solution to a m-origin, n-destination transportation problem is said to be ................... if the number of positive allocations are less than m + n – 1. (A) degenerate (B) non-degenerate (C) unbounded (D) unbalanced 

Last Answer : (A) degenerate

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 a system with seven processes A through G and six resources R through W. Resource ownership is as follows: process A holds R and wants T process B holds nothing but wants T process C holds nothing but wants S process D holds U ... No (B) Yes, A, B, C (C) Yes, D, E, G (D) Yes, A, B, F

Last Answer : (C) Yes, D, E, G

Description : State true of false. i) Public can only be assigned to class ii) Protected protects a statement iii) Protected method is never accessible outside the package iv) Friendly variable may be accessible outside class A) i- ... -false, ii-true, iii-false, iv-false D) i-true, ii-false, iii-false, iv-true

Last Answer : C) i-false, ii-true, iii-false, iv-false

Description : .............. refers to a situation in which a process is ready to execute but is continuously denied access to a processor in deference to other processes. A) Synchronization B) Mutual Exclusion C) Dead lock D) Starvation

Last Answer : D) Starvation

Description : 49. A feasible solution to an LP problem a. Must satisfy all of the problem’s constraints simultaneously b. Need not satisfy all of the constraints, only some of them c. Must be a corner point of the feasible solution d. Must optimize the value of the objective function

Last Answer : a. Must satisfy all of the problem’s constraints simultaneously

Description : In UNIX, processes that have finished execution but have not yet had their status collected are known as ................ (A) Sleeping processes (B) Stopped Processes (C) Zombie Processes (D) Orphan Processes

Last Answer : (C) Zombie Processes 

Description : If the depth of actual neutral axis of a doubly reinforced beam (A) Is greater than the depth of critical neutral axis, the concrete attains its maximum stress earlier (B) Is less ... critical neutral axis; the concrete and steel attain their maximum stresses simultaneously (D) All the above

Last Answer : Answer: Option D

Description : While assessing your project processes, you have identified some  uncontrolled process variations. Which of the following would be the  appropriate chart you may use for this purpose? Select one: a. Pareto diagram b. PERT chart c. Control chart d. HR personnel chart e. Critical path

Last Answer : c. Control chart

Description : In snapshot, …………………. clause tells oracle how long to wait between refreshes. A) Complete B) Force C) Next D) Refresh

Last Answer : D) Refresh

Description : ………. Involves treating main memory as a resource to be allocated to and shared among a number of active processes. A) Partition management B) Memory management C) Disk management D) All of the above

Last Answer : B) Memory management

Description : Which of the following is not valid with reference to Message Passing Interface (MPI)? (A) MPI can run on any hardware platform (B) The programming model is a distributed memory model. (C) All ... implicit. (D) MPI - Comm - Size returns the total number of MPI processes in specified communication.

Last Answer : (C) All parallelism is implicit.