







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Exam; Professor: Fawcett; Class: Object Oriented Design; Subject: Computer Engineering; University: Syracuse University; Term: Spring 2002;
Typology: Exams
1 / 13
This page cannot be seen from the preview
Don't miss anything!








Midterm A1 – Instructor’s Solution Name:_________________________________ SUID:____________________ This is a closed book examination. Please place all your books on the floor beside you. You may keep one page of notes on your desktop in addition to this exam package. All examinations will be collected promptly at the end of the class period. Please be prepared to quickly hand in your examination at that time. If you have any questions, please do not leave your seat. Raise your hand and I will come to your desk to discuss your question. I will answer all questions about the meaning of the wording of any question. I may choose not to answer other questions. You will find it helpful to review all questions before beginning. All questions are given equal weight for grading, but not all questions have the same difficulty. Therefore, it is very much to your advantage to answer first those questions you believe to be easiest.
CSE687 Object Oriented Design MidTerm Exam A1 Spring 2002
Purpose: The purpose of this project is to build a program that manages a structured set of files. The files will be grouped into modules, programs, and systems: A module is represented by a file, called a manifest, that contains the path^1 to each of its source, documentation, and test files. A module’s manifest may also refer to another module’s manifest file if this module uses that module’s services. A program is represented by a manifest file that contains paths to each of its modules and its documentation and test files. A system is represented by a manifest file that contains paths to each of its programs, documentation, and test files. All source code, documentation, and test files will be stored in directories named code, documentation, and test, under a Repository directory. All module, program, and system manifests will reside in module, program, and system directories, respectively. Your REPOSITORY project will provide a base processing class that, given the name of a manifest, scans that manifest and, recursively, all the manifests and files it refers to, performing some default operation on them^2. The base class will provide a protocol for derived classes to define application specific processing on all the files encountered in a scan. Typical applications are display, checking status, or building an executable. You should provide a scanning module that uses a pointer to the base processing class to apply processing actions to each file encountered on a scan. The scanning module should not have to know the type of the processing object it points to, but simply apply its processing actions to every file. Requirements: Your REPOSITORY program: