Multiple Choice Quesiton of Operating System
1-1. ______ is used in operating system to separate mechanism from policy
A. Single level implementation
B. Two level implementation
C. Multi level implementation
D. None
B. Two level implementation
C. Multi level implementation
D. None
1-2. The operating system creates _____ from the physical computer
A. Virtual space
B. Virtual computers
C. Virtual device
D. None
B. Virtual computers
C. Virtual device
D. None
1-3. ______ shares characteristics with both hardware and software
A. Operating system
B. Software
C. Data
D. None
B. Software
C. Data
D. None
1-4. Multiprogramming systems:
A. Are easier to develop than single programming systems
B. Execute each job faster
C. Execute more jobs in the same time period
D. Are used only one large mainframe computers.
B. Execute each job faster
C. Execute more jobs in the same time period
D. Are used only one large mainframe computers.
1-5. Which is the first program run on a computer when the computer boots up?
A. System software
B. Operating system
C. System operations
D. None
B. Operating system
C. System operations
D. None
1-6. Which is built directly on the hardware?
A. Computer Environment
B. Application Software
C. Operating System
D. Database System
B. Application Software
C. Operating System
D. Database System
1-7. Which of the following Operating System does not implement multitasking truly?
A. Windows 98
B. Windows NT
C. Windows XP
D. MS DOS
B. Windows NT
C. Windows XP
D. MS DOS
1-8. Which runs on computer hardware and serve as platform for other software to run on?
A. Operating System
B. Application Software
C. System Software
D. All
B. Application Software
C. System Software
D. All
1-9. Which is the layer of a computer system between the hardware and the user program
A. Operating environment
B. Operating system
C. System environment
D. None
B. Operating system
C. System environment
D. None
1-10. The primary purpose of an operating system is:
A. To make the most efficient use of the computer hardware
B. To allow people to use the computer,
C. To keep systems programmers employed
D. To make computers easier to use
B. To allow people to use the computer,
C. To keep systems programmers employed
D. To make computers easier to use
Answers:
1 – B / 2 – B / 3 – A / 4 – C / 5 – B / 6 – C / 7 – D / 8 – A / 9 – B / 10 – A
2-1. When a computer is first turned on or restarted, a special type of absolute loader called ____ is executed
A. Compile and Go loader
B. Boot loader
C. Bootstrap loader
D. Relating loader
B. Boot loader
C. Bootstrap loader
D. Relating loader
2-2. Which of the following Operating systems is better for implementing a Client-Server network
A. MS DOS
B. Windows 95
C. Windows 98
D. Windows 2000
B. Windows 95
C. Windows 98
D. Windows 2000
2-3. The operating system manages
A. MemoryB. Processes
C. Disks and I/O devices
D. all of the above
2-4. Usually, in MSDOS, the primary hard disk drives has the drive letter ____
A. AB. B
C. C
D. D
2-5. What is the function of an operating system?
A. Manages computer’s resources very efficientlyB. Takes care of scheduling jobs for execution
C. Manages the flow of data and instructions
D. All of the above
2-6. Which is not the function of the Operating System?
A. Memory managementB. Disk management
C. Application management
D. Virus Protection
2-7. Which Operating System doesn’t support networking between computers?
A. Windows 3.1B. Windows 95
C. Windows 2000
D. Windows NT
2-8. Which Operating System doesn’t support long file names?
A. OS/2B. Windows 95
C. MS-DOS
D. Windows NT
2-9. Which file keeps commands to execute automatically when OS is started?
A. command.comB. any batch file
C. autoexec.bat
D. config.sys
2-10. What should be the extension to execute files?
A. EXEB. BAT
C. COM
D. All of the above
Answers:
1 – C / 2 – D / 3 – D / 4 – C / 5 – D / 6 – D / 7 – A / 8 – C / 9 – C / 10 – D
3-1 Which of the following file format supports in Windows 7?
A) NTFSB) BSD
C) EXT
D) All of the above
3-2 The Primary job of the operating system is
A) Manage CommandsB) Manage Users
C) Manage Programs
D) Manage Resources
3-3 What is the meaning of “Hibernate” in Windows XP/Windows 7?
A) Restart the Computer in safe modeB) Restart the Computer in hibernate mode
C) Shutdown the Computer terminating all the running applications
D) Shutdown the Computer without closing the running applications
3-4 Who is called a supervisor of computer activity?
A) MemoryB) Operating System
C) I/O Devices
D) Control Unit
3-5 Virtual Memory is
A) Extremely Large Main memory
B) Extremely Large Secondary memory
C) An illusion of extremely large main memory
D) An illusion of extremely large secondary memory
3-6 Operating System manages
A) Memory
B) Processor
C) I/O devices
D) All of the above
3-7 What should be the first step while OS upgrading?
A) Delete old Operating System
B) Backup old Operating System
C) Backup Critical Data
D) Format Hard Disks
3-8 Unix Operating System is an
A) Multi User Operating System
B) Time Sharing Operating System
C) Multi Tasking Operating System
D) All the Above
3-9 In which type of the following OS, the response time is very crucial.
A) Network Operating System
B) Real Time Operating System
C) Batch Operating System
D) Unix Operating System
3-10 The file system “NTFS” stands for
A) New Type File System
B) Never Terminated File System
C) New Technology File System
D) Non Terminated File System
Answers:
1 – A / 2 – D / 3 – D / 4 – B / 5 – C / 6 – D / 7 – C / 8 – D / 9 – B / 10 – C
4-1 Which one of the following is not the function of Operating System?
A. Resource Management
B. File Management
C. Networking
D. Processor Management
4-2 The Banker’s algorithm is used
A. to rectify deadlock
B. to detect deadlock
C. to prevent deadlock
D. to slove deadlock
4-3 Which of the following concept is best to preventing page faults?
A. Paging
B. The working set
C. Hit ratios
D. Address location resolution
4-4 Which of the following memory unit that processor can access more rapidly
A. Main Memory
B. Virtual Memory
C. Cache memory
D. Read Only Memory
4-5 A page fault occurs when
A. the Deadlock happens
B. the Segmentation starts
C. the page is found in the memory
D. the page is not found in the memory
4-6 Bringing a page into memory only when it is needed, this mechanism is called
A. Deadlock
B. Page Fault
C. Dormant Paging
D. Demand Paging
4-7 First-in-First-Out (FIFO) scheduling is
A. Non Preemptive Scheduling
B. Preemptive Scheduling
C. Fair Share Scheduling
D. Deadline Scheduling
4-8 Copying a process from memory to disk to allow space for other processes is Called
A. Swapping
B. Deadlock
C. Demand Paging
D. Page Fault
4-9. The necessary conditions needed before deadlock can occur?
A. No Mutual Exclusion, Hold and wait, Preemption, Circular Wait
B. Mutual Exclusion, No Hold and wait, Preemption, Circular Wait
C. Mutual Exclusion, Hold and wait, No Preemption, Circular Wait
D. Mutual Exclusion, Hold and wait, Preemption, No Circular Wait
4-10 A program in execution is called
A. A Paging
B. A Process
C. A virtual memory
D. A Demand Page
Answers:
1 – C / 2 – C / 3 – B / 4 – C / 5 – D / 6 – D / 7 – A / 8 – A / 9 – C / 10 – B
5-1 What does Belady’s Anomaly related to?
A. Page Replacement Algorithm
B. Memory Management Algorithm
C. Deadlock Prevention Algorithm
D. Disk Scheduling Algorithm
5-2 What are the two types of Semaphore?
A. Digital Semaphores and Binary Semaphores
B. Analog Semaphores and Octal Semaphores
C. Counting Semaphores and Binary Semaphores
D. Critical Semaphores and System Semaphores
5-3 What is dispatch latency?
A. The time taken by the dispatcher to stop one process and start another
B. The time taken by the processor to write a file into disk
C. The whole time taken by all processor
D. None of Above
5-4 Which of the following is not process states?
A. New
B. Running
C. Ready
D. Finished
5-5 What are the requirements for the solution to critical section problem?
A. Mutual Exclusion
B. Progress
C. Bounded Waiting
D. All of Above
5-6 Which of the following is the allocation method of a disk space?
A. Contiguous allocation
B. Linked allocation
C. Indexed allocation
D. All of the Above
5-7 What is the method of handling deadlocks?
A. Use a protocol to ensure that the system will never enter a deadlock state.
B. Allow the system to enter the deadlock state and then recover.
C. Pretend that deadlocks never occur in the system.
D. All of the Above
5-8 What do you mean by Memory Compaction?
A. Combine multiple equal memory holes into one big hole
B. Combine multiple small memory holes into one big hole
C. Divide big memory hole into small holes
D. Divide memory hole by 2
5-9 What is Thrashing?
A. A high paging activity is called thrashing.
B. A high executing activity is called thrashing
C. A extremely long process is called thrashing
D. A extremely long virtual memory is called thrashing
5-10 What hole will allocates in “Worst-Fit” algorithm of memory management?
A. It allocates the smaller hole than required memory hole
B. It allocates the smallest hole from the available memory holes
C. It allocates the largest hole from the available memory holes
D. It allocates the exact same size memory hole
Answers:
1 – A / 2 – C / 3 – A / 4 – D / 5 – D / 6 – D / 7 – D / 8 – B / 9 – A / 10 – C
6-1 An operating system is a program or a group of programs that
A. Helps in checking the spelling of Word
B. Maintain the relationship in Database
C. Manages the resources of the Computer
D. Performs the calculations of cells in Excel
6-2 What is contained in the page table?
A. Base address of each frame and corresponding page number
B. Memory address and corresponding page number
C. File name and corresponding page number
D. None of Above
6-3 The chunks of a memory are known as
A. Sector
B. Offset
C. Page
D. Frame
6-4 Which of the following is an essential file of a MS-DOS boot disk?
A. COMMAND.COMB. START.COM
C. TREE.COM
D. VER.COM
6-5 Which of the following operating system reads and reacts in actual time?
A. Quick Response SystemB. Real Time System
C. Time Sharing System
D. Batch Processing System
6-6 Which of the following resources must be protected by the operating system?
A. I/OB. Memory
C. CPU
D. All of the above
6-7 Command Interpreter is also known as
A. PromptB. Shell
C. Command
D. DOS Prompt
6-8 Which of the following is major activities of an operating system in regard to secondary-storage management?
A. Free-space managementB. Storage allocation
C. Disk scheduling
D. All of the above
6-9 Which of the following are System Programming Language?
A. CB. PL/360
C. Pascal
D. All of the above
6-10 The operating system keeps the information of files in a table called
A. File Folder Table (FFT)B. File Index Table (FIT)
C. File Allocation Table (FAT)
D. Directory Index Table (DIT)
Answers:
1 – C / 2 – A / 3 – D / 4 – A / 5 – B / 6 – D / 7 – B / 8 – D / 9 – D / 10 – C
7-1. Paging is implemented in
A. Operating SystemB. Hardware
C. Software
D. All of them
7-2. Page-Table length register (PTLR) indicates size of
A. Page TableB. Paging File
C. Main Memory
D. Virtual Memory
7-3. Bring a page into memory only when it is needed is called
A. Demand MemoryB. Demand Paging
C. Page Fault
D. Page Segmentation
7-4. Which of the following is not the approach to Handling Deadlocks
A. Deadlock PreventionB. Deadlock Avoidance
C. Detect & Recover
D. Virtual Memory
7-5. Which scheduler selects which processes should be brought into the ready queue?
A. Real-termB. Long-term
C. Mid-term
D. Short-term
7-6. Dived logical memory into blocks with the same size as frames are called
A. PagesB. Frames
C. Page Table
D. Segmentation
7-7. Which memory allocation policy allocate the largest hole to the process?
A. Best-FitB. Worst-Fit
C. First-Fit
D. None of them
7-8. When there is enough memory to fit a process in memory, but the space is not contiguous we need
A. Internal FragmentationB. Virtual Fragmentation
C. External Fragmentation
D. None of them
7-9. Piece of code that only one thread can execute at a time is called
A. Mutual ExclusionB. Critical Section
C. Synchronization
D. All of them
7-10. When a thread waits indefinitely for some resource, but other threads are actually using it is called
A. StarvationB. Demand Paging
C. Segmentation
D. None of them
Answers:
1 – B / 2 – A / 3 – B / 4 – D / 5 – B / 6 – A / 7 – B / 8 – C / 9 – B / 10 – A