OPERATING SYSTEM MCQ SET 2


  1. Which of the following is/ are the part of operating system?
  2. A) Kernel services
  3. B) Library services
  4. C) Application level services
  5. D) All of the above
  1. The system of …………… generally ran one job at a time. These were called single stream batch processing.
  2. A) 40’s
  3. B) 50’s
  4. C) 60’s
  5. D) 70’s

 

  1. In …………. generation of operating system, operating system designers develop the concept of multi-programming in which several jobs are in main memory at once.
  2. A) First
  3. B) Second
  4. C) Third
  5. D) Fourth

 

  1. State True or False.
  2. i) In spooling high speed device like a disk is interposed between running program and low-speed device in Input/output.
  3. ii) By using spooling for example instead of writing directly to a printer, outputs are written to the disk.
  4. A) i-True, ii-False
  5. B) i-True, ii-True
  6. C) i-False, ii-True
  7. D) i-False, ii-False
  1. Which of the following is/are the functions of operating system?
  2. i) Sharing hardware among users.            ii) Allowing users to share data among themselves.

iii) Recovering from errors.                          iv) Preventing users from interfering with one another.

  1. v) Scheduling resources among users.
  2. A) i, ii, iii and iv only
  3. B) ii, iii, iv and v only
  4. C) i, iii, iv and v only
  5. D) All i, ii, iii, iv and v
  1. ……………… executes must frequently and makes the fine grained decision of which process to execute the next.
  2. A) Long-term scheduling
  3. B) Medium-term scheduling
  4. C) Short-term scheduling
  5. D) None of the above
  1. With ……………. a page is brought into main memory only when the reference is made to a location on that page.
  2. A) demand paging
  3. B) main paging
  4. C) prepaging
  5. D) postpaging
  1. ………………….. provides a larger sized of virtual memory but require virtual memory which provides multidimensional memory.
  2. A) Paging method
  3. B) Segmentation method
  4. C) Paging and segmentation method
  5. D) None of these
  1. …………… is a large kernel containing virtually the complete operating system, including, scheduling, file system, device drivers and memory management.
  2. A) Multilithic kernel
  3. B) Monolithic kernel
  4. C) Micro kernel
  5. D) Macro kernel
  1. …………… is a large operating system core provides a wide range of services.
  2. A) Multilithic kernel
  3. B) Monolithic kernel
  4. C) Micro kernel
  5. D) Macro kernel

Answers:

1.       D) All of the above

2.       B) 50’s

3.       C) Third

4.       B) i-True, ii-True

5.       D) All i, ii, iii, iv and v

6.       C) Short-term scheduling

7.       A) demand paging

8.       B) Segmentation method

9.       B) Monolithic kernel

10.   D) Macro kernel

 

PART-2

 

  1. The first batch operating system was developed in the …………….. by General Motors for use on an IBM 701.
  2. A) mid 1940’s
  3. B) mid 1950’s
  4. C) mid 1960’s
  5. D) mid  1970’s
  1. Process is ……………………
  2. A) A program in execution
  3. B) An instance of a program running on a computer.
  4. C) The entity that can be assigned to and executed
  5. D) All of the above.

 

  1. ………………. is a facility that allows programmers to address memory from a logical point of view, without regard to the main memory, physically available.
  2. A) Visual memory
  3. B) Real memory
  4. C) Virtual memory
  5. D) Secondary memory

 

  1. ………… is a large kernel, including scheduling file system, networking, device drivers, memory management and more.
  2. A) Monolithic kernel
  3. B) Micro kernel
  4. C) Macro kernel
  5. D) Mini kernel
  1. A ……………….. architecture assigns only a few essential functions to the kernel,  including address spaces, Inter process communication(IPC) and basic scheduling.
  2. A) Monolithic kernel
  3. B) Micro kernel
  4. C) Macro kernel
  5. D) Mini kernel
  1. State whether true or false.
  2. i) Multithreading is useful for application that perform a number of essentially independent tasks that do not be serialized.
  3. ii) An example of multithreading is a database server that listens for and process numerous client request.
  4. A) i-True, ii-False
  5. B) i-True, ii-True
  6. C) i-False, ii-True
  7. D) i-False, ii-False
  1. With ……………. only one process can execute at a time; meanwhile all other process are waiting for the processer. With ………….. more than one process can be running simultaneously each on a different processer.
  2. A) Multiprocessing, Multiprogramming
  3. B) Multiprogramming, Uniprocessing
  4. C) Multiprogramming, Multiprocessing
  5. D) Uniprogramming, Multiprocessing
  1. The two central themes of modern operating system are ……………
  2. A) Multiprogramming and Distributed processing
  3. B) Multiprogramming and Central Processing
  4. C) Single Programming and Distributed processing
  5. D) None of above
  1. …………… refers to the ability of multiple process (or threads) to share code, resources or data in such a way that only one process has access to shared object at a time.
  2. A) Synchronization
  3. B) Mutual Exclusion
  4. C) Dead lock
  5. D) Starvation
  1. …………….. is the ability of multiple process to co-ordinate their activities by exchange of information
  2. A) Synchronization
  3. B) Mutual Exclusion
  4. C) Dead lock
  5. D) Starvation

Answers:

1.       B) mid 1950’s

2.       D) All of the above.

3.       C) Virtual memory

4.       A) Monolithic kernel

5.       B) Micro kernel

6.       B) i-True, ii-True

7.       C) Multi…….Multiprocessing

8.       A) Multiprogra ……processing

9.       B) Mutual Exclusion

10.   A) Synchronization

 

 

PART 3

 

1. Which of the following is not the function of Micro kernel?

  1. A) File management
  2. B) Low-level memory management
  3. C) Inter-process communication
  4. D) I/O interrupts management
  1. Match the following.
  2. i) Mutual exclusion                          a) A process may hold allocated resources while waiting assignment.
  3. 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 a resource at a time.

  1. A) i-a, ii-b, iii-c
  2. B) i-a, ii-c, iii-b
  3. C) i-b, ii-c, iii-a
  4. D) i-c, ii-a, iii-b

 

  1. A direct method of deadlock prevention is to prevent the occurrences of ……………….
  2. A) Mutual exclusion
  3. B) Hold and wait
  4. C) Circular waits
  5. D) No preemption
  1. The methods or algorithms which are used to increase the performance of disk storage sub-system is called ………….
  2. A) Disk performing
  3. B) Disk scheduling
  4. C) Disk storing
  5. D) Disk extending
  1. …………….. is the time required to move the disk arm to the required track.
  2. A) Seek time
  3. B) Rotational delay
  4. C) Latency time
  5. D) Access time
  1. The …………… policy restricts scanning to one direction only.
  2. A) SCAN
  3. B) C-SCAN
  4. C) N-Step SCAN
  5. D) Both A and B
  1. …………… policy selects the disk I/O request that requires the least movement of the disk arm from its current position.
  2. A) FSCAN
  3. B) SSTF
  4. C) SCAN
  5. D) C-SCAN
  6. ……………… refers to the ability of an operating system to support multiple threads of execution with a single process.
  7. A) Multithreading
  8. B) Multiprocessing
  9. C) Multiexecuting
  10. D) Bi-threading
  1. State whether the following statement is true.
  2. i) It takes less time to terminate a thread than a process.
  3. ii) Threads enhance efficiency in communication between different executing programs.
  4. A) i-True, ii-False
  5. B) i-True, ii-True
  6. C) i-False, ii-True
  7. D) i-False, ii-False
  1. ………… is a special type of programming language used to provide instructions to the monitor simple batch processing schema.
  2. A) Job control language (JCL)
  3. B) Processing control language (PCL)
  4. C) Batch control language (BCL)
  5. D) Monitor control language (MCL)

Answers:

1.   A) File management

2.   D) i-c, ii-a, iii-b

3.   C) Circular waits

4.   B) Disk scheduling

5.   A) Seek time

6.   B) C-SCAN

7.   B) SSTF

8.   A) Multithreading

9.   B) i-True, ii-True

10.   A) Job control language (JCL)

 

PART 4

  1. ………….. 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.
  2. A) Synchronization
  3. B) Mutual Exclusion
  4. C) Dead lock
  5. D) Starvation
  1. Which of the following is not the approach to dealing with deadlock?
  2. A) Prevention
  3. B) Avoidance
  4. C) Detection
  5. D) Deletion

 

  1. Which of the following are the states of a five state process model?
  2. i) Running            ii) Ready               iii) New                 iv) Exit                   v) Destroy
  3. A) i, ii, iii and v only
  4. B) i, ii, iv and v only
  5. C) i, ii, iii, and iv only
  6. D) All i, ii, iii, iv and v
  1. State which statement is true for Suspended process?
  2. i) The process is not immediately available for execution.
  3. ii) The process may be removed from suspended state automatically without removal order.
  4. A) i only
  5. B) ii only
  6. C) i and ii only
  7. D) None
  1. Following is/are the reasons for process suspension.
  2. A) Swapping parent process
  3. B) Inter request
  4. C) Timing
  5. D) All of the above
  1. The different types of tables maintained by the operating system are ………….
  2. A) memory, logical , I/O file
  3. B) memory, I/O, file, physical
  4. C) memory, I/O, file, process
  5. D) memory, logical, I/O, physical
  1. Which of the following information not included in memory table?
  2. A) The allocation of main memory to process.
  3. B) The allocation of secondary memory to process
  4. C) Any information needed to manage virtual memory
  5. D) Any information about the existence of file
  1. Process Management function of an operating system kernel includes.
  2. A) Process creation and termination.
  3. B) Process scheduling and dispatching
  4. C) Process switching
  5. D) All of the above
  1. The typical elements of process image are …………………
  2. i) User data         ii) System Data                  iii) User program              iv) System stack
  3. A) i, iii and iv only
  4. B) i, ii,  and iv only
  5. C) ii, iii, and iv only
  6. D) All i, ii, iii, and iv
  1. Match the following mechanisms for interrupting the execution of a process and their uses.
  2. i) Interrupt                                                                         a) Call to an operating system function
  3. ii) Trap                                                                              b) Reaction to an asynchronous external event

iii) Supervisor Call                                                             c) Handling of a error or an exception condition

  1. A) i-a, ii-b, iii-c
  2. B) i-c, ii-a, iii-b
  3. C) i-b, ii-c, iii-a
  4. D) i-a, ii-c, iii-b


Answers:

1.   D) Starvation

2.   D) Deletion

3.   C) i, ii, iii, and iv only

4.   A) i only

5.   D) All of the above

6.   C) memory, I/O, file, process

7.   D) Any information….. of file

8.   D) All of the above

9.   A) i, iii and iv only

10.   C) i-b, ii-c, iii-a

 

PART 5

  1. The unit of dispatching is usually referred to as a …………..
  2. A) Thread
  3. B) Lightweight process
  4. C) Process
  5. D) Both A and B
  1. ……………….. is a example of an operating system that support single user process and single thread.
  2. A) UNIX
  3. B) MS-DOS
  4. C) OS/2
  5. D) Windows 2000

 

  1. State true or false.
  2. i) Unix, support multiple user process but only support one thread per process.
  3. ii) A java run time environment is an example of a system of one process with multiple threads.
  4. A) True, False
  5. B) True, True
  6. C) False, True
  7. D) False, False
  1. …………… are very effective because a mode switch is not required to switch from one thread to another.
  2. A) Kernel-level threads
  3. B) User-level threads
  4. C) Alterable threads
  5. D) Application level threads
  1. …………… is a condition in which there is a set of concurrent processes, only one of which is able to access a given resource or perform a given function at any time.
  2. A) Mutual Exclusion
  3. B) Busy Waiting
  4. C) Deadlock
  5. D) Starvation
  1. …………………. Techniques can be used to resolve  conflicts, such as competition for resources, and to synchronize processes so that they can cooperate.
  2. A) Mutual Exclusion
  3. B) Busy Waiting
  4. C) Deadlock
  5. D) Starvation
  1. ……………. Can be defined as the permanent blocking of a set of processed that either complete for system resources or communicate with each other.
  2. A) Deadlock
  3. B) Permanent lock
  4. C) Starvation
  5. D) Mutual exclusion
  1. The following conditions of policy must be present for a deadlock to be possible.
  2. i) Mutual exclusion                                          ii) Hold and wait

iii) No preemption                                           iv) Circular wait

  1. A) i, ii and iii only
  2. B) ii, iii and iv only
  3. C) i, iii and iv only
  4. D) All i, ii, iii and iv
  1. A direct method of deadlock prevention is to prevent the occurrence of …………..
  2. A) Mutual exclusion
  3. B) Hold and wait
  4. C) Circular waits
  5. D) No preemption
  1. State true of false.
  2. i) With paging, each process is divided into relatively small, fixed-size pages.
  3. ii) Segmentation provides for the use of pieces of varying size.
  4. A) True, False
  5. B) True, True
  6. C) False, True
  7. D) False, False

Answers:

1.       D) Both A and B

2.       B) MS-DOS

3.       A) True, False

4.       B) User-level threads

5.       A) Mutual Exclusion

6.       A) Mutual Exclusion

7.       A) Deadlock

8.       D) All i, ii, iii and iv

9.       C) Circular waits

10.   B) True, True

Leave a comment