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.

25 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

_______ relocation refers to mapping from the virtual address space to the physical address space.

  1. Static
  2. Dynamic
  3. Consistent
  4. None of these
Question 2 Multiple Choice (Single Answer)

Code that executes correctly regardless of its load address is called ______ code.

  1. position dependent
  2. position independent
  3. location dependent
  4. none of these
Question 3 Multiple Choice (Single Answer)

Physical memory is divided into a number of fixed size slots called _______ frames.

  1. page
  2. segment
  3. location
  4. none of these
Question 4 Multiple Choice (Single Answer)

_____ addresses are the actual physical memory locations.

  1. Virtual
  2. Physical
  3. Both 1 and 2
  4. None of these
Question 5 Multiple Choice (Single Answer)

______ relocation(s) is/are performed at runtime.

  1. Static
  2. Dynamic
  3. Both 1 and 2
  4. None of these
Question 6 Multiple Choice (Single Answer)

_______ addresses are identifiers used to reference information within a program's address space.

  1. Virtual
  2. Physical
  3. Both 1 and 2
  4. None of these
Question 7 Multiple Choice (Single Answer)

The ______ system facilitates merging of free space by allocating free areas with an affinity to recombine.

  1. buddy
  2. boddy
  3. baddy
  4. none of these
Question 8 Multiple Choice (Single Answer)

______ relocation means that relocation is performed before or during the loading of the program into memory.

  1. Static
  2. Dynamic
  3. Consistent
  4. None of these
Question 9 Multiple Choice (Single Answer)

_______ is a memory management scheme that removes the requirement of contiguous allocation of physical memory.

  1. Relocation
  2. Swapping
  3. Paging
  4. None of these
Question 10 Multiple Choice (Single Answer)

All segment descriptors of a given process are collected in a table, which is called the _____ descriptor table.

  1. base
  2. segment
  3. address
  4. none of these
Question 11 Multiple Choice (Single Answer)

The _______ algorithm removes the page to be referenced in the most distant future.

  1. first-in-first-out
  2. least recently used
  3. optimal
  4. none of these
Question 12 Multiple Choice (Single Answer)

In paging systems, address translation is performed with the aid of a mapping table called the _______ table.

  1. page map
  2. segment map
  3. location map
  4. none of these
Question 13 Multiple Choice (Single Answer)

The _______ algorithm replaces the least recently used resident page.

  1. first-in-first-out
  2. least recently used
  3. optimal
  4. none of these
Question 14 Multiple Choice (Single Answer)

The _____ algorithm replaces the resident page that has spent the longest time in memory.

  1. first-in-first-out
  2. least recently used
  3. optimal
  4. none of these
Question 15 Multiple Choice (Single Answer)

The virtual address space of a process is split into fixed size blocks of the same size called _______.

  1. pages
  2. segments
  3. locations
  4. none of these
Question 16 Multiple Choice (Single Answer)

Logically related data items on the secondary storage are organized into _______.

  1. data
  2. records
  3. files
  4. none of these
Question 17 Multiple Choice (Single Answer)

A _______ directory contains all files in the system.

  1. plat
  2. plot
  3. flot
  4. flat
Question 18 Multiple Choice (Single Answer)

A single level directory is also called _______ directory.

  1. plat
  2. plot
  3. flot
  4. flat
Question 19 Multiple Choice (Single Answer)

In _____ directories, users can group the related files into sub-directories.

  1. single level
  2. flat
  3. hierarchical
  4. none of these
Question 20 Multiple Choice (Single Answer)

Data are stored on the magnetic disk surface in the form of concentric circles called ______.

  1. files
  2. paths
  3. tracks
  4. none of these
Question 21 Multiple Choice (Single Answer)

A number of blocks of data called _______ are recorded on each track.

  1. files
  2. paths
  3. sectors
  4. cylinders
Question 22 Multiple Choice (Single Answer)

Collection of tracks on all surfaces that are at the same distance from the disk spindle is called ______.

  1. file
  2. path
  3. sector
  4. cylinder
Question 23 Multiple Choice (Single Answer)

_______ disks have a seperate read/write head for each track.

  1. Fixed head
  2. Moving head
  3. Both 1 and 2
  4. None of these
Question 24 Multiple Choice (Single Answer)

_______ disks have either one or a few read/write heads per surface.

  1. Fixed head
  2. Moving head
  3. Both 1 and 2
  4. None of these
Question 25 Multiple Choice (Single Answer)

The time necessary to access the desired sector is called the _______.

  1. rotational latency
  2. access time
  3. waiting time
  4. none of these