InClassActivity23-sol - ECSE-2660 Computer Architecture...

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

View Full Document Right Arrow Icon

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

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

Unformatted text preview: ECSE-2660 Computer Architecture, Networks, & Operating Systems, Spring 2003 Page 1 of 3 Activity #23 (Solution) Last Name First Name Student ID Number Email 23.1 23.2 Total Assigned grader Grader Initials 50 points 50 points 100 points 4/20/2003 1:39 PM Activity 23.1 (First Hour) File systems 1a. (4 points) For the operating system, what is/are the advantage(s) of keeping track of the type of a file? OS can know what operations are allowed for the file. For example, if the file type is “Object”, then OS will not allow execution of that file. Grading: 1 point for trying, 4 pts for correct answer. 1b. (4 points) List three things that are stored in the open file table? File descriptors, # of open files, disk location for the open files. Grading: 1 point for trying, 4 pts for correct answer. 1c. (4 points) Can two different files have the same file descriptor? If they are both open at the same time, they can’t. If they are open at different times, they can. Grading: 1 point for trying, 4 pts for at least one of the above answers. 1d. (4 points) How does the open file table contribute to efficiency of file access? The open file table stores info for just the open files, not all the files that exist on the disk system. This table is therefore small, and can be stored in DRAM, and accessed quickly. Grading: 1 point for trying, 2 pts for partial answer, 4 pts for correct answer....
View Full Document

This note was uploaded on 04/25/2010 for the course ECSE ecse-2340 taught by Professor Wozny during the Spring '09 term at Rensselaer Polytechnic Institute.

Page1 / 3

InClassActivity23-sol - ECSE-2660 Computer Architecture...

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