Sail E0 Webinar

Computer Aptitude

OPERATING SYSTEM MCQs

Total Questions : 814 | Page 4 of 82 pages
Question 31. A solution to the Dining Philosophers Problem which avoids deadlock is
  1.    ensure that all philosophers pick up the left fork before the right fork.
  2.    ensure that all philosophers pick up the right fork before the left fork.
  3.    ensure that one particular philosopher picks up the left fork before the right fork, and all other philosophers pick up the right fork before the left fork.
  4.    none of the above
 Discuss Question
Answer: Option C. -> ensure that one particular philosopher picks up the left fork before the right fork, and all other philosophers pick up the right fork before the left fork.
Answer: (c)
Question 32. In two level scheme for page table, if one assume byte-level addressing and 4-kbyte (2 12 pages) then the 4-Gbyte (2 32) virtual address space is composed of
  1.    2 10 pages
  2.    2 20 pages
  3.    2 30 pages
  4.    2 40 pages
 Discuss Question
Answer: Option B. -> 2 20 pages
Answer: (b)
Question 33. A situation where two or more processes coordinate their activities based on a condition is referred as
  1.    Synchronization
  2.    Dead lock
  3.    Starvation
  4.    Par begin
 Discuss Question
Answer: Option A. -> Synchronization
Answer: (a)
Question 34. In memory management when demand cleaning policy is applied
  1.    A modified page is written before their page frames are needed to so that pages can be written out in batches.
  2.    A page is written out to secondary memory only when it has been selected for replacement.
  3.    A and B both true.
  4.    None of these.
 Discuss Question
Answer: Option B. -> A page is written out to secondary memory only when it has been selected for replacement.
Answer: (b)
Question 35. User-visible register
  1.    Enables machine language programmer to minimize main memory reference by optimizing register use.
  2.    Enables assembly language programmer to minimize main memory reference by optimizing register use.
  3.    A and B both true.
  4.    A and B both false.
 Discuss Question
Answer: Option C. -> A and B both true.
Answer: (c)
Question 36. Which is the correct definition of a valid process transition in an operating system?
  1.    Wake up: ready ? running
  2.    Dispatch: ready? running
  3.    Block: ready ? running
  4.    Timer runout : ready ? blocked
 Discuss Question
Answer: Option B. -> Dispatch: ready? running
Answer: (b)
Question 37. The deterministic operating system
  1.    Where operations are performed with in pre-determined time interval.
  2.    Where operations can be performed with out pre-determined time interval.
  3.    The operating time can not be determined.
  4.    None of these.
 Discuss Question
Answer: Option A. -> Where operations are performed with in pre-determined time interval.
Answer: (a)
Question 38. A policy in memory management referred as clock policy because one can visualize the page frames as laid out in
  1.    Straight line
  2.    Rectangle
  3.    Circle
  4.    Square
 Discuss Question
Answer: Option C. -> Circle
Answer: (c)
Question 39. A set or resource allocations such that the system can allocate resources to each process in some order, and still avoids a deadlock is called
  1.    unsafe state
  2.    safe state
  3.    starvation
  4.    greedy allocation
 Discuss Question
Answer: Option B. -> safe state
Answer: (b)
Question 40. Producer consumer problem can be solved using
  1.    Semaphores
  2.    Event counters
  3.    Monitors
  4.    All of the above
 Discuss Question
Answer: Option D. -> All of the above
Answer: (d)

Latest Videos

Latest Test Papers