עמוד הבית של רז לין

File Organization

General Information       Notes       Exercises       Grades


General Information:

News: Course Name: 88-287: File Organization.
2 hours of lecutre, 1 hour of recitation (Semester A).
Lecturer:
Dr. Ariel Frank.
TA: Raz Lin.
Teaching Hours and Locations:
88-287-05 Sun.  09:00-10:00, 212/415.
88-287-06 Sun.  10:00-11:00, 211/312.
88-287-07 Sun.  11:00-12:00, 211/KAMAT-010.
88-287-10 Mon. 09:00-10:00, 202/331.
88-287-11 Mon. 10:00-11:00, 202/331.
88-287-12 Mon. 12:00-13:00, 502/060.
Schedule and General Information
Recommended Textbook: "Unix system programming" by Keith Haviland, Dina Gray and Ben Salama
HighLearn.



Recitation Notes:

Note: The notes are in pdf format. In order to view them you need to acquire Adobe Acrobat Reader which is a freeware.
You can download it either from
Adobe or from Tucows - Internet Zahav or Tucows - Netvision.

Tip: Viewing the pdf online might cause some problems in viewing the details on the pages. It's better to download the pdf files to your local hard-disk.

  1. Introduction to Unix and Shell
  2. Working with Files - System Calls: Low-Level Functions
  3. Passing Command-Line Parameters and Handling Strings
  4. High-Level Functions and Working with Structs
  5. Working with Directories
  6. The File System: Allocation Methods and Physical Structure of Directories
  7. Links (Hard and Soft/Symbolic)
  8. Redirections and Pipes
  9. Reading and Writing Characters
  10. C-Shell

Formal Evaluation of File Organization: Formulas (partial)    Summary (partial)

Review Questions - Part I        Review Questions - Part II        Review Questions - Compuatation Questions        Review Questions - C-Shell
Please note that the questions in the review (part I and II) are easy ones.


Exercises:

2002, Exercise #1: Implementation of the "uniq" command.    Due Date: Dec. 25, 2001
2002, Exercise #2: Searching words using DFA.                       Due Date: Jan. 3, 2002
2002, Exercise #3 (Project): HTML Site Analysis.    Due Date: Mar. 14, 2002
2002, Exercise #4: C-Shell.     Due Date: Mar. 28, 2002.
2002, Theoretical Exercise #1: File Allocation.    Due Dates: Dec. 16-17, 2001    Solution
2002, Theoretical Exercise #2.    Due Dates: Dec. 30-31, 2001 Selected Solutions
2002, Theoretical Exercise #3.     Due Date: Mar. 1, 2002 Selected Solutions

Past Exercises: