1 General Requirements
It is necessary to design and implement a graphical user interface application that makes it possible to solve a specific data-processing problem. The program must be created using a universal object-oriented programming language. It is necessary to implement data input from an XML file, edit and save data in another XML file, as well as generate a report on the results of the program as HTML or PDF file.
Note: JSON files can be used instead of XML files.
The program should be implemented as a graphical user interface application. A graphical interpretation of the solution should be made.
The creation of a GUI application must be preceded by the development of a console application in which all implemented functions are demonstrated except for the graphical user interface components and graphical interpretation.
The implementation of the program should be done using object-oriented technologies. The use of polymorphism is mandatory. An exception handling mechanism must be used to improve program reliability. To check the functionality of classes that are responsible for storing and processing data, a separate console application should be implemented. When designing classes, object-oriented design principles should be followed and design patterns should be applied.
The execution of both programs (GUI application and console application) must be based on the use of a common class library.
The semester project director provides consultations, monitors adherence to the schedule, and decides whether to admit the student to the defense of the semester project.
2 Stages of Development
2.1 Research of Numerical Methods and Programming Technologies Used in Semester Project
At this stage you should obtain your individual assignment. Then you should study necessary numerical methods and programming technologies. An understanding of the basic concepts of the Unified Modeling Language (UML) is required.
Note: for a better understanding of mathematical methods, it is advisable to create small console applications that carry out the implementation of individual algorithms; this code can be used in further software development.
2.2 Requirements Setting. Analysis and Design
In UML notation, requirements on the software should be represented on the Use Case diagram. You should identify the primary use cases, the use cases included in them, and the use cases that extend them.
At this stage, it is necessary to study the mathematical methods of solving the problem.
To identify the basic entities of the subject area, it is necessary to develop a class diagram from a conceptual point of view. Sequence diagrams should be developed to illustrate object interactions for different use cases.
Software classes should be designed, object interaction and algorithms for individual operations are determined. The structure and composition of packages (modules) that provide the program implementation are being developed. The structure of the classes and packages (modules) should conform to the Model–View–Controller (MVC) architectural pattern: you should create independent parts such as model (model, classes responsible for processing domain data regardless of user interaction), : view (the user interface, including windows and visual components) and controller (usually a separate class responsible for the interaction of graphical user interface tools with model classes). It is also advisable to apply other design patterns.
Prior to the implementation of the software, you must determine the format of the source data. Since one of the software requirements is to represent the source data in XML format (or JSON format). You should also design data sets to verify the correctness of the program and prepare them in the form of source XML files (or JSON files). The simplest variants should be checked manually and graphically interpreted manually.
2.3 Implementation and Testing of the Computational Part of the Software
According to the previously designed diagram, classes are created to represent the mathematical functions and methods required to solve the problem. It is necessary to provide mechanisms for independent testing of individual classes.
During the implementation of classes that are responsible for the computational part of the project, it may be necessary to make changes to the diagrams that were previously designed, including class diagrams.
The implementation of the computational part of the software ends with the creation of a console application for checking the functionality of all functions that can be performed without graphical tools. The work of the program should be demonstrated on different sets of source data that involve both general behavior and specific cases.
Demonstration of computational part, in addition to implementing direct data processing, involves reading data from an XML document (or JSON file) and writing data to another XML document (or JSON file), as well as generating a report in HTML or PDF format.
2.4 Implementation of GUI Application
This stage includes implementation of graphical user interface. It is reasonable to use program means of visual design. The main window of a program should contain a main menu, tables, text fields for entering and editing data, buttons for performing the most important functions, elements for displaying results, and other visual controls.
In a separate part of the main window (or in a separate window), a graphical interpretation of the solution of the problem is implemented.
Debugging of modules that implement user interface can be done independently. So-called stubs can temporarily be used in place of calls to data-processing algorithms.
This phase ends with the assembly of all modules into a single application for further testing.
Note: for implementing a GUI application in C#, using the Windows.Forms library is not recommended; more modern tools such as WPF should be preferred.
2.5 Testing
Testing the program as a whole consists in preparing several (at least six) sets of source data that reflect the general and particular cases of solving the problem, various dimensions, various ranges of numbers (or other data). Testing variants should be prepared in separate files before implementation starts.
Negative test results may require repeating one or more development stages.
2.6 Preparing a Explanatory Report and Presentation
At this stage, a explanatory report and a presentation are prepared. You can use Microsoft Office PowerPoint or OpenOffice.org Impress to prepare your presentation. You can also create a sequence of HTML pages. The presentation should reflect the following aspects of the work:
- topic of the work, performer;
- problem statement;
- UML diagrams (use cases, classes, etc.);
- screenshots of the application interface;
- the data on which the testing was carried out;
- conclusions.
The presentation should consist of 6–8 slides in total.
3 Semester Project Defence
At least one week before the final defence, the student must demonstrate the developed software. In case of positive results, the student begins to prepare an explanatory report. In case of unsatisfactory evaluation, additional time is allocated for demonstrating the software product to the extended board.
Before the final representation (defence) of your work you should prepare the following artifacts:
- explanatory report for the course project, signed by your project supervisor and include his feedback;
- presentation of work in the form of slide show;
- software developed.
While defending the semester project, the student should report the task statement, the main stages of software design and the main results obtained during the work on the project, demonstrate the work of the software product and the results of its testing. The report should not exceed 5 minutes. In answering the questions, the student should demonstrate knowledge of the basics of computer science, programming and software design, including object-oriented programming, mathematical methods and tools that were used in the semester project. Regardless of the degree of use in the project, the student must demonstrate knowledge of theoretical concepts answering test questions from "Review Questions" section.
In case of unsatisfactory assessment, the semester project must be defended again or completed entirely anew, depending on the director's decision.
If the student defends the course project after the end of the semester without documented valid reasons for the delay, the final grade will be reduced.
.
