Security and software quality

Start questions

Unofficial selected-topic practice.

Practice scope

Original English practice with worked guidance. Selected topics only. This is not a complete syllabus, official past-paper collection or predicted exam score. Check your own exam-board specification: these concepts are not certified against a particular board or exam year. Where a question shows a Cambridge 2027 reference, that is a conceptual placement only; no other exam board (such as Edexcel, AQA or OCR) is mapped, so do not assume this covers your board. Content here is written and checked with AI assistance; it has not been approved by an independent teacher or endorsed by any exam board.

160 original questions across 22 selected topic areas. No account or payment required to practise.

Cambridge International AS & A Level Computer Science (9618), examination year 2027: Conceptual alignment to official sources, not exam-board certification. Syllabus mapping and remaining coverage.

6 questions in this topic

Original questions with indicative worked guidance. Selected topics only.

All topics

Original practice in security and software quality; indicative answers for unofficial practice.

6 of 6 questions shown

Loading saved responses

Question 1Hide question3 indicative marks

Distinguish authentication from authorisation using a school results portal.

Cambridge 2027: Direct conceptual match

Identity authentication versus access rights is directly supported by the named accounts/authentication/data-access safeguards.

Conceptual placement only, not official Cambridge endorsement or complete syllabus coverage.

Show indicative guidance

Worked guidance

  1. Login and access control answer different questions: who is requesting and what may they do? The server must enforce the second even when the first succeeded.

Self-marking points

Tick what your working earned. The count is your own self-assessment.

Self-assessed: not counted yet. This question is worth 3 marks.

Examiner tip

Hiding a link in the interface is not an authorisation check.

Question 2Explain why a password manager's generated unique passwords reduce the impact of a breach at one website.3 indicative marks

Explain why a password manager's generated unique passwords reduce the impact of a breach at one website.

Cambridge 2027: Partial conceptual match

Password uniqueness applies listed password safeguards to a threat; manager-generated credential-reuse depth is not itself a required named technique.

Conceptual placement only, not official Cambridge endorsement or complete syllabus coverage.

Show indicative guidance

Worked guidance

  1. A stolen credential can only directly unlock services accepting that credential. Uniqueness limits the breach's scope; it does not undo exposure of the breached site's own data.

Self-marking points

Tick what your working earned. The count is your own self-assessment.

Self-assessed: not counted yet. This question is worth 3 marks.

Examiner tip

Do not claim unique passwords prevent all phishing or endpoint compromise.

Question 3Explain how a parameterised SQL query prevents user input from becoming SQL syntax, and why escaping only apostrophes is a weaker design.3 indicative marks

Explain how a parameterised SQL query prevents user input from becoming SQL syntax, and why escaping only apostrophes is a weaker design.

Cambridge 2027: Board-neutral enrichment

Parameter binding and context-dependent SQL escaping are not in the specified SQL subset; general security language alone is not a direct mapping.

Conceptual placement only, not official Cambridge endorsement or complete syllabus coverage.

Show indicative guidance

Worked guidance

  1. Concatenation lets characters alter a query's grammar. Binding parameters fixes that grammar first and then supplies values; dynamic identifiers still need allowlisted construction because value parameters do not represent every SQL component.

Self-marking points

Tick what your working earned. The count is your own self-assessment.

Self-assessed: not counted yet. This question is worth 3 marks.

Examiner tip

Validation can complement binding but should not replace it for query values.

Question 4Distinguish symmetric encryption from hashing, and explain why password verification normally needs a salted password hash rather than reversible encryption.3 indicative marks

Distinguish symmetric encryption from hashing, and explain why password verification normally needs a salted password hash rather than reversible encryption.

Cambridge 2027: Partial conceptual match

The symmetric-encryption distinction is relevant, but salted costly password hashing is not explicitly required by the encryption/key objective.

Conceptual placement only, not official Cambridge endorsement or complete syllabus coverage.

Show indicative guidance

Worked guidance

  1. Verification can recompute the stored derivation from a submitted password and recorded salt. Reversible storage creates a key whose compromise can expose every password, whereas appropriate password hashing raises offline-guessing cost without requiring recovery.

Self-marking points

Tick what your working earned. The count is your own self-assessment.

Self-assessed: not counted yet. This question is worth 3 marks.

Examiner tip

A salt is not a secret decryption key, and a fast general-purpose hash alone is unsuitable.

Question 5A tested application encrypts traffic but logs full medical records and gives all staff administrator access. Evaluate the claim that encryption makes the system secure, proposing two targeted changes.4 indicative marks

A tested application encrypts traffic but logs full medical records and gives all staff administrator access. Evaluate the claim that encryption makes the system secure, proposing two targeted changes.

Cambridge 2027: Direct conceptual match

Medical-log exposure and excessive access illustrate privacy/security distinctions, access control and ethical consequences without claiming total system security.

Conceptual placement only, not official Cambridge endorsement or complete syllabus coverage.

Show indicative guidance

Worked guidance

  1. Trace information beyond the network connection. A secure channel can still deliver data into overexposed logs, and a correctly authenticated employee can misuse excessive permissions; the proposed controls address those distinct exposures.

Self-marking points

Tick what your working earned. The count is your own self-assessment.

Self-assessed: not counted yet. This question is worth 4 marks.

Examiner tip

Identify the protected threat for each control instead of calling any control a complete solution.

Question 6A classifier is 95% accurate overall but performs poorly for a small demographic group. Evaluate deploying it for high-impact decisions, identifying evidence beyond aggregate accuracy and an operational safeguard.4 indicative marks

A classifier is 95% accurate overall but performs poorly for a small demographic group. Evaluate deploying it for high-impact decisions, identifying evidence beyond aggregate accuracy and an operational safeguard.

Cambridge 2027: Partial conceptual match

Unequal AI impacts directly support ethical AI discussion; subgroup error statistics, appeals and deployment governance go beyond specified technical neural-learning outcomes.

Conceptual placement only, not official Cambridge endorsement or complete syllabus coverage.

Show indicative guidance

Worked guidance

  1. A single metric weights groups by their prevalence and treats unequal error costs alike. Deployment judgement needs disaggregated evidence and a process that can catch, challenge and correct harmful decisions rather than merely a high average score.

Self-marking points

Tick what your working earned. The count is your own self-assessment.

Self-assessed: not counted yet. This question is worth 4 marks.

Examiner tip

An overall percentage is not a fairness guarantee or an automatic deployment threshold.

All AS & A Level subjects