# How to Do Well in the IB Computer Science Internal Assessment

## 1. Understand the task

The Internal Assessment is a **computational solution** to a problem chosen by the student. It is compulsory at both SL and HL and uses the same assessment criteria at both levels.

You must:

- identify a problem that interests you
- define measurable requirements
- develop a coded software solution
- demonstrate computational thinking and algorithmic thinking
- document the process using criteria A–E
- demonstrate functionality and testing in a video
- submit the full source code and referenced resources in an appendix.

The product should be sufficiently complex and innovative for DP Computer Science. It must require coding. A copied product, an unchanged template, or a drag-and-drop product without meaningful code development is not appropriate.

## 2. Submission requirements

### Documentation

- Submit one PDF.
- Organize it into five sections: criteria A, B, C, D, and E.
- Maximum: **2,000 words**.
- Code excerpts, code comments, and diagrams do not count toward this limit.
- Put the total word count on the first page.

### Video

- Submit a separate video file.
- Maximum: **5 minutes**.
- Demonstrate the full functionality of the product.
- Demonstrate examples from the testing strategy.

### Appendix

- Submit one appendix PDF.
- Include the complete source code and any resources referenced in the documentation.
- Examiners do not normally use the appendix as direct marking evidence.
- Without the complete source code, full marks for techniques in criterion D are not available.

## 3. Design the whole IA as one connected argument

The strongest submissions maintain the following chain:

1. The **problem scenario** identifies measurable needs.
2. The **success criteria** turn those needs into testable outcomes.
3. The **decomposition and plan** show how those outcomes will be achieved.
4. The **system model and algorithms** design the solution.
5. The **development** implements and tests the design.
6. The **evaluation** uses test evidence to judge each success criterion.

Create a traceability table early in the project:

| Success criterion | Requirement | Planned tasks | Design component | Tests | Evaluation evidence |
|---|---|---|---|---|---|
| SC1 | What need it addresses | When/how it will be built | Diagram or algorithm | Test IDs | Result and conclusion |

This prevents the most common examiner complaint: a success criterion appearing in one section but disappearing from later sections.

---

## Criterion A: Problem specification — 4 marks

**Recommended word count: 300 words**

### What the criterion requires

You need to:

- describe the problem scenario in terms of measurable solution requirements
- state appropriate success criteria
- explain the choice of computational context.

### Problem scenario

Describe a real problem, not merely an idea for an application. Identify:

- who experiences the problem
- what currently happens
- what causes the problem
- what is inefficient, unreliable, difficult, or impossible
- whether computational solutions already exist and what their shortcomings are
- why constructing a new computational solution is valuable or significant
- what the solution needs to achieve
- constraints involving data, hardware, software, users, privacy, or time.

Briefly describe the proposed solution and express its core objectives as measurable outcomes. The scenario should make clear why the product is worth constructing, not just what you intend to build.

Turn general needs into measurable requirements.

Weak:

> The client needs an easy timetable application.

Stronger:

> The user must be able to generate a five-day timetable from stored subject choices, detect scheduling conflicts, and export the final timetable without editing configuration files manually.

### Success criteria

Success criteria should be:

- specific
- measurable
- complete
- testable
- directly derived from the scenario
- focused on the completed product rather than the development process.

As practical guidance from the teacher support material, aim for approximately **8–10 substantial success criteria** when that number suits the scope of the solution. Quality and completeness matter more than creating extra superficial criteria. Taken together, the criteria should describe everything the successful product must achieve.

Use identifiers such as SC1, SC2, and SC3. Word each criterion precisely and relate it directly to required functionality. Avoid criteria such as “looks good,” “is user-friendly,” or “works correctly” unless you define objective evidence. If the user interface is assessed, specify measurable features such as navigation steps, supported screen sizes, accessibility behaviour, or user-task completion.

The success-criteria list is not included in the documentation word count. Keep explanations concise, but make the criteria themselves complete because they will be reused in planning (criterion B), development (criterion D), and evaluation (criterion E).

Cover the complete solution, including where relevant:

- core functionality
- input validation
- data storage and retrieval
- editing and deletion
- calculations or algorithms
- output and reporting
- security or access control
- usability requirements.

### Computational context

Explain the specific area of computing selected for the solution and why it is appropriate. Do not give a generic description of the programming language.

Identify the relevant parts of the computational context, including where applicable:

- programming language
- software environment, libraries, frameworks, and operating system
- hardware, devices, sensors, or components
- data sources, database technology, and data structures
- networking, deployment, access, compatibility, or other implementation constraints.

Depending on the project, discuss relevant concepts such as:

- object-oriented programming
- relational databases
- client-server networking
- web application architecture
- game states and collision detection
- data structures and algorithms
- mobile application architecture
- file handling or APIs.

Connect every technology to a requirement. For example, explain why a relational database supports the required relationships and queries rather than only saying that a database stores data. Where useful, compare plausible alternatives and justify why the selected option better fits the scenario. Avoid generic claims such as “Python is easy”; explain the project-specific benefit.

### Common reasons students lost marks

- No measurable requirements.
- Too few, vague, or incomplete success criteria.
- Success criteria that were never implemented.
- Generic computational context.
- Failure to explain a context central to the product, such as networking.
- Choosing a problem that was too trivial or already solved adequately by common tools.

### Criterion A checklist

- [ ] The current situation, cause of the problem, and affected users are clear.
- [ ] Existing solutions and their shortcomings have been considered.
- [ ] The value of constructing this solution is explained.
- [ ] The proposed solution and its core objectives are measurable.
- [ ] Approximately 8–10 substantial success criteria are used where appropriate.
- [ ] Success criteria collectively cover the whole intended product.
- [ ] Every success criterion is clear, specific, relevant, and testable.
- [ ] Subjective interface criteria have been converted into measurable evidence.
- [ ] The programming, software, hardware, data, and implementation environments are identified where relevant.
- [ ] Technology choices are justified against project needs and alternatives where useful.
- [ ] The task provides enough complexity for meaningful algorithms and techniques.

---

## Criterion B: Planning — 4 marks

**Recommended word count: 150 words**

### What the criterion requires

You need to:

- construct a reasonable decomposition of the problem scenario
- construct a plan that addresses the success criteria.

### Decomposition

Break the problem scenario and proposed solution into manageable functional and technical sub-problems or components. Decomposition describes **what the solution must contain and do**; it is not a list of project stages such as designing, coding, testing, or evaluating.

Possible components include:

- user authentication
- interface screens
- data model and storage
- input validation
- search, sort, or filtering
- calculations or algorithms
- import/export
- error handling
- reports or visualizations.

A diagram can communicate decomposition efficiently. Name each component by its responsibility. For example, use “store and retrieve customer records” rather than the generic label “database”.

The decomposition does not have to reference success criteria explicitly. However, adding those references can improve traceability and help confirm that the proposed components cover the complete solution.

Example:

| Solution component | Responsibility                                           | Related success criteria |
| ------------------ | -------------------------------------------------------- | ------------------------ |
| Authentication     | Register users, validate credentials, and control access | SC1, SC2                 |
| Data management    | Store, retrieve, edit, and delete customer records       | SC3, SC4                 |
| Search             | Find records using the required search fields            | SC5                      |
| Reporting          | Calculate summary values and display the required report | SC6, SC7                 |

Do not force a one-to-one relationship. A success criterion may involve several components, and a component may support several criteria.

### Plan

The plan should include a proposed chronology for all five stages:

1. planning
2. designing
3. developing
4. testing
5. evaluating.

For each task, include:

- a clear activity
- order, date, sprint, or milestone
- expected output
- relevant success criteria
- dependencies where useful.

A Gantt chart, Agile board, sprint table, or structured timeline can work. The format matters less than clarity and traceability.

Unlike the decomposition, the plan should explicitly show how the work addresses the success criteria.

Example:

| Order/stage | Planned task | Expected output | Related success criteria |
|---:|---|---|---|
| 1 — Planning | Confirm measurable requirements and finalize the data fields with the client | Approved requirements and final success criteria | SC1–SC7 |
| 2 — Designing | Create the database schema, interface wireframes, and search algorithm | ER diagram, wireframes, and pseudocode | SC1–SC6 |
| 3 — Developing | Implement authentication and customer-record management | Working login and CRUD functions | SC1–SC4 |
| 4 — Developing | Implement search and reporting | Working search and report generation | SC5–SC7 |
| 5 — Testing | Run normal, boundary, and invalid-data tests and correct defects | Completed test results and corrected product | SC1–SC7 |
| 6 — Evaluating | Compare test evidence with each success criterion and identify justified improvements | Criterion-by-criterion evaluation | SC1–SC7 |

The real plan should use dates, sprints, or milestones appropriate to the project and should be updated when development changes.

### Common reasons students lost marks

- Generic or very limited decomposition.
- Design or evaluation omitted from the chronology.
- Vague chronology.
- Plan not linked to success criteria.
- Planning embedded unclearly within another section.
- A plan that covered only some success criteria.

### Criterion B checklist

- [ ] The decomposition is specific to the product.
- [ ] All important components appear.
- [ ] The plan has a clear chronology.
- [ ] All five stages are included.
- [ ] Every success criterion is referenced by planned work.
- [ ] The plan is consistent with criterion A.

---

## Criterion C: System overview — 6 marks

**Recommended word count: 150 words**

### What the criterion requires

You need to:

- construct a complete system model
- construct algorithms that enable the product to perform
- describe a testing strategy aligned with the success criteria.

The overview should be clear enough for a technically capable third party to recreate the product.

### System model

Show the major components, relationships, rules, and interactions. Include the user interface.

Depending on the product, useful diagrams may include:

- system or architecture diagram
- UML class diagram
- entity-relationship diagram
- database schema
- data-flow diagram
- navigation map
- wireframes or interface designs
- state diagram
- file or API interaction diagram.

Model every major part of the solution. Examiner reports repeatedly identified missing UI design, database details, file interactions, output formats, and subsystem interactions.

### Algorithms

Present algorithms using pseudocode, flowcharts, or precise natural language. Select algorithms that demonstrate thinking rather than obvious interface operations.

Examples include:

- searching, sorting, and filtering
- timetable generation or conflict resolution
- validation and error handling
- scoring or game-state updates
- calculations and transformations
- recommendation or selection logic
- data synchronization.

Ensure the algorithm set covers all major functionality. Missing algorithms often led directly to judgments of limited or partial functionality.

### Testing strategy

Plan tests before development is complete. Use a table such as:

| Test ID | Success criterion | Feature                    | Test type                 | Input/precondition                                                                  | Expected result                                                                                         |
| ------- | ----------------- | -------------------------- | ------------------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
| T01-N   | SC3               | Validate age               | Normal                    | Enter age `24`                                                                      | Age is accepted and the record can be saved.                                                            |
| T01-E   | SC3               | Validate age               | Extreme/boundary          | Enter the minimum accepted age `18`, then the maximum accepted age `120`            | Both boundary values are accepted and stored correctly.                                                 |
| T01-A   | SC3               | Validate age               | Abnormal/invalid          | Enter `17`, `121`, and `twenty`                                                     | Each value is rejected with a clear message; no invalid age is stored.                                  |
| T04-N   | SC4               | Delete customer record     | Normal/state verification | Delete existing customer `C104`, then search for `C104`                             | The record is absent from the interface and database; related data follows the specified deletion rule. |
| T04-A   | SC4               | Delete customer record     | Abnormal/invalid          | Attempt to delete nonexistent customer `C999` or delete without permission          | No data is removed; the system reports the problem and remains stable.                                  |
| T05-N   | SC5–SC7           | Create, search, and report | Normal integration        | Create a valid customer, find the customer through search, then generate the report | Search returns the saved record and its values are included correctly in report totals.                 |
| T05-A   | SC5–SC7           | Create, search, and report | Abnormal integration      | Attempt to create an invalid customer, then search and generate the report          | The invalid record is not created, does not appear in search, and does not affect report totals.        |

These examples are illustrative. Replace their fields, limits, and expected behaviour with values derived from the actual project requirements and success criteria. For each input-validation rule, normally include at least one **normal**, one **extreme/boundary**, and one **abnormal/invalid** case. Not every non-input feature needs all three categories; use state-verification, integration, security, or performance tests where those are more appropriate.

Include:

- **normal data:** typical valid input
- **boundary/extreme data:** minimums, maximums, empty limits, very large values
- **abnormal/invalid data:** wrong type, missing data, invalid format, unauthorized action
- **state verification:** confirm that save, edit, delete, sorting, calculations, and graphs produced the correct final state
- **integration tests:** confirm that components work together.

Do not merely test that a button can be clicked. Verify the resulting data and output.

### Common reasons students lost marks

- Minimal or incomplete system model.
- Missing interface design.
- Missing database, file, API, or subsystem details.
- Missing algorithms for important features such as saving, sorting, or searching.
- Testing based on incomplete success criteria.
- No extreme or abnormal tests.
- Tests that performed an action but did not verify the resulting state.

### Criterion C checklist

- [ ] The model covers every major component and interaction.
- [ ] UI designs are included.
- [ ] Data storage and external interactions are shown.
- [ ] Algorithms cover all significant logic.
- [ ] Tests align with every success criterion.
- [ ] Normal, boundary, abnormal, and integration tests are planned.
- [ ] Expected results are precise.

---

## Criterion D: Development — 12 marks

**Recommended word count: 1,000 words**

Criterion D carries the most marks and was the largest source of lost marks in the examples.

### What the criterion requires

For the highest level, you need to:

- construct a fully functional product
- justify the structure of the product and explain why it is appropriate
- use appropriate techniques to implement the algorithms
- evaluate implementation choices
- describe the testing strategy used and justify its effectiveness.

### Explain and justify the product structure

Criterion C presents the planned system model. Criterion D should explain how the product was actually structured during implementation and justify why that structure suits the problem.

Depending on the product, discuss:

- folders, files, modules, packages, classes, or components
- separation of the user interface, application logic, and data-access code
- database tables, relationships, and data flow
- client, server, API, and networking responsibilities
- game scenes, states, entities, and update logic
- how shared utilities, configuration, assets, or external libraries are organized
- how components communicate and depend on one another.

A concise folder tree, component diagram, class diagram, or architecture diagram can support the explanation, but do not include a diagram without discussing it. Focus on the important structural decisions rather than describing every file.

For each major decision, explain:

1. what responsibility the component has
2. how it interacts with other components
3. why this separation or organization is appropriate
4. how it supports maintainability, reuse, reliability, testing, or future extension
5. any limitation or trade-off.

Weak:

> The project has separate files for the interface and database.

Stronger:

> The interface, business rules, and database operations are separated into three modules. The interface module only collects input and displays results, while the service module validates data and applies the search rules. All SQL operations are isolated in the repository module. This structure avoids duplicating queries in interface code, makes validation easier to test, and allows the database implementation to change without redesigning every screen. For a small product it introduces additional files, but the clearer responsibilities make later maintenance safer.


### Documentation: discuss each programming technique completely

Choose code excerpts that demonstrate meaningful techniques.

For every programming technique presented in Criterion D, use the **name of the technique as a subheading**. Under that subheading, complete these four steps in order:

1. **Include the code excerpt as a screenshot.** Show only the relevant code while preserving enough context to understand it. The screenshot must be fully legible, the code must be fully commented, and variables, functions, classes, and other identifiers must have clear, meaningful names. You may annotate the screenshot with short phrases or callouts to highlight important lines, but annotations should support rather than replace the code comments and written explanation. Code excerpts included in the documentation must be referenced to the full source code submitted as an appendix.
2. **Explain the technique.** Identify its purpose, explain how the screenshot code works, connect it to an algorithm from criterion C, and reference its location in the full source code.
3. **Evaluate the implementation choice.** Explain why the technique was selected, consider reasonable alternatives, and evaluate benefits, limitations, efficiency, maintainability, reliability, scalability, and trade-offs where relevant.
4. **Evaluate the testing strategy for that technique.** Explain how the related tests addressed correctness, reliability, and efficiency where relevant; refer to appropriate normal, extreme/boundary, and abnormal/invalid data; and justify why the testing was effective while acknowledging its limits.


#### Example:  Centralized age validation with exception handling

The technique was **centralized age validation with exception handling**. One function converts input, catches errors, and enforces 18–120 before create, edit, or import writes to the database. I rejected interface-only validation because it can be bypassed. Centralization removes duplicated rules, improves maintainability, and ensures consistent behaviour. Conversion and range comparisons use constant time and space. However, callers must handle exceptions, and the algorithm requires revision if unknown ages are allowed.

To justify testing effectiveness, I used equivalence partitions and boundary analysis: normal `24`; extremes `18` and `120`; abnormal `17`, `121`, `twenty`, and empty input. The first text test crashed, exposing a defect missed by normal testing. After exception handling was added, retesting passed. Database checks confirmed rejected inputs were not stored, while regression tests confirmed all three workflows still worked. This demonstrates correctness, robustness, and integration for this technique, but not the reliability of unrelated fields.

### Video: demonstrate success criteria and the test strategy

The video must:

- be submitted as a separate file
- be no longer than **five minutes**
- use a common format such as `.mp4`, `.avi`, or `.wmv`
- demonstrate the full functionality of the product
- demonstrate examples from the testing strategy.

Organize the video by following the test plan. Go through every success criterion in a clear order, demonstrate the related functionality, carry out the planned test examples, and show the visible result. This allows the video to support both the success criteria and the testing-strategy evaluation written under each programming technique. Inputs, actions, and outcomes should be clear, and representative extreme or abnormal cases should be shown where relevant.

The examiner reports repeatedly criticized videos that were too short, showed only partial functionality, used limited test data, omitted extreme or abnormal cases, failed to demonstrate edit/delete operations, or left outputs unclear. The video should therefore prioritize complete, observable evidence.

Do not use limited video time for:

- a long introduction or repeated explanation of the project background
- reading the documentation or success criteria aloud without demonstrating them
- a detailed code walkthrough—the video’s stated purpose is functionality and testing evidence
- every repetitive test when representative examples communicate the strategy
- unsupported claims that a feature works without showing its result
- manual editing of external files or configuration unless that is an intentional part of the solution
- real personal, confidential, or insecure test data.

### Common reasons students lost marks

- Partial or underdeveloped functionality.
- Product not fully integrated.
- Product structure described without explaining or justifying why it was appropriate.
- Important functionality not shown in the video.
- Appropriate techniques used but not explained.
- Inefficient implementation without evaluation.
- Implementation choices outlined instead of evaluated.
- Key code not highlighted.
- Code not commented.
- Little or no extreme/abnormal testing.
- Testing effectiveness stated generically.
- Video too short to provide convincing evidence.

### Criterion D checklists

#### Documentation checklist

- [ ] The implemented product structure is clearly explained and justified.
- [ ] Every selected programming technique has its own clearly named subheading.
- [ ] Under each technique, a relevant code excerpt is explained and connected to a criterion C algorithm.
- [ ] Under each technique, the implementation choice is evaluated using alternatives, benefits, limitations, efficiency, maintainability, reliability, scalability, or trade-offs where relevant.
- [ ] Under each technique, the related testing strategy is evaluated for correctness, reliability, and efficiency where relevant.
- [ ] The effectiveness and limitations of testing are justified rather than merely stated.
- [ ] Testing evidence discussed for each technique is identifiable in the test plan and video.
- [ ] The full source code is readable, commented, and included in the appendix.

#### Video checklist

- [ ] The video is a separate file in a common format and is no longer than five minutes.
- [ ] Every success criterion and the product’s full functionality are demonstrated.
- [ ] The video follows the test plan in a clear order.
- [ ] Each success criterion is linked to its functionality and planned test evidence.
- [ ] Inputs, actions, and resulting outputs are visible and understandable.
- [ ] Testing-strategy examples discussed under the programming techniques are demonstrated.
- [ ] Normal, extreme/boundary, and abnormal/invalid cases are shown where relevant.
- [ ] Important operations such as create, edit, delete, search, calculation, or output are shown where part of the product.
- [ ] Time is not wasted on long introductions, documentation reading, repetitive tests, or detailed code explanation.
- [ ] No real confidential or insecure personal data is visible.

---

## Criterion E: Evaluation — 4 marks

**Recommended word count: 400 words**

### What the criterion requires

You need to:

- evaluate the extent to which the success criteria were met
- justify improvements to the product.

### Evaluate every success criterion

Do not merely write “met” or “not met.” For every success criterion:

1. restate or reference it
2. cite relevant test evidence
3. explain the extent to which it was achieved
4. identify limitations or conditions
5. reach a justified conclusion.

Useful format:

| SC  | Evidence | Extent achieved | Limitation | Conclusion |
| --- | -------- | --------------- | ---------- | ---------- |

Evaluation language includes judgments such as:

- fully achieved under the tested conditions
- achieved with a limitation
- only partially achieved
- reliable for normal data but not boundary data
- functional but inefficient at larger scale.

### Propose justified improvements

An improvement should arise from a genuine limitation discovered during development, testing, or evaluation.

Strong improvements are:

- specific
- technically realistic
- connected to evidence
- beneficial to users or product quality
- justified in terms of impact.

Avoid:

- purely cosmetic changes such as making the interface “prettier”
- vague ideas such as “add more features”
- contrived suggestions unrelated to identified limitations
- unfinished original success criteria presented as future improvements.

Explain how an improvement could be implemented and why it should be prioritized.

### Common reasons students lost marks

- Stating that criteria were met instead of evaluating them.
- Evaluating incomplete or poorly written success criteria.
- Ignoring a criterion that was not properly implemented.
- Little evidence from testing.
- Improvements that were trivial or cosmetic.
- Calling an unfinished required feature an improvement.
- Improvement justification lacking depth or critical thinking.

### Criterion E checklist

- [ ] Every success criterion is evaluated.
- [ ] Conclusions use test evidence.
- [ ] Limitations are acknowledged honestly.
- [ ] Improvements address real limitations.
- [ ] Improvements are substantial and technically realistic.
- [ ] Each improvement’s value and likely implementation are justified.

---

## 4. Final quality-control checklist

### Coherence

- [ ] The same success-criterion identifiers are used throughout.
- [ ] Criterion B plans all success criteria.
- [ ] Criterion C designs and tests all success criteria.
- [ ] Criterion D implements and demonstrates them.
- [ ] Criterion E evaluates them using evidence.

### Evidence

- [ ] Diagrams are readable and labelled.
- [ ] Algorithms are complete.
- [ ] Code excerpts are relevant and referenced to the appendix.
- [ ] Full code is included and commented.
- [ ] Test tables contain inputs, expected results, and actual results.
- [ ] The video visibly demonstrates functionality and testing.

### Submission

- [ ] Documentation is no more than 2,000 words.
- [ ] Word count appears on the first page.
- [ ] Video is no more than five minutes.
- [ ] Documentation, video, and appendix are separate files.
- [ ] The appendix contains the complete source code.
- [ ] All external sources, libraries, and reused code are acknowledged.
- [ ] Personal data is handled securely and necessary consent has been obtained.

## 5. The central lesson from the marked examples

The highest marks did not simply go to the most complicated product. They went to work that created a clear line of reasoning and evidence from the original problem to the final evaluation.

Before submission, ask:

> Can an examiner trace every measurable need through a success criterion, a planned task, a design component, an implementation, a test, and an evidence-based evaluation?

If the answer is yes, the IA is likely to be coherent, complete, and well supported.

## Sources

- *IB Computer Science Guide*, first assessment 2027, Internal Assessment section.
- IB assessed student work examiner comments for examples 1–8.
