Operating System MCQ



Question 1 : The process of temporarily removing inactive programs from the main memory of a computer system is known as

  1. Swapping
  2. Compaction
  3. mapping
  4. fragmentation
    

Question 2 : Files that maintain the hierarchical structure of the file system.

  1. Descriptors
  2. Directories
  3. Modifiers
  4. Relative files
    

Question 3 : What is the default maximum number of processes that can exist in Linux?

  1. 32767
  2. 1
  3. 0
  4. 1024
    

Question 4 : Indexed allocation ..... direct access.

  1. supports
  2. does not support
  3. is not related to
  4. ignores
    

Question 5 : _________Operating systems are scalable and fault tolerant.

  1. Network
  2. Distributed
  3. Real-Time
  4. Batch
    

Question 6 : Parameters of Programs are passed in

  1. input
  2. output
  3. program
  4. register
    

Question 7 : When one process is executing in critical section then all other processes that intend to execute the critical section must wait for the process (inside the critical section) to leave the critical section is called _____________

  1. Hold and Wait policy
  2. Mutual Exclusion property
  3. No-preemption policy
  4. FCFS policy
    

Question 8 : Contiguous allocation of a file is defined by _____________

  1. disk address of the first block & length
  2. length & size of the block
  3. size of the block
  4. total size of the file
    

Question 9 : Two ways to arrange multiple windows on the desktop are

  1. drag and drop
  2. cascade and tile
  3. minimize and maximize
  4. point and click
    

Question 10 : Consider an operating system running multiple processes that have exclusive resource requirements from a set of resource classes. Further assume that there is exactly one resource in each resource class. Then, a directed cycle in the resource allocation graph would indicate which one of the following?

  1. A deadlock might occur in the future.
  2. All processes are deadlocked.
  3. Some processes are deadlocked.
  4. The system is safe from deadlock.
    

Question 11 : Access to moving head disk requires three periods of delay before information is brought into memory. The response that correctly lists the three time delays for the physical access of data in order of the relative speed from the slowest to fastest is

  1. Latency Time, Cache Overhead Time, Seek Time
  2. Transmission Time, Latency Time, Seek Time
  3. Seek Time, Latency Time, Transmission Time
  4. Cache Overhead Time, Latency Time, Seek Time
    

Question 12 : Determine the number of page faults when references to pages occur in the following order : 1, 2, 4, 5, 2, 1, 2, 4. Assume that the main memory can accommodate 3 pages and the main memory already has the pages 3 and 2, with page 3 having been brought earlier than page 2. (LRU algorithm is used)

  1. 3
  2. 5
  3. 4
  4. 8
    

Question 13 : A set {P0, P1, ..., Pn} of waiting processes must exist such that P0 is waiting for a resource held by P1, P1 is waiting for a resource held by P2, ..., Pn−1 is waiting for a resource held by Pn, and Pn is waiting for a resource held by P0.

  1. Mutual exclusion
  2. Circular wait
  3. Hold and wait
  4. No Preemption
    

Question 14 : Windows 95, Windows 98, Windows NT are known as

  1. Operating systems
  2. Modems
  3. Domain names
  4. Processors
    

Question 15 : An interactive user or a process has associated with pathname is a current directory which is often referred to as the …………………

  1. update directory
  2. list directory
  3. working directory
  4. create directory
    

Question 16 : When the process issues an I/O request :

  1. It is placed in an I/O queue
  2. It is placed in a waiting queue
  3. It is placed in the ready queue
  4. It is placed in the Job queue
    

Question 17 : Which one of the following error will not be handle by the operating system?

  1. power failure
  2. lack of paper in printer
  3. connection failure in the network
  4. Hardware issues
    

Question 18 : In PCB, This includes the amount of CPU used for process execution, time limits, execution ID etc.

  1. IO status information
  2. CPU Scheduling Information
  3. CPU registers
  4. Accounting information
    

Question 19 : Which of the following is false regarding First Come First Serve (FCFS)?

  1. FCFS performance is high
  2. average wait time is high.
  3. Its implementation is based on FIFO queue.
  4. FCFS is easy to understand and implement.
    

Question 20 : the operating system is the most common type of ____ software

  1. communication
  2. application
  3. system
  4. word processing software
    

Question 21 : Working set model for page replacement is based on the assumption of ____________

  1. modularity
  2. locality
  3. globalization
  4. random access
    

Question 22 : We describe a protocol of input device communication: a. Each device has a distinct address b. The bus controller scans each device in sequence of increasing address value to determine if the entity wishes to communicate. c. The device ready to communicate leaves it data in IO register. d. The data is picked up and the controller moves to step-a above. Identify the form of communication best describes the IO mode amongst the following

  1. Programmed IO Mode
  2. Polling
  3. DMA
  4. Interrupt Mode
    

Question 23 : Which of the following isn’t a part of the file directory?

  1. Attributes
  2. Protocol
  3. Location
  4. Ownership
    

Question 24 : Which of the following is not a feature of UNIX?

  1. multitasking
  2. multiuser
  3. portability
  4. easy to use
    

Question 25 : Typically, ………………… is on an individual block basis where each block contains a pointer to the next block in the chain.

  1. Chained allocation
  2. Indexed allocation
  3. Contiguous allocation
  4. Variable allocation
    
  • chevron_left
  • 1
  • chevron_right