impera Open Impera

A levels Computer Science · Project

The programming project

1What the project is

The programming project (non-exam assessment) is a large program you design, build, test and evaluate yourself, usually worth about 20% of the A level. Exam boards differ in details, so always check your own board's specification and mark scheme.

A typical project is written up in five parts:

PartWhat you show
analysisthe problem, the users, research and measurable success criteria
designhow the solution will work: structure, algorithms, data and interface
developmentthe code, built and tested in stages, with evidence
testingthat the finished program meets the success criteria
evaluationhow well it works, users' feedback and possible improvements

Choose a problem that is complex enough for top marks (for example, using classes, complex data structures, files or databases, and non-trivial algorithms) but small enough to finish.

Check yourself

What should you check before planning your project?

  • Your own exam board's specification and mark scheme

  • A friend's project from last year

  • Only which programming language to use

  • Nothing, since any project idea gets full marks

Show the answer

Your own exam board's specification and mark scheme

Boards differ.

2Analysis

In the analysis you show you understand the problem fully.

  • Identify the users (stakeholders) and talk to them, for example with an interview or questionnaire.
  • Research existing solutions: what works well, and what is missing.
  • Use computational thinking: decompose the problem and decide what can be solved by a computer.
  • List the requirements (hardware and software too).
  • Write success criteria: specific and measurable, so they can be tested.
Weak criterionStrong criterion
the program should be fastsearch results appear in under 1 second for 10 000 records
it should be easy to usea new user can book a lesson in under 2 minutes without help
Check yourself

Why must success criteria be measurable?

  • So that they use numbers only, never words

  • So they can be tested objectively in the evaluation

  • Because examiners prefer criteria written as tables

  • To make the project longer and more detailed

Show the answer

So they can be tested objectively in the evaluation

Testable.

3Design

The design shows how you will solve the problem before you code it.

  • Decomposition: a structure chart or class diagram breaking the system into parts.
  • Algorithms: pseudocode or flowcharts for the key processes.
  • Data: data structures, file formats or database tables (normalised), with validation for each input.
  • Interface: sketches of screens, explained with reference to users' needs.
  • Test plan: how each part and each success criterion will be tested, with normal, boundary and erroneous data.
Check yourself

What should a project's test plan include?

  • Only the tests that are certain to pass first time without any changes

  • Just a list of the screens and menus that appear in the program

  • The final code with comments added

  • Tests with normal, boundary and erroneous data linked to the success criteria

Show the answer

Tests with normal, boundary and erroneous data linked to the success criteria

Plan before building.

4Development

Most projects are built iteratively: a small working version first, then features added and tested in cycles.

Iterative development. Each cycle adds or improves features, and user feedback shapes the next version.

Good development evidence:

  • annotated code extracts that explain what each part does and why;
  • meaningful names, comments and consistent layout, with code split into subroutines or classes;
  • testing during development, showing errors found and how they were fixed;
  • feedback from users on prototypes, and changes made because of it;
  • validation and error handling, so the program copes with bad input.
Check yourself

Why is iterative development useful in a project?

  • It means testing only at the end, once every feature has been built

  • It always produces shorter code that is easier to mark

  • Problems are found and fixed early, and user feedback can shape each version

  • It avoids writing any design, so more time can be spent coding

Show the answer

Problems are found and fixed early, and user feedback can shape each version

Build, test, improve.

5Testing

Testing shows that the finished program works and meets the success criteria.

Kind of testingMeaning
white-boxtests designed from the code itself, checking every path through it
black-boxtests based only on inputs and expected outputs, without looking at the code
alphadone by the developer during development
betadone by real users before release
acceptancethe user checks the program against the requirements

Evidence should include a table of tests (input, expected result, actual result, pass or fail) and screenshots or video showing the results. Failed tests are fine if you show how you fixed them.

Check yourself

What is black-box testing?

  • Testing the code line by line by reading each statement

  • Testing using inputs and expected outputs, without looking at the code

  • Testing done only by the programmer who wrote it

  • Testing how fast the program runs on different computers

Show the answer

Testing using inputs and expected outputs, without looking at the code

Inside hidden.

6Evaluation

The evaluation looks back honestly at the finished project.

  • Go through each success criterion: met, partly met or not met, with evidence (refer to test results).
  • Include feedback from your users on the final version.
  • Discuss usability: how easy the program is to use and how users' needs were met.
  • Explain limitations and how they could be fixed with more time.
  • Consider maintenance: how well-structured, commented code makes future changes easier.
Check yourself

What should the evaluation be based on?

  • Evidence from testing and user feedback against each success criterion

  • The programmer's own opinion of how well the program works

  • The number of screens and features built

  • How long and complex the final code is in lines

Show the answer

Evidence from testing and user feedback against each success criterion

Criteria + evidence.

Now test yourself

This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.

Practise in Impera