Operating Systems - Multiple Choice Questions

Operating Systems Multiple Choice Questions

 1. A __________is a set of instructions which is prepared to perform a specific assignment if executed by a computer. 

A. Browser 

B. Internet 

C. Program 

D. Code 

Answer = Program


2. A program is an active entity. 

A. True 

B. False 

C. Nothing Can be said 

D. None of the mentioned 

Answer = False


3. What is responsible for creating a process from a program.

A. Os 

B. Web 

C. Internet 

D. Firewall 

Answer = OS


4.  This cycle, of going through __________ states of running and input/output, may be repeated over and over until the job is completed. 

A. evaluation 

B. process 

C. program 

D. data 

Answer = process


5. The wait fraction is represented by __________. 

A. w 

B. Q. 

C. &. 

D. None of the mentioned 

Answer = w


6. Processor wait ratio is given by ________. 

A. w=b/e+b 

B. w=b/e-b 

C. #NAME.

D. #NAME.

Answer = w=b/e-b


7. What does ‘b’ represent in a processor wait ratio.

A. input ratio 

B. output ratio 

C. average time 

D. average I/O time 

Answer = average I/O time


8.  A technique that allows more than one program to be ready for execution and provides the ability to switch from one process to another. 

A. multitasking 

B. multiprocessing 

C. multitasking 

D. multiprogramming 

Answer = multiprogramming


9. Multiprogramming is mainly accomplished by:. 

A. os 

B. software 

C. hardware 

D. program 

Answer = os


10. The technique that increases the system’s productivity. 

A. multiprogramming 

B. multitasking 

C. multiprocessing 

D. single-programming 

Answer = multiprogramming


11. A task carried out by the OS and hardware to accommodate multiple processes in main memory. 

A. Memory control 

B. Memory management 

C. Memory sharing 

D. Memory usage 

Answer = Memory management


12. An HTML file is a text file containing small markup tags 

A. True 

B. False 

C. Nothing Can be said 

D. None of the mentioned 

Answer = True


13. Secondary memory is the long term store for programs and data while main memory holds program and data currently in use What kind of an organization is this.

A. Physical 

B. Logical 

C. Structural 

D. Simple 

Answer = Physical


14.  Memory organization in which users write programs in modules with different characteristics 

A. Physical 

B. Logical 

C. Structural 

D. Simple 

Answer = Logical


15. An executing process must be loaded entirely in main memory What kind of a memory organization is this.

A. Physical 

B. Logical 

C. Structural 

D. Simple 

Answer = Simple


16. FTP stands for.

A. File Text Protocol 

B. File Transfer Protocol 

C. Firm Transfer Protocol 

D. File Transplant Protocol 

Answer = File Transfer Protocol


17. A set of overlapping divisions in the main memory are called _______. 

A. Partitions 

B. Divisions 

C. Blocks 

D. Modules 

Answer = Partitions


18.  Any program, no matter how small, occupies an entire partition  This is called ____________. 

A. fragmentation 

B. prior fragmentation 

C. internal fragmentation 

D. external fragmentation 

Answer = internal fragmentation


19. __________ is used to shift processes so they are contiguous and all free memory is in one block. 

A. Fragmentation 

B. Compaction 

C. External Fragmentation 

D. Division 

Answer = Compaction


20. _______ searches for smallest block  The fragment left behind is small as possible. 

A. best fit 

B. first fit 

C. next fit 

D. last fit 

Answer = best fit


21. A basic element of data in a file. 

A. Memory 

B. Record 

C. Field 

D. Value 

Answer = Field


22. Records are treated as a unit. 

A. True 

B. False 

C. Nothing Can be said 

D. None of the mentioned 

Answer = True


23. __________________ refers to the logical structuring of records 

A. Physical organisation 

B. Logical organisation 

C. Structural organisation 

D. File organisation 

Answer = File organisation


24.  Which of the following is not an appropriate criterion for file organisation.

A. Larger access time 

B. ease of update 

C. simple maintenance 

D. economy of storage 

Answer = Larger access time


25. ___________ itself is a file owned by the operating system 

A. Logical file 

B. Record 

C. Database 

D. Directory 

Answer = Directory


26. Which of the following isn’t a part of the file directory.

A. Attributes 

B. Protocol 

C. Location 

D. Ownership 

Answer = Protocol


27. Allocated size of a file comes under.

A. basic information 

B. address information 

C. access control information 

D. usage information 

Answer = address information


28.  Which of the following is not a part of the usage information.

A. data created 

B. identity of creator 

C. owner 

D. last date modified 

Answer = owner


29. When access is granted to append or update a file to more than one user, the OS or file management system must enforce discipline This is _________. 

A. Simultaneous access 

B. Compaction 

C. External Fragmentation 

D. Division 

Answer = Simultaneous access


30. The user can load and execute a program but cannot copy it This process is.

A. Execution 

B. Appending 

C. Reading 

D. Updating 

Answer = Execution


31. Multithreading is also called as ____________. 

A. Concurrency 

B. Simultaneity 

C. Crosscurrent 

D. Recurrent 

Answer = Concurrency


32. Multiprocessing allows single processor to run several concurrent threads 

A. True 

B. False 

C. Nothing Can be said 

D. None of the mentioned 

Answer = True


33. A single sequential flow of control within a program is ________. 

A. Process 

B. Task 

C. Thread 

D. Structure 

Answer = Thread


34.  Both client and server release _________ connection after a page has been transferred. 

A. IP. 

B. TCP. 

C. Hyperlink 

D. Network 

Answer = TCP


35. Java extension used in threads.

A. javalangThread 

B. javalanguageThread 

C. javalangThreads 

D. javaThread 

Answer = javalangThread


36. A method that must be overridden while extending threads 

A. run(). 

B. start(). 

C. stop(). 

D. paint(). 

Answer = run()


37. An interface that is implemented while using threads 

A. javalangRun 

B. javalangRunnable 

C. javalangThread 

D. javalangThreads 

Answer = javalangRunnable


38. A thread becomes non runnable when.

A. Its stop method is invoked 

B. Its sleep method is invoked 

C. Its finish method is invoked 

D. Its init method is invoked 

Answer = Its sleep method is invoked


39. A method used to temporarily release time for other threads 

A. yield(). 

B. set(). 

C. release(). 

D. start(). 

Answer = yield()


40. A method used to force one thread to wait for another thread to finish. 

A. join(). 

B. connect(). 

C. combine(). 

D. concat(). 

Answer = join()


41. Separation of user logical memory and physical memory is ___________. 

A. Memory control 

B. Memory management 

C. Memory sharing 

D. Virtual memory 

Answer = Virtual memory


42. Logical Address space can be larger than physical address space. 

A. True 

B. False 

C. Nothing Can be said 

D. None of the mentioned 

Answer = True


43. Virtual Memory can be implemented via __________. 

A. Demand Paging 

B. Logical paging 

C. Structural way 

D. Simple division 

Answer = Demand Paging


44.  COW stands for.

A. Copy over write 

B. Convert over write 

C. Count over write 

D. Copy over write 

Answer = Copy over write


45. LRU stands for.

A. Least Recently used 

B. Less Recently used 

C. Least Recurrently used 

D. Least Randomly used 

Answer = Least Recently used


46. An allocation that uses a proportional allocation scheme using priorities rather than size. 

A. Priority allocation 

B. File allocation 

C. Preference allocation 

D. Simple allocation 

Answer = Priority allocation


47. A process selects a replacement frame from the set of all frames 

A. Local replacement 

B. Global replacement 

C. Block replacement 

D. Module replacement 

Answer = Global replacement


48.  Any program, no matter how small, occupies an entire partition  This is called _____________. 

A. fragmentation 

B. prior fragmentation 

C. internal fragmentation 

D. external fragmentation 

Answer = internal fragmentation


49. A process is busy swapping pages in and out. 

A. Thrashing 

B. Compaction 

C. External Fragmentation 

D. Division 

Answer = Thrashing


50. ____________ is one or more physically contiguous pages 

A. Slab 

B. Cache 

C. Object 

D. Allocator 

Answer = Slab

Previous Post Next Post