CSC640, Fall 2001 - Instructions for Project Deliverables
(Warning: last updated 10/24/01)



Table of Contents

General Format of Written Deliverables
General Submission Instructions
Requirements Document
Specification Document
System (High-level) Design Document
Low-level Design Documentation and Coding Standards
Code Review
Demo
Installation and User's Guide


Format of Written Deliverables


This section describes format requirements for written deliverables.  The grade for the deliverable will be partly based on format, since format influences the usability of a document.

The document should be formatted in HTML so that it is readable via a web browser (Netscape and Internet Explorer), both when viewed on a computer screen AND when the web pages are printed on standard-size paper.  (You should check readability on screen and on paper before submitting it.)   Provide section headings to help the reader locate information.  Also, the HTML should provide links from the Table of Contents to the sections and subsections.  Warning: do not use a document format (such as Word) that can only be viewed on a PC .

At the beginning of the document, every deliverable should contain the following information:

The end of every document should include a References section listing any sources of information used to write the document or referred to in it.  Use a standard bibliography format for published material; give the url and a brief description for information you found on the web.


Submission Instructions  (Updated 10/24/01)

All written deliverables (not including source code) are due both in paper and on the web:
1.  Web:  Copy the file(s) into your project group's directory.  The main file for each document should be named using the names given on the template for the project group homepage.   The web documents are due on the web at the beginning of class.
2.  Paper:  Turn in a printed copy of the web document.  Make sure that the document is readable when printed.    Put all pages together in a large binder such as a 3-ring binder or similar device.  (You will keep adding the written deliverables to this binder.)  Supply a tab for each deliverable in the binder.  Paper deliverables must be given to me at the beginning of class.

Source code (including comments) is due both in paper and on diskette or CD:
1.  The paper copy of the source code will be added to the project binder containing the written deliverables.  (You can use 2 binders if necessary to hold everything.)  Source code should be readable when printed on standard-size paper.  You may supply tabs to divide sections of code.  The listings should begin with the main program, followed by the classes in alphabetical order (the class declaration followed by the class implementation -- see 3 below).
2.  The diskette or CD should contain both source code (i.e. in human-readable form) and executables, as well as an ascii or html version of the Installation and User's Guide.  Any permanent files read by your system should reside on the diskette or CD.  Any files written to by the program should be written on the diskette or the scratch (temporary) network drive, :P.
3.   The C++ source code should be organized as follows: a separate .h file for each class declaration and a separate .cpp file for each class implementation and the main program.

Demo materials:  See Demo instructions.


Requirements Document

The body of this document should include the following sections:

1.    Introduction
1.1  Overview of problem:  a 1-page overview of the purpose of the system and what problems it is intended to solve, including any problems with current systems in use by the client.
1.2  Terminology: an alphabetized list of definitions of terms and acronyms used in the client's domain that will be used to describe the current or proposed systems.
1.3  Proposed system: a 1-page high-level description of what the system will do, and how it will solve any problems noted in section 1.1.

2.    Scenarios and Use Cases
2.1  Scenarios:  Give scenarios that illustrate the most important use cases.  (One scenario might involve more than one use case, e.g., when use case A extends B, a scenario might cover both A and B. )  Do NOT describe every possible scenario.  Identify which use cases go with the scenarios.
2.2  Use Cases Diagram:  in UML notation, give a figure showing relationships among all use cases and actors.  Identify <<extends>> and <<includes>> links.
2.3  Use Cases:  A written use case description for each use case; use the template described in class.

3.    Nonfunctional requirements: Give a 1-2 page description of other requirements that the system must meet in any of the following areas; only give those that are relevant to your product.
3.1    User interface: What kind of interface? What types of users must it support?
3.2    Documentation: What types of documentation is needed for users and technical staff?
3.3    Hardware: What hardware compatibility requirements are there?
3.4    Performance:  What response time is required?  Under what load?
3.5    Quality: How reliable/available/robust should the system be?
3.6    Future Modifications: What future changes are known?
3.7    Security: What level of security should be provided?
3.8    Resources:  What resources will the system require.

Grading:  This document will be graded on content and presentation.  Content means that you did an adequate job of analyzing and documenting the client's requirements.  Presentation includes writing quality and readability of the print and html version of the document.


Specification Document

The body of this document should include the following sections:

1. Information Flow and System Boundary:  Draw a first-level refinement Data Flow Diagram showing the flow of information between the users, your system (shown as a single processing component), other processing components external to your system (if any), and storage components external or internal to your system.  Draw a box enclosing everything in your system.  Also, give a brief description (no more than 1 page) of the components in the diagram and what information flows among them.

2. Interface Specifications:  Describe the user interface in 2.1.  If your system communicates with any other external entities, which would appear in your DFD, then also provide 2.2.

2.1 User Interface Specification: The purpose of this section is to describe all possible user-system dialogue through the user interface. Do NOT give details about the appearance of the user interface. Use a state transition diagram.  The arcs should document each possible dialogue "move" (including system responses).  If the diagram is very complex, break it up into subnetworks.  Provide captions with each diagram briefly describing each dialogue move.

2.2 External data formats:  Describe the logical format of data entering/leaving your system in terms that the client will understand but in enough detail to be useful to a programmer.  For each field, give at least its name, description, and datatype.  For example, in a system that reads in student records there might be a field named GPA whose description is "grade point average at end of Spring 2001" and whose datatype is a real number in the range 0.00 to 4.00.  To give another example, a system that extracted data from two-dimensional tables represented as flat-ascii files would need to describe how the two-dimensional information was encoded; e.g. each table is composed of column headings and a body; the body is one or more rows; each row of the table is delimited by <newline> and each column value in a row by <blank>.

3. Object-Oriented Analysis Model

3.1 Object Model: this is a data-oriented view that defines the objects extracted from the use cases and the relationships among the objects.  It has two subsections:

3.1.1 UML Class Diagram: give a UML class diagram showing how all of the classes are related.

3.1.2 List of class descriptions:  For each class, in an outline or tabular format give:
- its name
- brief (1-2) sentence description of class in user's domain terms
- its attributes (name and 1-2 sentence description of each in user's domain terms with datatype as described in 2.2)
- name of use cases in which object/class participates

3.2 Dynamic Model: this is an action-oriented view, presented using sequence diagrams. Give sequence diagrams illustrating the most important scenarios (probably 2-4).  The purpose is to show the sequence of messages passed from object to object of the classes given in 3.1.1.  Below each sequence diagram, give a prose description of the how the sequence of messages corresponds to what is happening in the scenario.

3.3 Release Plan: this section summarizes the functionality that will be delivered in version 1 (due on the demo rehearsal date on the calendar), version 2 (due on the final demo date), and version 3 (due on an imaginary day in the future after the final demo day).  For each of version 1-3, give a brief description of the release followed by a detailed description of what will be included.  The detailed description should include which use cases will be functional; if a use case will be partially functional, then this should also describe in what ways the use case will not function.  Also, the detailed description should include a description of what parts of the user interface specification (2.1) will be functional and which nonfunctional requirements will be met in the release.  Include links back to the relevant parts of the RAD and this Specification Document.  Version 1 should include at least one major use case and enough of the user interface to demonstrate the use case(s).  Version 2 represents the final system that your group will deliver.  The purpose of version 3 is to show possible future extensions.  Your System Design will be constrained by the imaginary plans for a version 3.  If Version 1 does not include enough functionality, you may be asked by the instructor to add to it.
 


System (High-level) Design Document

The body of this document should include the following sections:

1 Design Goals:

Give a list of design goals that the system must satisfy.  Use the list given on the handout for ideas (only include the goals that your system should satisfy).   Give objective criteria that can be used to determine if the delivered system meets the goal (for example, a performance goal to provide a response time of under 3 seconds).   Also, for each goal, specify where in the Requirements Analysis Document the goal comes from, or whether it was added later.  (Also, provide HTML links from the goal to the section of the Requirements Document.)  If the reason for selecting a goal is not obvious explain why the goal was picked.  Also, if another goal had to be dropped because it conflicted with this goal, then describe the conflicting goals and the reason for picking one goal over the other.

2. Subsystem Decomposition: This has the following parts.

2.1  Subsystem Diagram:
Give a diagram showing the main subsystems of your system.  Label each subsystem with its name and show what objects from the UML Object Model of the FSD are in each subsystem.  Make sure that the names of classes in this diagram match the names of all of the classes shown in your UML Class Diagram in the FSD.   Include the lines that were given in your UML Class Diagram; this shows the amount of coupling between and coherence within the subsystems.

2.2 Description:
Give a short description of the services provided by each subsystem.  Then relate your subsystem design to one or more of the software architectures covered in lecture.  For instance, if the top-level decomposition of your system is a model-view-controller architecture, then explain the correspondence between your subsystems and the components of the MVC architecture.  (Your architecture might be a hybrid, i.e., it might combine parts of more than one architecture.  Just explain how it relates to all applicable ones.)

2.3 Interfaces needed by other subsystems:
For each subsystem, provide a description in English and in C++ of major public fields or methods of the classes in the subsystem that must be visible to the other subsystems.  Give enough detail so that a programmer working on the implementation of one subsystem could write code using the services provided by one of the other subsystems just by looking at this part of the System Design Document.  DO NOT describe private interfaces, i.e. those that are only used by objects in the same subsystem (that information will be given in-line in your source code).  Therefore, if you follow instructions and if your design follows the principle of information hiding, this part should only be a few pages long.


Low-Level Design Documentation and Coding Standards

I.  Low-Level Design

The low-level design document for your product will consist of the documentation given with your implementation, i.e., given as comments in the source code.   Here is the minimum expected documentation.  It is highly recommended that you use the example API shown in class as a guideline, rather than the textbook's examples.

Class header documentation (comments to be placed at the beginning of the class):

Public and private data (fields):  for each field, give: Public  and private (member and non-member) functions: for each, at the beginning of it give: II. Coding Standards

The code should follow common good coding practices discussed in class.  In addition, make sure that the code is formatted so that it is readable on the printed page (8.5" by 11") when it is turned in.

III.  Submitting Code

See instructions in above section on submitting source code.



Code Review (Updated 10/24/01)

This has two parts.  The first part is preparing and submitting some code written by your group for the other two groups to review.  Part 2 describes the code review that each group must perform on the other 2 group's code submitted for part 1.

Part 1:

From version one of your implementation, select an interesting C++ class (or set of related classes) for the other csc640 groups to review.    (In other words, this code must be a copy of part of the code that you already turned in for version 1.)  The code that you select for the code review should be readable when displayed through a web browser or printed on 8.5x11 inch paper.  The code should follow the documentation requirements of the Low-level Design Document and Coding Standards described in the previous section, except that you may delete the names of any individuals who worked on the code if you wish.  The code should be at least 5 pages in length (including documentation) and at least 200 lines of code (i.e. not including documentation); do not leave out any part of the class(es) that you select.  This code should be submitted for the code review by making a link to it on the row of your deliverables table for the Code Review in the column normally used for version 1 deliverables.  (Only place a copy of the code to be reviewed in that space.  Do NOT put all of the code of your version 1 implementation in that space. For instructions on submitting version 1 of your implementation to me, but not for this code review, see the instructions given in the section on submitting source code.) Part 1 is due at the same time as version 1 of your implementation.

Part 2:

Follow the general techniques for a software walkthrough that we discussed in class.

1.  Each person should individually prepare before the walkthrough meeting by

2.  At the walkthrough meeting as a group you will try to identify all defects in the code.

3.  After the walkthrough meeting, make a written report for each group's code that was reviewed.  In each of the two reports, include:

4.  Staple the above papers together neatly and turn them in on the date listed on the course calendar.

5.  Note that the Project Group Homepage Template page (http://www.uncg.edu/~nlgreen/csc640/grouptemplate.html) asked you to submit Part 2 by making it viewable from your group homepage.  That is no longer required!
 
 



Demo Presentation (Created 10/24/01)

Purpose

The purpose of the final demo presentation is to convince your project's clients and/or sponsors that a working system has
been delivered that will satisfy the users' needs, and to remind them why they thought it was worthwhile to invest in this
technology in the first place. To do this, you will demonstrate one or more scenarios showing how the intended users of
the system can perform the tasks or solve the problems that motivated the clients/sponsors to invest in the project.
Also, the demo should illustrate the technical accomplishments of the work.  Imagine that a technical expert working for the client will be in the audience that you must impress and who might ask you questions to determine how "real" the capability is that you are claiming to have implemented!

The first demo presentation is both a dress-rehearsal for the final demo presentation and also a way of proving to me that you have implemented version 1 of the software.

Written Deliverables

Before the demo presentation starts, turn in a copy of any "slides" (transparencies or PowerPoint) that you will use and a demo script for the live part of the demonstration.  (You may run the PowerPoint on the classroom computer from your own diskette and/or make your own overhead transparencies and use the overhead projector in the classroom.)

Outline of Demo Presentation

The demo presentation (both v. 1 and the final one) should include the following parts in this order:
 

  •  Part I :  Introduction - PowerPoint Presentation (10 min.)
  • Part II : Structured Live Demo (20 min.)
  • Scenarios:  Following the demo script that you hand in, show how your product would be used in the scenarios that you covered in Part I. (The script should include both the scenarios and instructions for using your product to accomplish the scenario.  For an example, see  here.)
  • Demonstrate any features of your product not covered in the scenario.
  • Wrap up:  summary and significance of what we saw.
  • Question and Answers (user-oriented)
  • 5 minute break

  •  
  • Part III:  Technical presentation - PowerPoint Presentation (10 min.)
  • System Design: Present the information in your System Design Document.
  • Question and Answers (technically-oriented)
  • Summary
  • Demo Part IV : Informal Live Demo (20 min.)
  • The audience is invited to sit down and try Product X (while developers watch, provide help, and answer questions about operation of
    Product X).
    General Pointers on Presentations

    1. Emphasize key points on slides (transparencies)

         no more than 10 lines per slide
         no more than 7 words per line
         text must readable from back of room
         consistent use of color, format, and other visual features
         check spelling

    2. Delivery

         do not read slides
         look at the audience
         spend about 2 minutes per slide
         do not block the audience's view of the screen
         speak clearly and loudly enough to be understood
         practice, practice, practice

    3.  Live Demos

         tell the audience what they are about to see before each interaction with system
         verbally describe what they are seeing while they are seeing it
         pause and tell the audience what they just saw and why they should care
         practice using the system and handling problems that might arise during the demo
         have a backup/recovery plan in case of system failure.


    User and Installation Manual

    1.  Installation Manual

         This contains all of the instructions needed for the client to install/uninstall the product and get started
         using the product, including hardware and software requirements.  (See instructions on submitting source code.)

    2.  User Manual

         This is a complete but concise reference manual for experienced users documenting how to use the
         system.  Any information extracted from an on-line help facility that is part of the software should be
         organized and indexed appropriately for presentation in a hard-copy format.