Operating System MCQ - Memory Management
Memory Management MCQs : This section focuses on "Memory Management" in Operating System. These Multiple Choice Questions (MCQ) should be practiced to improve the Operating System skills required for various interviews (campus interview, walk-in interview, company interview), placements, entrance exams and other competitive examinations.
1. What is true about memory management?
A. Memory management keeps track of each and every memory location
B. It decides which process will get memory at what time.
C. It tracks whenever some memory gets freed or unallocated and correspondingly it updates the status.
D. All of the above
View Answer
Ans : D
Explanation: All the statement are correct.
2. In Process Address Space, The loader generates these addresses at the time when a program is loaded into main memory is ?
A. Symbolic addresses
B. Relative addresses
C.
Physical addresses
D. None of the above
View Answer
Ans : C
Explanation: Physical addresses : The loader generates these addresses at the time when a program is loaded into main memory.
3. In Process Address Space, The variable names, constants, and instruction labels are the basic elements of ____________.
A. Symbolic addresses
B. Relative addresses
C.
Physical addresses
D. None of the above
View Answer
Ans : A
Explanation: Symbolic addresses : The addresses used in a source code. The variable names, constants, and instruction labels are the basic elements of the symbolic address space.
4. The set of all physical addresses corresponding to these logical addresses is referred to as?
A. Logical address space.
B. Physical address space.
C. MMU address space
D. Virtual address space.
View Answer
Ans : B
Explanation: The set of all physical addresses corresponding to these logical addresses is referred to as a physical address space.
5. With ________, the absolute program (and data) is loaded into memory in order for execution to start.
A. Static loading
B. Dynamic Loading
C. Static Linking
D. Dynamic Linking
View Answer
Ans : A
Explanation: At the time of loading, with static loading, the absolute program (and data) is loaded into memory in order for execution to start.
6. when ________ is used, the linker combines all other modules needed by a program into a single executable program to avoid any runtime dependency.
A. Static loading
B. Dynamic Loading
C. Static Linking
D. Dynamic Linking
View Answer
Ans : C
Explanation: when static linking is used, the linker combines all other modules needed by a program into a single executable program to avoid any runtime dependency.
7. Swapping is also known as a
A. technique for memory management
B. technique for memory compaction
C. technique for memory addresse
D. technique for dynamic linking
View Answer
Ans : B
Explanation: Swapping is also known as a technique for memory compaction.
8. How many types of Fragmentation are there?
A. 2
B. 3
C. 4
D. 5
View Answer
Ans : A
Explanation: Fragmentation is of two types: External fragmentation and Internal fragmentation.
9. In which type of Fragmentation, Memory block assigned to process is bigger. Some portion of memory is left unused, as it cannot be used by another process.
A. External fragmentation
B. Internal fragmentation
C. Both A and B
D. None of the above
View Answer
Ans : B
Explanation: Internal fragmentation : Memory block assigned to process is bigger. Some portion of memory is left unused, as it cannot be used by another process.
10. __________ is a memory management technique in which process address space is broken into blocks of the same size
A. Fragmentation
B. Frames
C. Paging
D. Address Translation
View Answer
Ans : C
Explanation: Paging is a memory management technique in which process address space is broken into blocks of the same size called pages.
Discussion