CS计算机代考程序代写 compiler CS246 SPRING 2021 PROJECT – DELIVERABLES CS246, SPRING 2021

CS246 SPRING 2021 PROJECT – DELIVERABLES CS246, SPRING 2021

CS246 Spring 2021 Project – Deliverables

Due Date 1: Wednesday, July 28, 2021, 5:00 pm
Due Date 2: Friday, August 13, 2021, 11:59 pm

Your project will be graded based on correctness and completeness of the code implementation (60%), documentation
(20%), and design (20%). Grading will proceed in two phases, outlined below:

Correctness and Completeness
The correctness and completeness component of your project will be assessed via the TA working through the demonstration
activity plan that you have submitted. Your demo plan will take the TA on a tour of all of the required features, including any
input files and user-commands necessary for the demonstration. If there is a component of your project that is not working,
make a note of it in the plan rather than pretending that it works.

After the core requirements are demonstrated, provide a plan to demonstrate any additional features of the project that you
may have implemented, for extra credit. The TA will assess the worth of your additional features afterwards.

If your project submission on Marmoset does not compile, the TA will not mark your project code. The TA will
not, under any circumstance, change your code, or allow you to change your code, in order to make your submission
compile. You will receive a grade of 0 on the correctness and completeness portion of the project.

Documentation and Design
The design of your project is an important part of your overall assessment. For top grades, it is not enough that your program
simply work; it must demonstrate a solid object-oriented design. Thus, you will need to spend considerable time planning out
your classes and their interactions, aiming to minimize coupling while maximizing cohesion. You must plan for change in
your program. Imagine that the specification will change on the day before the final due date (it won’t, but imagine it will).
How easily can you accommodate change?

As part of your design, you should anticipate various ways your project could change. Perhaps a change in rules, or
input syntax, or a whole new feature—who knows? Plan all of your project features to accommodate change, with minimal
modification to your original program, and minimal recompilation. In your final design document, outline the ways in which
your design accommodates new features and changes to existing features. Be specific. You may wish to implement some of
these for extra credit. This discussion is a very important component of your design grade; if you spend less than a page
on it, you probably aren’t saying enough.

Your documentation and design will be assessed via written documents that you will submit to Marmoset as PDFs.

Extra Credit Features
All of the available projects give you the opportunity to earn up to 10% extra credit for enhancements to the core projects.
Keep the following rules and guidelines in mind when planning enhancements:

• It is far more important to have your core project working well, than to have a poorly done project with extras. Re-
member, the enhancements are only worth 10%. Your documentation and design are also more valuable than your
enhancements, so please take time to do these well.

• Your program must be able to run the core project, without enhancements, as well as with them. You are not allowed
to submit two programs for grading, one with enhancements and one without. You are also not allowed to recompile
your program with different compiler flags to produce versions with and without enhancements. You may select or
deselect your enhancements via flag arguments on the command line. (For example, ./project -enablebonus,
or something similar.) Even better would be if you could turn your enhancements on and off dynamically, as the program
is running.

• Markers will not assign values to individual bonus features during the demo grading. Your plan walks the TA through
how to show what you have done, and the TA will take notes, but values will be decided once all demos are completed.

Page 1 of 3

CS246 SPRING 2021 PROJECT – DELIVERABLES CS246, SPRING 2021

• One enhancement that is available for all projects is offered as a challenge: complete the entire project, without leaks,
and without explicitly managing your own memory. In other words, handle all memory management via STL containers
and smart pointers. If you do this, there should be no delete statements in your program at all, and very few raw
pointers (the only raw pointers you would be permitted to have are those that are not meant to express ownership).
Successful completion of this challenge will earn you 4 of the available 10 bonus marks. If your program leaks, these
marks cannot be earned. Also note that these 4 marks are not reserved for this feature; it is theoretically possible to get
all 10 bonus marks without implementing this challenge.

On Due Date 1

Submit a plan of attack. This should include a UML class diagram that describes how you anticipate your system to be
structured (even if you complete the project by due date 1, the class diagram you submit must be one that you built prior to
starting the project).

Your class diagram should show the classes that make up your project and the relationships (association, composition,
aggregation, inheritance) between them. You only need to show public methods (i.e, you can leave out private fields and
protected/private methods, unless you need to show them to illustrate a point, e.g., a design pattern). Do not show the big 5
operations, or any other constructors, accessors, or mutators. You will not be graded on the degree to which you adhere to this
model, but you will be asked to account for any differences that arise between this model and your final submission. File to
Submit (2%): uml.pdf.

In addition, your plan of attack must include a breakdown of the project, indicating what you plan to do first, what
will come next, and so on. Include estimated completion dates, and which partner will be responsible for which parts of the
project. You should try to stick to your plan, but you will not be graded by the degree to which you stick to it. Your initial
plan should be realistic, and you will be expected to explain why you had to deviate from your plan (if you did).

Finally, your initial plan of attack must include answers to all questions listed within the project specification itself. You
should answer in terms of how you would anticipate solving these problems in your project, even though you are not strictly
required to do so. If your answers turn out to be inconsistent with your final design, you will have an opportunity to submit
revised answers on Due Date 2. File to Submit (4%): plan.pdf

Your plan should be no more than 5 pages long, using a single-column layout with a 10 point font for the main text. Feel
free to add helpful diagrams if you like.

On Due Date 2

On Due Date 2, you must submit all of your code to Marmoset, together with a Makefile, such that issuing the command
make builds your project. Your executable should be called hydra for Hydra, biquadris for Biquadris, or ctor for
Constructor.

In addition, you must submit the demo plan, the final design document, design.pdf, and the updated UML in the file
uml-final.pdf, reflecting the actual structure of your project. Do this even if it is the same as the original UML class
diagram.

Your demo plan must be contained in the file demo.pdf, contained in the ZIP file for your project, that will also contain
all necessary files for the demo.

The final design document must outline the final, actual design of your project, and how it differed from your design on
Due Date 1 (if it did).

Your design document should provide an overview of all aspects of your project, including how, at a high level, they
were implemented. If you made use of design patterns, clearly indicate where.

Your system should employ good object-oriented design techniques, as presented in class.
Include all answers to questions posed within the project specification, and indicate how they differ from the answers you

gave on Due Date 1 (if they did).
You should not expect the TA to read through all of your code. Therefore, your design document should stand alone—the

TA should not need to have your code open in order to understand your document. However, if you wish to highlight certain
aspects of your design, you should indicate clearly where they can be found in your code, if the TA wants to have a look.

The most important aspect of your design document is a discussion of how your chosen design accommodates change, as
described earlier in this document. You should also discuss the cohesion and coupling of your chosen program modules. Most
of the design portion of your grade will be based on this summary.

Finally, answer the following questions:

Page 2 of 3

CS246 SPRING 2021 PROJECT – DELIVERABLES CS246, SPRING 2021

1. What lessons did this project teach you about developing software in teams? If you worked alone, what lessons did you
learn about writing large programs?

2. What would you have done differently if you had the chance to start over?

Length and Format of Document
We expect that your final design document will be 5–10 pages long, where each page has a word density similar to what you
see in this guideline document.

Organize your document into sections, using the following headings:

• Introduction (if needed)

• Overview (describe the overall structure of your project)

• Design (describe the specific techniques you used to solve the various design challenges in the project)

• Resilience to Change (describe how your design supports the possibility of various changes to the program specification)

• Answers to Questions (the ones in your project specification)

• Extra Credit Features (what you did, why they were challenging, how you solved them—if necessary)

• Final Questions (the last two questions in this document).

• Conclusion (if needed)

The document you submit will be used for both your documentation mark and your design mark. Your design will be
assessed according to how you solved the problem, as described in your document and revised UML class diagram, and in
your Due Date 1 UML class diagram. Your documentation will be graded according to how well you described your project,
how well you described your design (i.e., is it clear and well-communicated?), and your Due Date 1 document. Together,
these account for 40% of your grade, so these documents are very important. The Due Date 2 document is worth much
more than the Due Date 1 document, where the report is worth 26% and the UML class diagram is worth 8%.

Late Policy
We strongly discourage you from making last-minute changes to your code. The risk of your code not compiling, or otherwise
not working, is too high. We recommend writing no new code in the last 12 hours before the code is due. Save those hours for
preparing your demo and for emergency bug fixes.

Please note that we already pushed the project submission deadline as far as we can. We need to start grading the projects
as soon as the submission deadline passes. Late submissions will not be allowed whatsoever. So, any submission after Friday,
August 13 at 11:59 pm will not be accepted at all, and your most recent submission before that time will be graded. Please
do not wait to start submitting within 10 minutes of the deadline. The risk of having a technical difficulty or slow upload and
missing the deadline is too high. Plan to submit early to avoid any late-minute issues.

Page 3 of 3