BCS 404 Operating System MCQs
Multiple Choice Questions
26 Pages
MPC
Contributed by
Manpreet Prasad Chaudhuri
Loading
- Mathatma Gandhi UniversityBSc Computer Science IVthsemesterBCS 404 Operating SystemMULTIPLE CHOICE QUESTIONS1. The first batch operating system was developed in the ................. by General Motors for use on anIBM 701.A) mid 1940's B) mid 1950's C) mid 1960's D) mid 1970's2. Process is ........................A) A program in executionB) An instance of a program running on a computer.C) The entity that can be assigned to and executedD) All of the above.3. ................... is a facility that allows programmers to address memory from a logical point of view,without regard to the main memory, physically available.A) Visual memory B) Real memory C) Virtual memory D) Secondary memory4. ............ is a large kernel, including scheduling file system, networking, device drivers, memorymanagement and more.A) Monolithic kernel B) Micro kernel C) Macro kernel D) Mini kernel5. A .................... architecture assigns only a few essential functions to the kernel, including addressspaces, Inter process communication(IPC) and basic scheduling.A) Monolithic kernel B) Micro kernel C) Macro kernel D) Mini kernel6. State whether true or false.i) Multithreading is useful for application that perform a number of essentially independent tasksthat do not be serialized.
Page 1
- ii) An example of multithreading is a database server that listens for and process numerous clientrequest.A) i-True, ii-False B) i-True, ii-True C) i-False, ii-True D) i-False, ii-False7. With ................ only one process can execute at a time; meanwhile all other process are waitingfor the processer. With .............. more than one process can be running simultaneously each on adifferent processer.A) Multiprocessing, MultiprogrammingB) Multiprogramming, UniprocessingC) Multiprogramming, MultiprocessingD) Uniprogramming, Multiprocessing8. The two central themes of modern operating system are ...............A) Multiprogramming and Distributed processingB) Multiprogramming and Central ProcessingC) Single Programming and Distributed processingD) None of above9. ............... refers to the ability of multiple process (or threads) to share code, resources or data insuch a way that only one process has access to shared object at a time.A) Synchronization B) Mutual Exclusion C) Dead lock D) Starvation10. ................. is the ability of multiple process to co-ordinate their activities by exchange ofinformationA) Synchronization B) Mutual Exclusion C) Dead lock D) StarvationAnswers:
Page 2
- 1. B) mid 1950's2. D) All of the above.3. C) Virtual memory4. A) Monolithic kernel5. B) Micro kernel6. B) i-True, ii-True7. C) Multi.......Multiprocessing8. A) Multiprogra ......processing9. B) Mutual Exclusion10. A) Synchronization11. .............. refers to a situation in which a process is ready to execute but is continuously deniedaccess to a processor in deference to other processes.A) Synchronization B) Mutual Exclusion C) Dead lock D) Starvation12. Which of the following is not the approach to dealing with deadlock?A) Prevention B) Avoidance C) Detection D) Deletion13. Which of the following are the states of a five state process model?i) Running ii) Ready iii) New iv) Exit v) DestroyA) i, ii, iii and v only B) i, ii, iv and v only C) i, ii, iii, and iv only D) All i, ii, iii, iv and v14. State which statement is true for Suspended process?i) The process is not immediately available for execution.ii) The process may be removed from suspended state automatically without removal order.A) i only B) ii only C) i and ii only D) None15. Following is/are the reasons for process suspension.A) Swapping parent process B) Inter request C) Timing D) All of the above
Page 3
- 16. The different types of tables maintained by the operating system are .............A) memory, logical , I/O file B) memory, I/O, file, physicalC) memory, I/O, file, process D) memory, logical, I/O, physical17. Which of the following information not included in memory table?A) The allocation of main memory to process.B) The allocation of secondary memory to processC) Any information needed to manage virtual memoryD) Any information about the existence of file18. Process Management function of an operating system kernel includes.A) Process creation and termination. B) Process scheduling and dispatchingC) Process switching D) All of the above19. The typical elements of process image are .....................i) User data ii) System Data iii) User program iv) System stackA) i, iii and iv only B) i, ii, and iv only C) ii, iii, and iv only D) All i, ii, iii, and iv20. Match the following mechanisms for interrupting the execution of a process and their uses.i) Interrupt a) Call to an operating system functionii) Trap b) Reaction to an asynchronous external eventiii) Supervisor Call c) Handling of a error or an exception conditionA) i-a, ii-b, iii-c B) i-c, ii-a, iii-b C) i-b, ii-c, iii-a D) i-a, ii-c, iii-bAnswers:
Page 4
- 1. D) Starvation2. D) Deletion3. C) i, ii, iii, and iv only4. A) i only5. D) All of the above6. C) memory, I/O, file, process7. D) Any information..... of file8. D) All of the above9. A) i, iii and iv only10. C) i-b, ii-c, iii-a21. Which of the following is not the function of Micro kernel?A) File management B) Low-level memory managementC) Inter-process communication D) I/O interrupts management22. Match the following.i) Mutual exclusion a) A process may hold allocated resources while waiting assignment.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.A) i-a, ii-b, iii-c B) i-a, ii-c, iii-b C) i-b, ii-c, iii-a D) i-c, ii-a, iii-b23. A direct method of deadlock prevention is to prevent the occurrences of ...................A) Mutual exclusion B) Hold and wait C) Circular waits D) No preemption24. The methods or algorithms which are used to increase the performance of disk storage sub-system is called .............A) Disk performing B) Disk scheduling C) Disk storing D) Disk extending25. ................. is the time required to move the disk arm to the required track.A) Seek time B) Rotational delay C) Latency time D) Access time
Page 5
- 26. The ............... policy restricts scanning to one direction only.A) SCAN B) C-SCAN C) N-Step SCAN D) Both A and B27. ............... policy selects the disk I/O request that requires the least movement of the disk armfrom its current position.A) FSCAN B) SSTF C) SCAN D) C-SCAN28. .................. refers to the ability of an operating system to support multiple threads of executionwith a single process.A) Multithreading B) Multiprocessing C) Multiexecuting D) Bi-threading2 9. State whether the following statement is true.i) It takes less time to terminate a thread than a process.ii) Threads enhance efficiency in communication between different executing programs.A) i-True, ii-False B) i-True, ii-True C) i-False, ii-True D) i-False, ii-False30. ............ is a special type of programming language used to provide instructions to the monitorsimple batch processing schema.A) Job control language (JCL) B) Processing control language (PCL)C) Batch control language (BCL) D) Monitor control language (MCL)Answers:1. A) File management2. D) i-c, ii-a, iii-b3. C) Circular waits4. B) Disk scheduling5. A) Seek time6. B) C-SCAN7. B) SSTF8. A) Multithreading9. B) i-True, ii-True10. A) Job control language (JCL)
Page 6
- 31. The unit of dispatching is usually referred to as a …………..A) Thread B) Lightweight process C) Process D) Both A and B32. ……………….. is a example of an operating system that support single user process and singlethread.A) UNIX B) MS-DOS C) OS/2 D) Windows 200033. State true or false.i) Unix, support multiple user process but only support one thread per process.ii) A java run time environment is an example of a system of one process with multiple threads.A) True, False B) True, True C) False, True D) False, False34. …………… are very effective because a mode switch is not required to switch from one threadto another.A) Kernel-level threads B) User-level threads C) Alterable threads D) Application level threads35. …………… is a condition in which there is a set of concurrent processes, only one of which isable to access a given resource or perform a given function at any time.A) Mutual Exclusion B) Busy Waiting C) Deadlock D) Starvation36. …………………. Techniques can be used to resolve conflicts, such as competition forresources, and to synchronize processes so that they can cooperate.A) Mutual Exclusion B) Busy Waiting C) Deadlock D) Starvation37. ……………. Can be defined as the permanent blocking of a set of processed that either completefor system resources or communicate with each other.A) Deadlock B) Permanent lock C) Starvation D) Mutual exclusion
Page 7
- 38. The following conditions of policy must be present for a deadlock to be possible.i) Mutual exclusion ii) Hold and waitiii) No preemption iv) Circular waitA) i, ii and iii only B) ii, iii and iv only C) i, iii and iv only D) All i, ii, iii and iv39. A direct method of deadlock prevention is to prevent the occurrence of …………..A) Mutual exclusion B) Hold and wait C) Circular waits D) No preemption40. State true of false.i) With paging, each process is divided into relatively small, fixed-size pages.ii) Segmentation provides for the use of pieces of varying size.A) True, False B) True, True C) False, True D) False, FalseAnswers:1. D) Both A and B2. B) MS-DOS3. A) True, False4. B) User-level threads5. A) Mutual Exclusion6. A) Mutual Exclusion7. A) Deadlock8. D) All i, ii, iii and iv9. C) Circular waits10. B) True, True41. …………. Involves treating main memory as a resource to be allocated to and shared among anumber of active processes.A) Partition management B) Memory management C) Disk management D) All of the above
Page 8
- 42. A process that execute only in main memory is referred to as ……………… and that allocated indisk is referred to a …………….A) virtual memory, true memory B) virtual memory, real memoryC) real memory, virtual memory D) imaginary memory, real memory43. In process scheduling, …………………… determines when new processes are admitted to thesystem.A) long term scheduling B) medium term scheduling C) short term schedulingD) none of the above44. In process scheduling, ………………… determines which ready process will be executed nextby processor.A) long term scheduling B) medium term scheduling C) short term schedulingD) none of the above45. The sum of the seek time, and the rotational delay is called the ………………..A) reached time B) access time C) arrived time D) common time46. The …………….. policy segments the disks request queue into sub queues of the length N.A) SCAN B) C-SCAN C) N-Step SCAN D) FSCAN47. Which of the following are the functions of operating system?i) recovering from errors ii) facilitating input/outputiii) facilitating parallel operation iv) sharing hardware among usersv) implementing user interfaceA) i, ii, ii, and v only B) i, ii, iii, and iv only C) ii, iii, iv and v only
Page 9
- D) All i, ii, iii, iv and v48. File management function of the operating system includesi) File creation and deletion ii) Disk schedulingiii) Directory creation iv) Mapping file in secondary storage.A) i, ii and iii only B) i, iii and iv only C) ii, iii and iv only D) All i, ii, iii and iv49. The ……………. Determines when a page should be brought into main memory.A) Fetch policy B) Placement policy C) Replacement policy D) Resident set management50. With …………………. A page is written out to secondary memory only when it has beenselected for replacement.A) pre-cleaning B) demand cleaning C) required cleaning D) fast cleaningAnswers:1. B) Memory management2. C) real . virtual memory3. A) long term scheduling4. C) short term scheduling5. B) access time6. C) N-Step SCAN7. D) All i, ii, iii, iv and v8. B) i, iii and iv only9. A) Fetch policy10. B) demand cleaning51. Operating System means ........................A) a set of programs which controls computer working. B) a way of computer drives worksC) a set of devices and programs D) All of the above52. The basic types of OS are ...................A) batch and time sharing B) sequential and real time C) direct and interactiveD) batch and interactive
Page 10
Download this file to view remaining 16 pages
Related documents:
- Mathematics I, Vector Analysis, Differential Equation, Fourier Series and Integral Transforms - MCQ
- Public Administration (Paper I) 2017 Question Paper - Question Paper
- Quality Assurance - Practice MCQ Questions - MCQ
- LABOUR COST CONTROL - Cost Acounting - Notes
- Current Affairs SEPTEMBER 2020 - Notes
- Business Economics VI MCQs (TYBCom Sem VI ) - MCQ
- Recent Trends in IT Solved MCQs - MCQ
- Issues Relating to Children - Notes
- Human Resource Management Principles and Functions MCQs - MCQ
- Marketing Management I - Assertion and Reasoning
- Element of Company Law - MCQ
- Statistics (Paper IV) 2016 Question Paper - Notes
- QP IFSM-23 MECHANICAL ENGINEERING PAPER-II - MCQ
- Botany Question Paper - Research Paper
- LOGICAL REASONING - LETTERS AND SYMBOL SERIES - Question Bank
- MG6851 Principles of Management qbank - Question Bank
- Commerce and Accountancy (Paper I) 2017 Question Paper - Question Paper
- GE6075 Professional Ethics in Engineering - Notes
- Digital Electronics MCQs - MCQ
- Public Administration (Paper II) 2019 Question Paper - Question Paper