COSC 361 Final Prep

A visually engaging illustration of computer systems with a focus on disk scheduling, file systems, and I/O devices, incorporating elements like a hard drive, file structure, and CPU cores, in a colorful and modern design.

COSC 361 Final Prep Quiz

Prepare for your COSC 361 Final with this comprehensive quiz designed to test your knowledge on I/O devices, file systems, and disk scheduling techniques. Whether you're a student looking to reinforce your understanding or a teacher seeking an assessment tool, this quiz covers essential topics and concepts.

  • Multiple choice and checkbox questions
  • Focus on practical applications and theory
  • Suitable for self-assessment and review before exams
18 Questions4 MinutesCreated by StudyingWizard247
I/O device interrupts are used to what advantage?
Prevent using CPU cycles to poll device status
Prevent using CPU cycles to copy data to/from devices
Improve the response time of devices
Provide proper encapsulation of device functionality
Suppose we have 2 CPU cores (A and B). If we schedule a single threaded process on core A, then later schedule the same process on core B, which of the following are possible?
All pages of the process will be evicted from RAM
Values must be re-read from RAM into cache of core B even if previously cached in core A
If the program doesn't correctly use synchronization primitives, it might end up with race conditions causing incorrect answers
Values from the cache of core A might need to be written to RAM
Positioning time of a hard disk consists of what elements?
Rotational delay
Seek time
Transfer time
Track buffer
Track skew
Which of the following are issues with the SCAN disk scheduler?
Favors tracks on the outer edge of the platter
Favors tracks on the inner edge of the platter
Can cause starvation
Favors tracks in the middle of the platter
Which of the following are issues with the Shortest Seek Time First disk scheduler?
Favors tracks in the middle of the platter
Can cause starvation
Favors tracks on the outer edge of the platter
Favors tracks on the inner edge of the platter
What are the primary methods of device communication?
Device drivers
Memory mapped I/O
I/O instructions
POSIX API
Firmware
Direct Memory Access (DMA) is used to what advantage?
Prevent using CPU cycles to poll device status
Provide proper encapsulation of device functionality
Improve the response time of devices
Prevent using CPU cycles to copy data to/from devices
Very Simple File System uses what data structure to keep track of free inodes and data blocks?
Hash table
Heap
Bitmap
Free list
B-tree
What is used to detect a misdirected write?
Checksum
Firmware
Scrubbing
Physical identifier
Using a direct mapping flash translation layer has what issues?
Uneven wear out
Data loss
Severe write amplification
Internal fragmentation
Checksums are designed to detect what?
Lost writes
Latent Sector Errors
Block corruption
Misdirected writes
Due to the nature of flash's low-level operations (read, erase, program), what problem may occurs during a page write?
Data loss
Write amplification
Internal fragmentation
Uneven wear out
With a log-structured FTL, what is the issue with using page-level mapping?
Slows the performance of the garbage collector
Causes uneven wear out
Increases write amplification
Requires a large amount of memory to hold the lookup table
Log-structured file systems use a segment summary block to accomplish what?
Determine which data blocks are dead
Maximize bandwidth to disk when writing
Fault tolerance when some of the segment isn't readable
Recover after a power failure or system crash
Fast File System was developed to improve upon the poor performance of the original UNIX file system. What is the main reason the original UNIX file system performed poorly?
Large files have a larger space overhead than required
Pre-allocation of inode bitmap leaves much of the disk unused
Superblock I/O dominates the available bandwidth
Does not account for the physical properties of the storage medium
Large amount of internal fragmentation
Log-structured file systems use an imap to avoid what issue?
Fragmentation of disk space
Data loss when a disk fails
Recursive update problem
Inconsistency on system crash or power loss
Journaling is a technique used to ensure what?
Consistency of the file system when a disk sector cannot be read
Maximize throughput on I/O requests
Consistency of the file system after a system crash or power failure
Minimize positioning time on I/O requests
Maximize disk space for user data
Fast File System uses cylinder groups to group related blocks of information. When accessing blocks in the same group, which of the following is minimized?
Rotational delay
Power consumption
Seek time
Transfer bandwidth
Platter positioning
{"name":"COSC 361 Final Prep", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Prepare for your COSC 361 Final with this comprehensive quiz designed to test your knowledge on I\/O devices, file systems, and disk scheduling techniques. Whether you're a student looking to reinforce your understanding or a teacher seeking an assessment tool, this quiz covers essential topics and concepts.Multiple choice and checkbox questionsFocus on practical applications and theorySuitable for self-assessment and review before exams","img":"https:/images/course1.png"}
Powered by: Quiz Maker