Professional Documents
Culture Documents
Basic Objective Questions of OS - ETT
Basic Objective Questions of OS - ETT
Ans:- c
Ans:-a
(a) Copy
(b) Transfer
(d) Owner
Ans:- d
a. a security hole, inserted at programming time in the system for later use
b. a type of antivirus
Answer: (a). a security hole, inserted at programming time in the system for later use
a) Surveillance cameras
b) Biometric authentication
c) Firewalls
d) Security guards
Unit -5 Memory Management: -
1. What is the primary purpose of memory management in an operating
system? a) To allocate memory resources to processes b) To ensure data
integrity c) To manage CPU scheduling d) To handle I/O operations
Answer: a) To allocate memory resources to processes
2. Which of the following is not a memory management scheme? a) Paging b)
Segmentation c) Virtualization d) Fragmentation
Answer: d) Fragmentation
3. What is a page table used for in virtual memory systems? a) To map logical
addresses to physical addresses b) To store the contents of pages c) To
manage CPU registers d) To schedule I/O operations
Answer: a) To map logical addresses to physical addresses
4. What is thrashing in the context of memory management? a) The process of
swapping out idle processes to disk b) Excessive paging activity that leads
to a decrease in CPU utilization c) The process of allocating memory to a
process d) The fragmentation of memory into small, unusable chunks
Answer: b) Excessive paging activity that leads to a decrease in CPU utilization
5. Which of the following is not a memory allocation algorithm? a) First Fit b)
Best Fit c) Round Robin d) Worst Fit
Answer: c) Round Robin
6. What is internal fragmentation in memory management? a) Wasted memory
within a partition due to inefficient allocation b) The loss of data integrity
during memory allocation c) The fragmentation of memory into small,
unusable chunks d) The process of swapping out processes to disk
Answer: a) Wasted memory within a partition due to inefficient allocation
7. Which memory management scheme divides physical memory into fixed-
sized blocks? a) Paging b) Segmentation c) Swapping d) Contiguous
allocation
Answer: d) Contiguous allocation
8. What is the purpose of the MMU (Memory Management Unit) in memory
management? a) To manage CPU scheduling b) To translate logical
addresses to physical addresses c) To perform arithmetic and logical
operations on memory d) To handle disk I/O operations
Answer: b) To translate logical addresses to physical addresses
9. What is segmentation in memory management? a) Dividing memory into
fixed-sized blocks b) Dividing memory into variable-sized segments c)
Swapping processes between main memory and disk d) Mapping logical
addresses to physical addresses
Answer: b) Dividing memory into variable-sized segments
10. What is the primary disadvantage of using the First Fit memory allocation
algorithm? a) It may lead to external fragmentation b) It requires excessive
CPU overhead c) It may result in inefficient memory utilization d) It is not
suitable for systems with high memory demand
Answer: a) It may lead to external fragmentation
11. What is the purpose of swapping in memory management? a) To allocate
memory to a process b) To divide memory into fixed-sized blocks c) To move
entire processes between main memory and disk d) To cache frequently
accessed pages
Answer: c) To move entire processes between main memory and disk
12. What is the main difference between internal and external fragmentation?
Answer: a) Internal fragmentation occurs within a single memory block,
while external fragmentation occurs between multiple memory blocks.
13. What is a page fault in memory management? a) A condition where a
process requires more memory than is physically available b) A condition
where a process accesses a page that is not currently in main memory c) A
condition where a process holds onto memory resources without utilizing
them d) A condition where a process experiences excessive paging activity
Answer: b) A condition where a process accesses a page that is not
currently in main memory
14. What is virtual memory? a) A memory management technique that allows
processes to use more memory than is physically available. b) A type of
memory used exclusively for virtual machines. c) A hardware component
used to store CPU instructions. d) A technique for managing cache memory.
Answer: a) A memory management technique that allows processes to use
more memory than is physically available.
15. What is the purpose of virtual memory? a) To increase the size of physical
memory. b) To reduce the need for secondary storage. c) To provide a
uniform address space for processes. d) To eliminate the need for CPU
cache.
Answer: c) To provide a uniform address space for processes.
16. Which of the following is not a benefit of virtual memory? a) Increased
system performance b) Simplified memory management c) Protection and
isolation of processes d) Reduced I/O operations
Answer: d) Reduced I/O operations
17. What is a page fault? a) A condition where a process accesses a page that is
not currently in main memory. b) A condition where a process accesses a
page that is corrupted. c) A condition where a process exceeds its allocated
memory quota. d) A condition where a process attempts to access memory
reserved for the operating system.
Answer: a) A condition where a process accesses a page that is not
currently in main memory.
18. What is the role of the page table in virtual memory? a) To store the contents
of pages. b) To map virtual addresses to physical addresses. c) To manage
disk I/O operations. d) To track the execution of processes.
Answer: b) To map virtual addresses to physical addresses.
19. Which component is responsible for translating virtual addresses to physical
addresses in virtual memory systems? a) CPU b) MMU (Memory
Management Unit) c) Secondary storage d) Disk controller
Answer: b) MMU (Memory Management Unit)
20. What is a TLB (Translation Lookaside Buffer) in virtual memory systems? a)
A buffer used to store CPU instructions. b) A cache for virtual-to-physical
address translations. c) A hardware component for managing disk I/O
operations. d) A mechanism for managing CPU scheduling.
Answer: b) A cache for virtual-to-physical address translations.
21. How does demand paging improve memory efficiency? a) By preloading all
pages into memory before they are needed. b) By loading only the necessary
pages into memory as they are required. c) By increasing the size of the page
table. d) By using a larger page size.
Answer: b) By loading only the necessary pages into memory as they are
required.
22. What is the difference between swapping and paging in virtual memory?
Answer: a) Swapping moves entire processes between main memory and
disk, while paging moves individual pages.
23. How does virtual memory contribute to process isolation and protection? a)
By preventing processes from accessing memory reserved for the operating
system. b) By providing each process with its own virtual address space. c)
By restricting the size of the page table. d) By increasing the speed of
memory access.
Answer: b) By providing each process with its own virtual address space.