IB Diploma Computer Science · Applied work
The computational solution (internal assessment)
1What the internal assessment is
The internal assessment (IA) is a project in which you design, build and evaluate a computational solution to a real problem. It is marked by your teacher and moderated by the IB.
- You choose the problem. Pick one that is real, matters to someone, and needs genuine programming: a solution with clear logic, data handling and some complexity, not just a simple website or a spreadsheet.
- You produce the product (your working program) and documentation that shows how you got there, often including a short video of the product working.
- The exact criteria, word limits, mark weightings and submission format are set in the current subject guide. They can change between syllabuses, so always check the guide and your teacher's instructions rather than relying on older advice.
Good project ideas solve a specific problem: a booking system for a club, a revision quiz that adapts to errors, a stock tracker for a small shop, a simulation, or a data analysis tool for a science teacher.
Check yourself
Which is the best basis for an IA project?
Show the answer
A real problem needing a solution with genuine programming complexity
The problem should be real and challenging enough.
2Stages of the project
Most successful projects follow a cycle like this:
- Identify the problem. Investigate it, for example by talking to the person who has it. Explain clearly why a computational solution is appropriate.
- Define success criteria. Write specific, testable statements of what the finished product must do: "The user can search bookings by date and see results within one second", not "The program is good".
- Plan and design. Break the problem down (decomposition), and design the data structures, algorithms, user interface and file or database structure. Use flowcharts, pseudocode, class diagrams and sketches. Plan how you will test each success criterion.
- Develop. Build the solution in stages, testing as you go. In the documentation, explain the most important techniques you used and why you chose them, with short extracts of your code.
- Test. Use normal, boundary and erroneous data, and record evidence against each success criterion.
- Evaluate. Judge the product against your success criteria, using test evidence (and feedback from users where relevant), and suggest realistic improvements.
The project cycle: success criteria set at the start are tested and evaluated at the end
Check yourself
Which is a well-written success criterion?
Show the answer
The user can search bookings by date and see the matching results
It must be specific and testable.
3Showing complexity and technique
The documentation must show your thinking, not just the final code. Strong projects explain techniques such as:
- Appropriate data structures: lists, 2D arrays, dictionaries (hash tables), objects, stacks or queues, and why each fits the problem.
- Algorithms: searching, sorting, validation, recursion, or calculations specific to the problem.
- OOP with classes, encapsulation and inheritance where it helps organise the solution.
- File handling or a database with SQL queries, so data persists between runs.
- Error handling: validation of input and exception handling so the program does not crash.
- A clear, usable interface suited to the user.
Explaining why a technique was chosen ("a dictionary gives O(1) look-up of a member by ID, which matters because the club has hundreds of members") is worth more than listing techniques.
Check yourself
What should the documentation explain about each important technique?
Show the answer
What it does and why it was chosen for this problem
Justify your choices.
4Academic integrity and good practice
- All work must be your own. You may use libraries and frameworks, but you must acknowledge any code, images or ideas from other sources, including tutorials and AI tools, following your school's and the IB's current rules.
- Keep regular backups and use version control (such as Git) so work is not lost.
- Keep a record of your progress, decisions and problems you solved as you go: this makes writing the documentation much easier.
- Start early and plan a timeline with your teacher's deadlines.
- Before submitting, re-read the current criteria and check every one is clearly addressed.
Check yourself
You used a short code snippet from an online tutorial. What must you do?
Show the answer
Acknowledge the source clearly in your documentation
Unacknowledged code is academic misconduct.
5Going deeper: from client conversation to tested product, with examples of weak and strong documentation
Worked example: a project from start to finish
The client: a teacher who runs a school chess club of 40 students and records results on paper.
- Investigate: interview the teacher and keep a record. Findings: results get lost; working out rankings takes an hour a week; students want to see their own progress.
- Justify a computational solution: the task is repetitive, involves calculation (ratings), needs stored data and searching, and has several users.
- Success criteria, each testable:
- A teacher can record a game result in under 30 seconds.
- Ratings update automatically after each result, using a stated formula.
- A ranking table can be sorted by rating, name or games played.
- A student can view their own match history, and nobody else's.
- Data persists between sessions.
- Invalid input (a player against themselves, an unknown name) is rejected with a clear message.
- Design: a class diagram (Player, Game, Club); a database or file structure with tables for players and games; a flowchart for the rating update; screen sketches; a test plan listing normal, boundary and erroneous data for each criterion.
- Develop: build in stages (data storage, then recording results, then rating calculation, then the views), testing each before moving on.
- Test: run the plan, record screenshots or a video, and note any failures and fixes.
- Evaluate: go through each criterion with evidence, include the teacher's feedback, and propose improvements such as a tournament pairing feature.
Where the complexity lies: the rating algorithm, sorting with a chosen algorithm or library and a reason for the choice, a relational design with a query joining players and games, validation, and access control. Explain these in your documentation; they are what distinguishes the project from a simple data-entry form.
Weak and strong documentation
- Weak: "I used a list to store players." Strong: "Players are stored in a dictionary keyed by student ID, because results are looked up by ID many times per session and a dictionary gives constant-time access on average, where a list would need a linear search."
- Weak: "I tested the program and it works." Strong: a table with the test, the input, the expected result, the actual result and a screenshot reference, including a failed test and how it was fixed.
- Weak: "The client liked it." Strong: "Criterion 1 was met: in five timed trials the teacher recorded a result in 12 to 21 seconds. Criterion 4 was partly met: students can view their history, but the login uses a shared password, which the teacher identified as a weakness."
Test data, with an example for a rating between 100 and 3000
- Normal: 1500.
- Boundary: 100 and 3000 (accepted); 99 and 3001 (rejected).
- Erroneous: "abc", an empty field, a negative number.
Managing the project
- Keep versions of your code and a short log of decisions; they make the development section easy to write.
- Choose a scope you can finish. A complete, well-tested small product scores higher than an ambitious one that does not run.
- Comment your code and use meaningful names: it is read by the moderator.
Academic integrity
- Cite every library, tutorial, code fragment and AI tool you used, and say what you changed.
- Be ready to explain any line of your code. The work must be your own.
- Follow the current subject guide and your teacher on what help is allowed, the criteria and the format, since these change between syllabuses.
Check yourself
Which is the best pair of boundary test values for a field that accepts ratings from 100 to 3000?
Show the answer
100 and 3000
Boundary data lie on the edges of the valid range; values just outside it should also be tested.
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