Multiple Choice Questions On Operating System - Page 2

Friday 6 April 2012


1) Which of the following file name extension suggests that the file is Backup copy of another file ?
  1. TXT
  2. COM
  3. BAS
  4. BAK
Show/Hide Answer
Answer = D
Explanation:  BAK extension is used for the backup files however the extension should be removed before opening the file to open it correctly. Eg :  "myfile.doc.bak"should be renamed with "myfile.doc".
2) FIFO scheduling is.....
  1. Preemptive Scheduling
  2. Non Preemptive Scheduling
  3. Deadline Scheduling
  4. Fair share scheduling
Show/Hide Answer
Answer = B
Explanation: In the non preemptive scheduling the CPU can not take back from the process to which it is assigned, until it completes its execution
3)Switching the CPU to another Process requires to save state of the old process and loading new process state is called as ...
  1. Process Blocking
  2. Context Switch
  3. Time Sharing
  4. None of the above
Show/Hide Answer
Answer = B
Explanation: The old state of the process can be saved through the concept of context switching.
4)The Banker's algorithm is used
  1. to prevent deadlock in operating systems
  2. to detect deadlock in operating systems
  3. to rectify a deadlocked state
  4. none of the above
Show/Hide Answer
Answer = A
Explanation: In an operating system, a deadlock is a situation which occurs when a process enters a waiting state because a resource requested by it is being held by another waiting process, which in turn is waiting for another resource. If a process is unable to change its state indefinitely because the resources requested by it are being used by other waiting process, then the system is said to be in a deadlock.
5)A thread
  1. is a lightweight process where the context switching is low
  2. is a lightweight process where the context switching is high
  3. is used to speed up paging
  4. none of the above
Show/Hide Answer
Answer = A
6) A tree structured file directory system
  1. allows easy storage and retrieval of file names
  2. is a much debated unnecessary feature
  3. is not essential when we have millions of files
  4. none of the above
Show/Hide Answer
Answer = A
Explanation: It is easy to access anything if it is in hierarchical structure.
7) Full Form Of PCB
  1. Program Control Block
  2. Process Control Block
  3. Process Communication Block
  4. None of the above
Show/Hide Answer
Answer = B
Explanation: It is also called the Task Controlling Block or Task Struct that contains the information needed to manage a particular process
8)The mechanism that bring a page into memory only when it is needed is called....?
  1. Segmentation
  2. Fragmentation
  3. Demand Paging
  4. Page Replacement
Show/Hide Answer
Answer = C
Explanation: Under the concept of demand paging , the page is brought into the memory only when it is needed
9) Which technique was introduced because a single job could not keep both the CPU and the I/O devices busy?
  1. Time-sharing
  2. Spooling
  3. Preemptive scheduling
  4. Multiprogramming
Show/Hide Answer
Answer = D
Explanation: Through Multiprogramming multiple processes gets executed at a same time
10) Which directory implementation is used in most Operating System ?
  1. Single level directory structure
  2. Two level directory structure
  3. Tree directory structure
  4. Acyclic directory structure
Show/Hide Answer
Answer = C


Do You Like This? Please take 5 seconds to share with your firends.