Starting from:

$25

COMPSCI_2ME3 - Assignment 3 - Solved

 Introduction
The purpose of this software design exercise is to implement a specification for software modules to support the process of CEAB (Canadian Engineering Board) accreditation. The specification is given in the file A3P1 Spec.pdf.

All of your code should be written in Java. At least CourseT.java should be documented using doxygen. Your code should follow the given specification exactly. In particular, you should not add public methods or procedures that are not specified and you should not change the number or order of parameters for methods or procedures. If you need private methods or procedures, you can add them by explicitly declaring them as private.

The intention is that your code will be run at the command line (terminal). We are not using an IDE (like Eclipse). This is to simplify our workflow, and to reinforce what is actually happening with the source code files.

Implementation and Testing

Step 1
Implement the following modules in Java: IndicatorT.java, AttributeT.java, Measures.java, Services.java, Norm.java, LOsT.java, CourseT.java, and ProgramT.java. Blank versions of the required source files have been pushed to your personal repo. All make rules

((make expt), (make test), (make doc) and (make clean)) will work “out of the box.” They don’t do anything, but the infrastructure is in place for you to incrementally develop your code.

Step 2
Verify that the A3Example.java file properly compiles with your library. You will need to uncomment the code to test it. You may want to successively remove the comments as you get further into the implementation. This will ensure that you are at least matching the expected syntax. To simplify experimenting with A3Example.java a makefile rule (make expt) is include to compile and run it.

Step 3
Write doxygen comments in the CourseT.java file. You can write doxygen comments in the other files, but you don’t have to. Test the supplied Makefile rule for doc. This rule should compile your documentation into an html and LATEX version. Along with the supplied Makefile, a doxygen configuration file is also given in your initial repo. You should not change these files.

Step 4
In the src folder you will have blank stubs for testing. The names of the testing files are, respectively, TestAttributeT.java, TestCourseT.java, TestLOsT.java and TestProgramT.java. Use JUnit for testing. You do not have to test the other modules, but you can add them to the testing suite if you like. For this assignment you are not required to submit a lab report, but you should still carefully think about your rationale for test case selection. Please make an effort to test normal cases, boundary cases, and exception cases.

The supplied makefile (named Makefile) has a rule named test. This rule should run all of your test cases.


More products