Computing Project P2 Guidelines
Computing Project P2 Guidelines
Computing (9691)
Module 2: Practical Programming Project Guidelines
2. Program code must be well annotated. Use brief, meaningful comments to highlight important sections/processes
in the code. Example:
Open StudentFile.txt For Input As #1 ‘Opening student file in Input mode to read data from it
3. Short and meaningful names must be used for variables, controls, objects, functions, procedures and user
defined data types. Labels such as i, p, x etc. will not get any marks.
4. Each Form’s code must have a header with a description of the form. Example:
‘*******************************************************************************************************
‘Form Name: frmMembers
‘Purpose: Allows the user to enter, edit and view information regarding club members.
'Author: Ali Saeed
'Language: Microsoft Visual Basic 6
'Center: American National School Pk-242 -
‘ ******************************************************************************************************
Make sure all controls on the form have proper labels to show what these controls are for. Example:
6. Controls, especially Text Boxes, command Buttons and Forms, should be of appropriate size. Controls
be too big or too small for the data expected. There should be a consistency in the height of controls, especia
the Text Boxes and Command Buttons. The size and type of Forms must be carefully chosen making sure
there is not unnecessary empty space in the Form.
7. All Text Boxes must have their MaxLength property set according to the data that is to be entered in
general guideline you can use these ranges:
8. Input Controls should have, where appropriate, data validation routines. As general guidelines use the following:
9 Menus, if used, must have clear and logical item names. If Command Buttons are used as a menu, then their
labels must be clear and descriptive.
10 The coding must employ suitable indentation to clearly distinguish the programming constructs used. Example:
11. When copying code into the documentation, all portions of the code including procedures and functions must be
clearly names and well separated with full annotation.
12. Software should not include any libraries and/or third-party controls that are not easily transferable to the client's
machine. In case any pre-built or third-party controls/code libraries are used, it must be clearly mentioned in the
code (in shape of annotations) and also in the documentation.
13. The software must be a working application with a practical purpose. Students must be able to demonstrate that
their software can produce meaningful results which can be reproduced by a person testing their software.
14. It is recommended that some kind of online help is included with the software. It can be in shape of a screen
showing instruction regarding basic operations of the software.
Section 1: Analysis
Requirements Definition
a) User Requirements
The user requires an easy to learn software that fulfills the following requirements.
------------------------------------------------------------------------------------------------------------------------------------------------
5. The document margins (top, bottom, left and right) should not be more than 1 inch.
6. Documentation must be in single line spacing.
7. Each section and sub section must be separated visibly by proper headings.
8. Documentation text must be either Left Justified of Justified. Only headings and Tables can be Center Justified.
9. Avoid one line paragraphs and very long sentences.
10. Make a proper title page at the beginning of the documentation.
11. Make a Table of Contents with page numbers for reference.
In order to gain high marks, the following project requirements ust be met.
You will be awarded 1 mark for a valid use of each of these techniques, and 1 mark for correctly annotating it in the code.
Testing [8 marks]
1. For full marks, you should produce a Test Plan for each type of field. This test plan should include valid,
extreme and invalid data along with their expected results and the actual results produced by the system.
2. Each test conducted must be supported by the evidence of the test. This could be done by using screen shots
of the test.
3. Each test result must be annotated.
Implementation [8 marks]
(a) Technical Documentation [4 marks]
The technical documentation must be produced as a standalone guide for anyone who may be required to make
modifications to the system. The guide should include the following sections: