quiz02 - CS411 Operating Systems II Quiz # 2 Take-home,...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CS411 Operating Systems II Spring 2009 Quiz # 2 Take-home, open-book, open-notes. Calculator permitted. Answers should be word-processed , printed , and attached to this page . This quiz is NOT a group project. You may NOT discuss this quiz with anyone (by any means) except the instructor or a CS411 TA. Due Monday, June 1, 2009 (beginning of class) The answers on this quiz represent my own work. On this quiz, I have neither given help to, nor received help from, anyone. Signed _____________________________ Date _____________________ Name (block letters) ______________________________ Score _____________ / 25 1. (2 pts) Consider a standard magnetic disk drive . Match the letter of the one best characterization for each term. ___ device driver ___ device controller ___ access time ___ transfer time ___ sector size 2. (3 pts) Given a record file structure in a file system that provides only sequential access methods (i.e., create_file, reset , read_next_record , write_record , close , etc.). Write a pseudo-code algorithm to simulate a direct access method rewrite_record ( n ) using the defined sequential access methods . Assume that the file to be changed has been opened for input. 3. (1 pt) Match the letter of the one best characterization for each of the following file space allocation methods for secondary storage: ___ indexed ___ linked ___ contiguous 4. (2 pts) What is the main purpose of a virtual file system (i.e., why is it there) ? 5. (2 pts) Match the letter that corresponds to the characteristics of each of the major structures that comprise the Linux Virtual File System .
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

quiz02 - CS411 Operating Systems II Quiz # 2 Take-home,...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online