MCQs on Operating System
Operating System is System Software which enables users to interrelate with the Hardware.
1. Moving Process from main memory to disk is called
- Scheduling
- Caching
- Swapping
- Spooling
Ans: C
2. A loader is
- A program that places programs into memory and prepares them for execution
- A program that automate the translation of assembly language into machine language
- A program that accepts a program written in a high level language and produces an object program
- Is a program that appears to execute a source program if it were machine language
Ans: A
3. Assembler is
- A program that places programs into memory and prepares them for execution
- A program that automate the translation of assembly language into machine language
- A program that accepts a program written in a high level language and produces an object program
- Is a program that appears to execute a source program if it were machine language
Ans: B
4. Real time systems are
- Primarily used on mainframe computers
- Used for monitoring events as they occur
- Used for program analysis
- Used for real-time interactive
Ans: B
5. When a computer is first turned on or restarted, a special type of absolute loader is executed, called a
- Compile and Go loader
- Boot loader
- Bootstrap loader
- Relating loader
Ans: C
6. In an absolute loading scheme, which loader function(s) is (are) accomplished by programmer
- Allocation
- Linking
- Both a and b
- Reallocation
Ans: C
7. The primary job of the operating system of a computer is to
- Command resources
- Manage resources
- Provide utilities
- Be user friendly
Ans: B
8. The operating system of a computer serves as a software interface between the user and
- Hardware
- Peripheral
- Memory
- Screen
Ans: A
9. The term “operating system” means
- A set of programs which controls computer working
- The way a computer operator works
- Conversion of high level language into machine code
- The way a floppy disk drives operates
Ans: A
10. Multiprogramming was made possible by
- input/output units that operate independently of the CPU
- Operating system
- Both a and b
- None of the above
Ans: C
11. Which of the following is not a part of operating system?
- supervisor
- Performance monitor
- job-control program
- Input/output control program
Ans: B
12. A processor
- Is a device that performs a sequence of operations specified by instructions in memory
- Is the device where information is stored
- Is a sequence of instructions
- Is typically characterized by interactive processing and time of the CPU’s time to allow quick response to each other
Ans: A
13. Producer consumer problem can be solved using
- Semaphores
- Event counters
- Monitors
- All of the above
Ans: D
14. Special software to create a job queue is called a
- Drive
- Spooler
- Interpreter
- Linkage editor
Ans: B
15. Thrashing
- Is a natural consequence of virtual memory system
- Can always be avoided by swapping
- Always occurs on large computers
- Can be caused by poor paging algorithms
Ans: D
16. Memory management is
- Not used in modern operating system
- Replaced with virtual memory on current system
- Not used on multiprogramming systems
- Critical for even the simplest operating system
Ans: B
17. Which is not true about the memory management?
- Virtual memory is used in multi-user system
- Segmentation suffers from external fragmentation
- Paging suffers from internal fragmentation
- Segmented memory can be paged
Ans: A
18. In the multiprogramming system, a set of processes is deadlock if each process in the set is waiting for an event to occur that can be initialized only by another process in the set. Which of the following is not one of the four conditions that are necessary for deadlock to occur?
- Nonpreemption
- Process suspension
- Partial assigment of resources
- Circular wait
Ans: B
19. Block or Buffer caches are used
- To improve disk performance
- To handle interrupts
- To increase the capacity of main memory
- To speed up main memory read operation
Ans: A
20. In virtual memory systems, Dynamic address translation
- Is the hardware necessary to implemented paging
- Stores pages at a specifies location on disk
- Is useless when swapping is used.
- Is part of the operating system paging algorithm
Ans: A