← Back to 18. The Linux System

πŸ“ Block devices in The Linux System

πŸ“– From Operating System β€’ 18. The Linux System β€’ 9 questions available

Practice MCQs for Block devices in The Linux System. Test your knowledge with carefully crafted questions across easy, medium, and hard difficulty levels.

πŸ”„ Last updated: 2026-07-27

2
Easy Questions
4
Medium Questions
3
Hard Questions

πŸ“ Sample Questions

Q1. What unit of storage does the Linux page cache use to hold file data?

πŸ”Ή A. Byte
πŸ”Ή B. Kilobyte
πŸ”Ή C. Page
πŸ”Ή D. Block

πŸ’‘ Difficulty: easy | βœ… Correct: C

Q2. A program reads a large file sequentially. Which mechanism ensures that subsequent reads are fast?

πŸ”Ή A. Page cache
πŸ”Ή B. Direct I/O
πŸ”Ή C. Swap space
πŸ”Ή D. Network buffering

πŸ’‘ Difficulty: medium | βœ… Correct: A

Q3. A device driver for a new block device wants to bypass the page cache for low‑latency writes. Which flag should it use when opening the file?

πŸ”Ή A. O_DIRECT
πŸ”Ή B. O_SYNC
πŸ”Ή C. O_RDONLY
πŸ”Ή D. O_TRUNC

πŸ’‘ Difficulty: hard | βœ… Correct: A

⬆️ View all questions in the quiz below

πŸ”— Related Topics

πŸ“ Linux HistoryπŸ“ The Linux kernelπŸ“ The Linux systemπŸ“ Linux distributionsπŸ“ Linux licensing
πŸš€ Start Quiz πŸ“ Practice Mode