Posts

Multiple Choice Questions & Answers on File system management

Multiple Choice Questions & Answers on File system management File System Concepts MCQ 1. File type can be represented by ____________ a) file name b) file extension c) file identifier d) none of the mentioned Answer: file extension 2. Mapping of file is managed by ____________ a) file metadata b) page table c) virtual memory d) file system Answer: file metadata 3. By using the specific system call, we can ____________ a) open the file b) read the file c) write into the file d) all of the mentioned Answer: all of the mentioned 4. Mapping of network file system protocol to local file system is done by ____________ a) network file system b) local file system c) volume manager d) remote mirror Answer: network file system 5. To create a file ____________ a) allocate the space in file system b) make an entry for new file in directory c) allocate the space in file system & make an entry for new file in directory d) none of the mentioned Answer: allocate the space in file system &

Deadlock Avoidance MCQ

  Deadlock Avoidance MCQ 1. The content of the matrix Need is ____________ a) Allocation – Available b) Max – Available c) Max – Allocation d) Allocation – Max Answer: Max – Allocation 2. A state is safe, if ____________ a) the system does not crash due to deadlock occurrence b) the system can allocate resources to each process in some order and still avoid a deadlock c) the state keeps the system protected and safe d) all of the mentioned Answer: the system can allocate resources to each process in some order and still avoid a deadlock 3. If no cycle exists in the resource allocation graph ____________ a) then the system will not be in a safe state b) then the system will be in a safe state c) all of the mentioned d) none of the mentioned Answer: then the system will be in a safe state 4. All unsafe states are ____________ a) deadlocks b) not deadlocks c) fatal d) none of the mentioned Answer: not deadlocks 5. The data structures available in the Banker’s algorithm are ____________ a)

Multiple Choice Questions & Answers on Virtual Memory

Multiple Choice Questions & Answers on Virtual Memory Virtual Memory MCQ 1. In FIFO page replacement algorithm, when a page must be replaced ____________ a) oldest page is chosen b) newest page is chosen c) random page is chosen d) none of the mentioned Answer: oldest page is chosen 2. When a program tries to access a page that is mapped in address space but not loaded in physical memory, then ____________ a) segmentation fault occurs b) fatal error occurs c) page fault occurs d) no error occurs Answer: page fault occurs 3. Working set model for page replacement is based on the assumption of ____________ a) modularity b) locality c) globalization d) random access Answer: locality 4. Swap space exists in ____________ a) primary memory b) secondary memory c) cpu d) none of the mentioned Answer: secondary memory 5. Because of virtual memory, the memory can be shared among ____________ a) processes b) threads c) instructions d) none of the mentioned Answer: processes 6. The pager conce

Multiple Choice Questions & Answers on Memory Management

Multiple Choice Questions & Answers on Memory Management Memory Management MCQ  1. The address of a page table in memory is pointed by ____________ a) stack pointer b) page table base register c) page register d) program counter Answer: page table base register 2. Run time mapping from virtual to physical address is done by ____________ a) Memory management unit b) CPU c) PCI d) None of the mentioned Answer: Memory management unit Software Architect's >> 3. Operating System maintains the page table for ____________ a) each process b) each thread c) each instruction d) each address Answer: each process 4. The page table contains ____________ a) base address of each page in physical memory b) page offset c) page size d) none of the mentioned Answer: base address of each page in physical memory 5. CPU fetches the instruction from memory according to the value of ____________ a) program counter b) status register c) instruction register d) program status word Answer: program

Multiple Choice Questions & Answers on OS Deadlock

Multiple Choice Questions & Answers on OS Deadlock Deadlock MCQ 1. The circular wait condition can be prevented by ____________ a) defining a linear ordering of resource types b) using thread c) using pipes d) all of the mentioned Answer: defining a linear ordering of resource types 2. A problem encountered in multitasking when a process is perpetually denied necessary resources is called ____________ a) deadlock b) starvation c) inversion d) aging Answer: starvation Operating Systems: Concepts >> 3. A system is in the safe state if ____________ a) the system can allocate resources to each process in some order and still avoid a deadlock b) there exist a safe sequence c) all of the mentioned d) none of the mentioned Answer: the system can allocate resources to each process in some order and still avoid a deadlock 4. To avoid deadlock ____________ a) there must be a fixed number of resources to allocate b) resource allocation must be done only once c) all deadlocked processe