Each question below shows the correct answer with a full explanation. Use these to build conceptual understanding before attempting a timed quiz.
Secondary StorageEasy
Q1. Secondary storage refers to:
- A.Processor register files
- B.Non-volatile storage like disks✓ Correct
- C.Random access memory chips
- D.CPU cache memory modules
Explanation
Secondary storage consists of non-volatile storage devices (hard drives, SSDs, optical disks) that retain data even when power is off, providing permanent storage for programs and data.
Report an error in this question
Secondary StorageEasy
Q2. A hard disk drive (HDD) stores data on:
- A.Flash memory components
- B.Semiconductor memory chips
- C.Rotating magnetic platters✓ Correct
- D.Optical disc technology
Explanation
A hard disk drive stores data on rotating magnetic platters. Data is read/written by a read/write head that moves across the surface of the spinning platters.
Report an error in this question
Secondary StorageEasy
Q3. Seek time in a disk drive is:
- A.Time for the disk to spin to correct sector
- B.Time to transfer requested data from disk
- C.Time for the head to move to correct track✓ Correct
- D.Time to process and queue the I/O request
Explanation
Seek time is the time required for the disk arm to move the read/write head to the track (cylinder) containing the desired data. It is typically the largest component of disk access time.
Report an error in this question
Secondary StorageEasy
Q4. The SSTF (Shortest Seek Time First) disk scheduling algorithm:
- A.Services the closest request to head✓ Correct
- B.Always moves the head toward outer
- C.Services the largest request first
- D.Services all requests in arrival order
Explanation
SSTF selects the request with the minimum seek time from the current head position. It reduces total head movement but may cause starvation of requests far from the head.
Report an error in this question
Secondary StorageEasy
Q5. Rotational latency is:
- A.Time to start the disk motor from stopped
- B.Time for desired sector to rotate under head✓ Correct
- C.Time for the head to move to correct track
- D.Time to format a disk sector with structure
Explanation
Rotational latency is the time waiting for the desired sector to rotate under the read/write head after the head has been positioned on the correct track. On average, it is half of one full rotation time.
Report an error in this question
Secondary StorageEasy
Q6. A disk partition is:
- A.A physical disk drive unit in chassis
- B.A type of data file stored on the disk
- C.A backup copy of the entire disk drive
- D.An independent section with own file system✓ Correct
Explanation
A disk partition is a logically independent section of a physical disk. Each partition can be formatted with its own file system and acts as a separate logical disk.
Report an error in this question
Secondary StorageEasy
Q7. FCFS disk scheduling processes disk I/O requests:
- A.Based on closest track first
- B.In the order they arrive✓ Correct
- C.In reverse arrival order
- D.Based on request priority
Explanation
FCFS (First-Come, First-Served) disk scheduling services disk I/O requests in the order they arrive. It is simple but can result in long seek times due to random head movements.
Report an error in this question
Secondary StorageEasy
Q8. Disk formatting prepares a disk for use by:
- A.Deleting all viruses from the disk
- B.Creating file system structure on disk✓ Correct
- C.Increasing the disk rotational speed
- D.Adding more storage space to a disk
Explanation
Disk formatting creates the necessary data structures (file system metadata, directory structures, free space tracking) on the disk so the OS can store and retrieve files.
Report an error in this question
Secondary StorageEasy
Q9. A Solid State Drive (SSD) stores data using:
- A.Magnetic tape reels
- B.Magnetic platters
- C.Flash memory chips✓ Correct
- D.Optical technology
Explanation
SSDs use flash memory (NAND) to store data electronically. They have no moving parts, resulting in faster access times, lower power consumption, and greater durability compared to HDDs.
Report an error in this question
Secondary StorageEasy
Q10. Disk access time is the sum of:
- A.Only the seek time component alone
- B.Only the data transfer time component
- C.Only the rotational latency component
- D.Seek time, rotational latency, transfer time✓ Correct
Explanation
Total disk access time = seek time (moving head to correct track) + rotational latency (waiting for sector to come under head) + data transfer time (reading/writing the data).
Report an error in this question
Secondary StorageMedium
Q11. The SCAN (elevator) disk scheduling algorithm:
- A.Moves head one direction servicing, then reverses✓ Correct
- B.Only scans tracks that have pending I/O requests
- C.Scans files for viruses and malware threats
- D.Scans all tracks in a random selection order
Explanation
SCAN moves the disk arm in one direction, servicing all requests along the way until it reaches the end of the disk, then reverses direction. It is called the elevator algorithm due to its similarity to elevator movement.
Report an error in this question
Secondary StorageMedium
Q12. The C-SCAN (Circular SCAN) algorithm differs from SCAN in that:
- A.It only works on solid state drives not on HDDs
- B.It is slower than the standard SCAN algorithm is
- C.Returns to start without servicing for uniform wait✓ Correct
- D.It never reverses the head direction at all
Explanation
C-SCAN treats the cylinders as circular. When the head reaches one end, it immediately returns to the beginning without servicing requests during the return trip, providing more uniform wait times.
Report an error in this question
Secondary StorageMedium
Q13. The LOOK disk scheduling algorithm differs from SCAN in that:
- A.It is significantly slower than the SCAN algorithm
- B.Reverses when no more requests ahead, not at end✓ Correct
- C.It only handles one single request at a time
- D.It looks at all pending requests before starting
Explanation
LOOK is a practical version of SCAN that reverses direction when there are no more requests ahead in the current direction, rather than always traveling to the physical end of the disk.
Report an error in this question
Secondary StorageMedium
Q14. Why is disk scheduling less important for SSDs compared to HDDs?
- A.SSDs use a completely different data interface
- B.SSDs are actually slower than HDDs overall
- C.SSDs have no moving parts, so seek is negligible✓ Correct
- D.SSDs cannot handle multiple concurrent requests
Explanation
SSDs have no mechanical head movement, so there is no seek time or rotational latency. Access time is nearly uniform regardless of data location, making traditional disk scheduling algorithms less relevant.
Report an error in this question
Secondary StorageMedium
Q15. RAID 0 provides:
- A.Data redundancy only for safety
- B.Performance via striping, no redundancy✓ Correct
- C.Mirroring of data across two disks
- D.Parity-based protection from failure
Explanation
RAID 0 stripes data across multiple disks for improved read/write performance but provides no redundancy. If any disk fails, all data is lost.
Report an error in this question
Secondary StorageMedium
Q16. RAID 1 provides:
- A.No data protection of any kind
- B.Striping data across disks only
- C.Parity-based protection on disks
- D.Mirroring via duplicate on disks✓ Correct
Explanation
RAID 1 mirrors data by keeping identical copies on two or more disks. It provides high data reliability at the cost of double the storage, and read performance can be improved by reading from both disks.
Report an error in this question
Secondary StorageMedium
Q17. RAID 5 uses:
- A.Double parity across all the disks
- B.Block striping with distributed parity✓ Correct
- C.No redundancy of any kind at all
- D.Only mirroring for redundancy
Explanation
RAID 5 uses block-level striping with distributed parity spread across all disks. It can tolerate one disk failure, offers good read performance, and has efficient storage utilization (only one disk worth of parity).
Report an error in this question
Secondary StorageMedium
Q18. Low-level (physical) formatting creates:
- A.Logical partitions and volume table structures
- B.A high-level file system and all its metadata
- C.Sector structure with headers and error correction✓ Correct
- D.Directories and user files on the disk surface
Explanation
Low-level formatting divides the disk surface into sectors that the controller can read and write. It writes sector headers, data areas, and error-correcting codes for each sector. This is done at the factory.
Report an error in this question
Secondary StorageHard
Q19. What is the TRIM command in the context of SSDs?
- A.A command to reduce overall file size used
- B.A command to trim long file names shorter
- C.Tells SSD which blocks are free for erasure✓ Correct
- D.A command to resize existing disk partitions
Explanation
TRIM informs the SSD controller which blocks contain deleted data and can be erased. Without TRIM, the SSD must erase-before-write during future operations, degrading performance. TRIM enables proactive garbage collection.
Report an error in this question
Secondary StorageHard
Q20. What is wear leveling in SSDs and why is it necessary?
- A.Equalizing read speeds across memory blocks
- B.Distributing physical wear on the drive casing
- C.Distributing write/erase cycles evenly on cells✓ Correct
- D.Leveling the drive in its mounting bracket
Explanation
Flash memory cells have a limited number of write/erase cycles. Wear leveling distributes these operations evenly across all cells to prevent some cells from wearing out prematurely, extending the SSD's overall lifespan.
Report an error in this question
Secondary StorageMedium
Q21. The boot block on a disk contains:
- A.Bootstrap code to load OS✓ Correct
- B.User data and documents
- C.Error correction for sectors
- D.File system metadata tables
Explanation
The boot block (boot sector) contains the bootstrap program that is loaded and executed when the system starts up. It initializes the system and begins loading the operating system.
Report an error in this question
Secondary StorageMedium
Q22. A swap space on a disk is used for:
- A.Disk defragmentation temporary workspace
- B.Exchanging files between different users
- C.Temporary file storage for applications
- D.Storing pages swapped out from memory✓ Correct
Explanation
Swap space is a dedicated area on disk used by the virtual memory system to store pages that have been swapped out of main memory, extending the available memory beyond physical RAM.
Report an error in this question
Secondary StorageHard
Q23. What is the difference between RAID 5 and RAID 6?
- A.RAID 6 uses mirroring instead of distributed parity
- B.There is no significant difference between them at all
- C.RAID 6 is faster in overall performance than RAID 5
- D.RAID 6 uses double parity, surviving two disk failures✓ Correct
Explanation
RAID 6 extends RAID 5 by adding a second parity block, enabling the array to survive two simultaneous disk failures. This provides higher reliability at the cost of additional storage overhead and slightly slower writes.
Report an error in this question
Secondary StorageHard
Q24. What is disk striping and how does it improve performance?
- A.Painting visual stripes on the disk surface
- B.Removing unused sectors from the disk drive
- C.Compressing data stored on the disk drive
- D.Distributing data across disks for parallel I/O✓ Correct
Explanation
Disk striping splits data across multiple disks at the bit, byte, or block level. This allows parallel I/O operations - multiple disks can read/write simultaneously, multiplying the effective throughput.
Report an error in this question
Secondary StorageHard
Q25. What is the I/O scheduler's role in Linux and how do different schedulers (CFQ, deadline, noop) differ?
- A.They all work in an identical way overall
- B.CFQ ensures fairness; deadline prevents starvation; noop for SSDs✓ Correct
- C.They only differ in their names not in actual behavior
- D.They are all deprecated and no longer used in modern Linux
Explanation
CFQ (Completely Fair Queuing) allocates I/O bandwidth fairly. Deadline scheduler ensures requests are served within a time deadline. Noop performs simple FIFO with merging, ideal for SSDs where seek optimization is unnecessary.
Report an error in this question
Secondary StorageHard
Q26. What is the purpose of a disk controller's command queue (NCQ/TCQ)?
- A.To queue commands issued by the user at terminal
- B.To encrypt all disk commands for data security
- C.To reorder pending I/O for reduced head movement✓ Correct
- D.To limit the number of concurrent disk requests
Explanation
Native Command Queuing (NCQ) allows the disk to accept multiple commands and reorder their execution internally to minimize head movement and rotational latency, improving overall throughput.
Report an error in this question
Secondary StorageHard
Q27. What is the write amplification problem in SSDs?
- A.Data being written too quickly to the drive
- B.Amplified noise during write operations on the drive
- C.Physical writes exceed logical due to garbage collection✓ Correct
- D.Writing same data multiple times for data redundancy
Explanation
Write amplification occurs because SSDs must erase entire blocks before writing. Garbage collection may require reading, erasing, and rewriting valid data from partially-used blocks, causing more physical writes than the logical data would suggest.
Report an error in this question
Secondary StorageHard
Q28. What is a hot spare disk in RAID configurations?
- A.A disk that runs at higher operating temperature
- B.An unused disk that auto-replaces a failed disk✓ Correct
- C.A backup disk stored off-site for recovery use
- D.A disk storing the most frequently accessed files
Explanation
A hot spare is an inactive disk installed in a RAID array. When an active disk fails, the hot spare is automatically activated and data is rebuilt onto it, minimizing the window of vulnerability.
Report an error in this question
Secondary StorageHard
Q29. What is the difference between NVMe and SATA interfaces for SSDs?
- A.SATA is faster than NVMe in all standard benchmarks
- B.NVMe uses PCIe for higher bandwidth and lower latency✓ Correct
- C.NVMe only works with traditional hard disk drive units
- D.They are the exact same interface standard overall
Explanation
NVMe (Non-Volatile Memory Express) is a protocol designed for SSDs using PCIe lanes, offering much higher bandwidth (up to 7 GB/s vs 600 MB/s), lower latency, and deeper command queues compared to the SATA interface.
Report an error in this question
Secondary StorageHard
Q30. What is the significance of the 4K sector size (Advanced Format) in modern disk drives?
- A.It slows down the disk read and write speed
- B.It reduces overall disk capacity significantly
- C.It is designed only for SSD drives and not HDDs
- D.Larger sectors improve error correction and efficiency✓ Correct
Explanation
Advanced Format uses 4K sectors instead of traditional 512-byte sectors. Larger sectors reduce the ratio of overhead (headers, ECC) to data, improve error correction capability, and better align with OS block sizes.
Report an error in this question