Operating Systems: Memory Management and File Systems
Test your knowledge of operating system fundamentals including paging, virtual memory, page replacement algorithms, directory structures, and disk storage organization.
Questions
_______ relocation refers to mapping from the virtual address space to the physical address space.
- Static
- Dynamic
- Consistent
- None of these
Code that executes correctly regardless of its load address is called ______ code.
- position dependent
- position independent
- location dependent
- none of these
Physical memory is divided into a number of fixed size slots called _______ frames.
- page
- segment
- location
- none of these
_____ addresses are the actual physical memory locations.
- Virtual
- Physical
- Both 1 and 2
- None of these
______ relocation(s) is/are performed at runtime.
- Static
- Dynamic
- Both 1 and 2
- None of these
_______ addresses are identifiers used to reference information within a program's address space.
- Virtual
- Physical
- Both 1 and 2
- None of these
The ______ system facilitates merging of free space by allocating free areas with an affinity to recombine.
- buddy
- boddy
- baddy
- none of these
______ relocation means that relocation is performed before or during the loading of the program into memory.
- Static
- Dynamic
- Consistent
- None of these
_______ is a memory management scheme that removes the requirement of contiguous allocation of physical memory.
- Relocation
- Swapping
- Paging
- None of these
All segment descriptors of a given process are collected in a table, which is called the _____ descriptor table.
- base
- segment
- address
- none of these
The _______ algorithm removes the page to be referenced in the most distant future.
- first-in-first-out
- least recently used
- optimal
- none of these
In paging systems, address translation is performed with the aid of a mapping table called the _______ table.
- page map
- segment map
- location map
- none of these
The _______ algorithm replaces the least recently used resident page.
- first-in-first-out
- least recently used
- optimal
- none of these
The _____ algorithm replaces the resident page that has spent the longest time in memory.
- first-in-first-out
- least recently used
- optimal
- none of these
The virtual address space of a process is split into fixed size blocks of the same size called _______.
- pages
- segments
- locations
- none of these
Logically related data items on the secondary storage are organized into _______.
- data
- records
- files
- none of these
A _______ directory contains all files in the system.
- plat
- plot
- flot
- flat
A single level directory is also called _______ directory.
- plat
- plot
- flot
- flat
In _____ directories, users can group the related files into sub-directories.
- single level
- flat
- hierarchical
- none of these
Data are stored on the magnetic disk surface in the form of concentric circles called ______.
- files
- paths
- tracks
- none of these
A number of blocks of data called _______ are recorded on each track.
- files
- paths
- sectors
- cylinders
Collection of tracks on all surfaces that are at the same distance from the disk spindle is called ______.
- file
- path
- sector
- cylinder
_______ disks have a seperate read/write head for each track.
- Fixed head
- Moving head
- Both 1 and 2
- None of these
_______ disks have either one or a few read/write heads per surface.
- Fixed head
- Moving head
- Both 1 and 2
- None of these
The time necessary to access the desired sector is called the _______.
- rotational latency
- access time
- waiting time
- none of these