a3 - COSC 202H Assignment 3: File Systems Due: Wednesday,...

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

View Full Document Right Arrow Icon
COSC 202H Assignment 3: File Systems Due: Wednesday, December 5, 2007 at midnight. A 10% penalty applies for each day late up to 5 days. In either the UNIX or Windows operating systems, files are organized into a tree structure of directories and subdirectories. Each directory contains zero or more files and zero or more subdirectories. Your task is to design and implement an abstract data type called FileSystem with the following operations: Operation Description FileSystem Create an empty file system with a nameless root directory as the current directory. ~FileSystem Destroy the file system and recoup all memory. insert <file> Insert a file into the current directory. No two files can have the same name and extension in the same directory. remove <file> Remove a file from the current directory (if it exists). create <subdirectory> Create a new subdirectory in the current directory. No two subdirectories can have the same name in the same directory.
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.

This note was uploaded on 02/14/2010 for the course COMPUTER S COIS-3030 taught by Professor Hircock during the Spring '10 term at Trent University.

Page1 / 2

a3 - COSC 202H Assignment 3: File Systems Due: Wednesday,...

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