Identifying Paging Concepts
Which statement best describes the concept of paging in memory management?
- Memory is divided into fixed-size blocks called pages.
- Memory is allocated in variable-size blocks called segments.
- Addresses are directly mapped to secondary storage.
- System allocates memory to processes on a first-come basis.
- Every process has continuous blocks of memory allocation.
Base Register Function
In memory management, what role does the base register play?
- It stores the starting address of the process in memory.
- It points to the last address space used by the process.
- It is used to swap processes in and out of disk storage.
- It contains the memory address of the operating system kernel.
- It holds the value of the next free memory block.
Understanding Immediate Addressing
In immediate addressing mode, where is the operand specified?
- Within the instruction itself.
- At the address pointed to by a register.
- In the main memory location provided by the instruction.
- At the address obtained after adding two registers.
- Stored in the RAM buffer.
Segmented Memory Typos
Which option correctly defines segmented memory management?
- Memory is divided into variable-length segments based on logical divisions.
- Memory is split into equal-sized pages regardless of process needs.
- Segments are always of 4KB size.
- Processes cannot share segments between each other.
- Each process is always allocated one contiguous memory block.
Direct Addressing Errors
What is a main characteristic of direct addressing mode?
- The address field contains the effective memory address of the operand.
- The operand is always located in the register bank.
- Addresses are calculated by multiplying offsets and base.
- The instruction refers to data indirectly via stack pointer.
- Only constant values are accepted as operands.
Page Replacement Scenario
Which page replacement algorithm replaces the page that has not been used the longest?
- Least Recently Used (LRU)
- First-In First-Out (FIO)
- Most Frequently Used (MFU)
- Random Order Paging
- Last-In First-Out (LIIFO)
Indexed Addressing Mode Code
Given the instruction MOV A, 2000[X], which addressing mode is used here?
- Indexed addressing mode
- Immediate addressing mode
- Indirect addressing mode
- Base register addressing mode
- Register direct addressing mode
Thrashing Conceptualization
What does the term 'thrashing' refer to in memory management?
- Excessive paging activity slowing down the system.
- A process holding the CPU for too long.
- Frequent context switching between user and kernel modes.
- Allocation of memory to read-only processes.
- Swapping out inactive processes once every hour.
Relative Addressing Mode Typos
In relative addressing mode, how is the effective address calculated?
- By adding a constant value (displacement) to the program counter.
- By multiplying two address registers.
- By using only absolute memory addresses.
- By referencing the top value on the stack.
- By subtracting offset from the accumulator register.
Multi-level Paging
Which is a key advantage of using multi-level paging in memory management?
- It reduces the size of page tables stored in main memory.
- It increases the external fragmentation of memory.
- It ensures every process receives identical memory blocks.
- It completely eliminates the need for page tables.
- It makes address translation slower and more complex.