OS FINALS Flashcards
(125 cards)
Which of the following best describes the primary storage medium for Hard Disk Drives (HDDs)?
A) Semiconductor chips
B) Magnetically-coated platters
C) Optical discs
D) Flash memory cells
Magnetically-coated platters
What is the term for the rate at which data flows between a drive and the computer?
A) Seek time
B) Rotational latency
C) Transfer rate
D) Access time
Transfer rate
Positioning time in an HDD is composed of:
A) Transfer rate and controller overhead
B) Seek time and rotational latency
C) Spindle speed and platter size
D) Block size and sector size
Seek time and rotational latency
A head crash in an HDD occurs when:
A) The controller fails to process a command
B) The disk head makes contact with the disk surface
C) The transfer rate exceeds the bus capacity
D) The drive receives a power surge
The disk head makes contact with the disk surface
What is the typical range for seek time in common desktop HDDs?
A) 0.1ms to 0.5ms
B) 1ms to 2ms
C) 3ms to 12ms
D) 15ms to 30ms
3ms to 12ms
How is average latency calculated for an HDD?
A) Equal to seek time
B) ½ of the time for a full rotation
C) RPM / 60
D) 1/3 of the maximum latency
½ of the time for a full rotation
What was a characteristic of the IBM Model 350 disk storage system (the first commercial disk)?
A) It used solid-state technology
B) It had a capacity of several Terabytes
C) It used 50 x 24” platters
D) Access time was in microseconds
It used 50 x 24” platters
Solid-State Disks (SSDs) are a type of:
A) Volatile Memory Drive
B) Magnetic Tape Drive
C) Optical Storage Drive
D) Non-volatile Memory Drive
Non-volatile Memory Drive
Which of the following is a characteristic challenge of NVM devices like SSDs?
A) They have moving parts, leading to seek time
B) Data must be erased in larger “block” increments before a “page” can be rewritten
C) They are generally less expensive per MB than HDDs
D) They have an unlimited number of erase/write cycles
Data must be erased in larger “block” increments before a “page” can be rewritten
What does the Flash Translation Layer (FTL) in an NVM controller primarily manage?
A) The speed of data transfer to the PCI bus
B) Tracking which logical blocks are valid and implementing garbage collection
C) The rotational speed of virtual platters
D) Power consumption during idle states
Tracking which logical blocks are valid and implementing garbage collection
What does “drive writes per day (DWPD)” measure for an NVM device?
A) The average number of read operations per day
B) The expected lifespan in terms of data written daily within the warranty period
C) The speed at which data can be written to the drive
D) The number of physical drives that can be connected per day
The expected lifespan in terms of data written daily within the warranty period
Why is wear-leveling important for NAND flash memory?
A) To ensure the drive surface is smooth for the read/write heads
B) To distribute write operations evenly across all cells, extending lifespan
C) To reduce the rotational latency of the memory cells
D) To increase the effective transfer rate of the drive
To distribute write operations evenly across all cells, extending lifespan
DRAM is sometimes used as a mass-storage device (RAM drive). What is its main disadvantage in this role compared to NVM?
A) It is much slower
B) It is volatile
C) It has a higher capacity
D) It has moving parts
It is volatile
Disk drives are addressed as a large 1-dimensional array of:
A) Cylinders
B) Tracks
C) Logical blocks
D) Physical sectors
Logical blocks
Low-level formatting of a disk primarily:
A) Installs the operating system
B) Creates partitions for different file systems
C) Divides the disk into sectors that the controller can read and write
D) Sets up user accounts and permissions
Divides the disk into sectors that the controller can read and write
How are logical blocks typically mapped to the physical sectors of a disk?
A) Randomly to improve access times
B) Sequentially, starting from the innermost cylinder
C) Sequentially, starting from the first sector of the first track on the outermost cylinder
D) Based on the frequency of access for each block
Sequentially, starting from the first sector of the first track on the outermost cylinder
Which bus interface, connecting directly to the PCI bus, is designed for high-speed NVM devices?
A) SATA
B) USB
C) NVMe
D) eSATA
NVMe
What is the purpose of a host controller (or host-bus adapter, HBA) in disk attachment?
A) To spin the disk platters
B) To manage the file system structure
C) To act as the interface on the computer end of the bus, sending commands to the device controller
D) To provide non-volatile storage for boot instructions
To act as the interface on the computer end of the bus, sending commands to the device controller
Which I/O scheduling algorithm services requests in the order they arrive?
A) SCAN
B) SSTF
C) C-SCAN
D) FCFS
FCFS
Shortest Seek Time First (SSTF) scheduling may lead to:
A) Excessive head movement
B) Starvation of some requests
C) More uniform wait times for all requests
D) Servicing requests only in one direction
Starvation of some requests
The SCAN disk-scheduling algorithm is sometimes called the:
A) Elevator algorithm
B) FCFS algorithm
C) Round-robin algorithm
D) Priority algorithm
Elevator algorithm
How does C-SCAN differ from SCAN?
A) C-SCAN services requests in both directions of head movement.
B) C-SCAN only services requests in one direction; on the return trip, it goes to the beginning without servicing.
C) C-SCAN prioritizes requests based on their size.
D) C-SCAN always starts from the middle of the disk.
C-SCAN only services requests in one direction; on the return trip, it goes to the beginning without servicing.
For NVM scheduling, what is a common approach like NOOP often combined with?
A) Simulating head movement for compatibility
B) Introducing artificial rotational latency
C) Combining adjacent LBA requests
D) Prioritizing write operations over read operations
Combining adjacent LBA requests
What is write amplification in NVM devices?
A) A technique to increase the speed of write operations
B) The phenomenon where a single logical write causes multiple physical writes/reads due to garbage collection
C) A method to boost the signal strength for data being written
D) Increasing the size of data blocks to improve throughput
The phenomenon where a single logical write causes multiple physical writes/reads due to garbage collection