OpenExamsFREE PRACTICE — ANY EXAM

Free Advanced Higher Computing Science Practice Questions

100 free questions · Answer explanations · No signup required

View examination details, outline and sources

Loading selected examination banks…

Sample Practice Questions

Try these 10 sample questions from the Advanced Higher Computing Science practice bank. Each includes the answer and explanation. Continue with the interactive practice above to review the full question set.

  1. 1A planning tool must run on the council’s existing Linux workstations. Where should this restriction be recorded during analysis?

    1. A.As a technical constraint on the solutionCorrect answer: A
    2. B.As a result of final acceptance testing
    3. C.As a method in the class diagram
    4. D.As an output generated by the solution

    Explanation: The official guidance states: "the operating system or platforms that will be used to deliver the working solution". The required platform restricts design choices. It is neither a test result, a class method nor generated output.

    Reference: Advanced Higher Computing Science course specification — p. 52, Technical constraints

  2. 2Which information belongs in a UML class diagram for a sensor application?

    1. A.The sequence of HTTP requests made during one test
    2. B.Classes, their typed fields, methods and relationshipsCorrect answer: B
    3. C.The dates on which each project task will finish
    4. D.The actual readings collected during a usability trial

    Explanation: The specification identifies "The purpose of a class diagram is to model the static aspect of the system.". Class diagrams describe static structure. Request sequences, schedules and trial readings are not that structural model.

    Reference: Advanced Higher Computing Science course specification — p. 63, UML class diagrams

  3. 3A binary search is applied to an array of account IDs. Which property is required for its repeated halving to locate an ID reliably?

    1. A.Every account ID must be an even number.
    2. B.The IDs must be sorted by the comparison key.Correct answer: B
    3. C.The array must contain a prime number of elements.
    4. D.The IDs must occupy consecutive numeric values.

    Explanation: The specification states "continually halving a sorted list". Ordering, not parity, length primality or consecutive key values, makes the discarded half safe to exclude.

    Reference: Advanced Higher Computing Science course specification — p. 120, Binary search

  4. 4A developer checks a newly written calculateTotal() function before connecting it to the interface or database. Which test level is this?

    1. A.Integrative testing
    2. B.End-user testing
    3. C.Component testingCorrect answer: C
    4. D.Final testing of the complete system

    Explanation: The official guidance states "Component testing takes place during the development of the solution, when individual functions or modules are created.". The individual function is being tested as it is created. Integration needs connected components, and end-user/final tests address broader completed behaviour.

    Reference: Advanced Higher Computing Science course specification — p. 164, Integrative testing

  5. 5A laboratory application saves measurements and displays a graph correctly, but cannot produce the required downloadable results file. What is the supported fitness-for-purpose conclusion?

    1. A.It is fully fit for purpose because its storage works.
    2. B.It is not fully fit for purpose because a functional requirement is unmet.Correct answer: B
    3. C.It is fully fit for purpose because its graph works.
    4. D.It is fully fit for purpose if download failure is rare.

    Explanation: The specification states that fitness for purpose requires a solution to meet "all the functional requirements". Correct storage and graphing do not compensate for the missing required download, and rarity does not turn missing functionality into compliance.

    Reference: Advanced Higher Computing Science course specification — p. 172, Fitness for purpose

  6. 6An approved budget cannot cover a proposed development. Which feasibility question most directly addresses this problem?

    1. A.Can the required users learn the interface?
    2. B.Can the solution be afforded within the budget?Correct answer: B
    3. C.Can the chosen server execute the software?
    4. D.Can the data legally be processed?

    Explanation: The official guidance states: "economic". Economic feasibility concerns affordability. The other questions concern usability, technical feasibility and legal feasibility.

    Reference: Advanced Higher Computing Science course specification — p. 6, Analysis

  7. 7A UML diagram includes a Device class. Under the notation used in the course, which method represents its constructor?

    1. A.readVoltage()
    2. B.setVoltage()
    3. C.Device()Correct answer: C
    4. D.getStatus()

    Explanation: The specification identifies "The constructor will have the same name as the class name.". The constructor name matches Device in this notation. The other method names describe ordinary operations.

    Reference: Advanced Higher Computing Science course specification — p. 64, Constructor

  8. 8During binary search of an ascending array, target > list[mid]. Which update excludes the already-checked midpoint and the smaller half?

    1. A.high = mid + 1
    2. B.low = mid
    3. C.low = mid + 1Correct answer: C
    4. D.high = mid - 1

    Explanation: The specification states "set low = mid + 1". The target can only be above mid. The third update moves low past the checked midpoint; low=mid may fail to progress and the high updates retain or select the wrong region.

    Reference: Advanced Higher Computing Science course specification — p. 121, Binary-search pseudocode

  9. 9A calculation module and database query pass separately, but wrong parameter ordering causes errors when connected. Which test type directly targets this defect?

    1. A.A visual review of the prototype
    2. B.A repeat test of the calculation in isolation
    3. C.A standalone check of SQL syntax only
    4. D.Integrative testing of the connected modulesCorrect answer: D

    Explanation: The official guidance states "verify interaction between components and to detect interface defects.". The error is at the interface between independently functioning components. Isolated tests and visual prototype review do not exercise parameter transfer.

    Reference: Advanced Higher Computing Science course specification — p. 164, Integrative testing

  10. 10A database report is easy to use and runs quickly, but its displayed totals disagree with independently calculated totals from the same records. Which evaluation criterion has failed most directly?

    1. A.Maintainability of the source code
    2. B.Usability of the report controls
    3. C.Accuracy of outputCorrect answer: C
    4. D.Speed of processing

    Explanation: The specification names "accuracy of output" for database evaluation. Incorrect totals directly fail that criterion even if use and speed are satisfactory. No evidence about the ease of future code changes is given.

    Reference: Advanced Higher Computing Science course specification — p. 15, Database evaluation

Exam Review

About Advanced Higher Computing Science

Advanced Higher Computing Science · GB

Key exam facts

Provider
Qualifications Scotland is Scotland’s national awarding body, replacing SQA on 1 February 2026. It sets and marks the question paper and externally marks the project.
Format
Centre-based written question paper with short stand-alone questions and context-based restricted/extended responses, solution design and code; externally marked project. Software section is mandatory; answer either Database or Web section, including specified integration. Four-option practice does not replace practical project training.
Time limit
Question paper: 2 hours actual answering time. Project: evidence produced in no more than 20 hours; preparation may require additional time.
Passing score
Course graded A–D on the combined 135 marks (55 paper + 80 project). Notional C boundary 50%, A 70%, Upper A 85%; notional D 40–49%. Actual grade boundaries are determined annually and may be adjusted; these are not guaranteed fixed pass percentages.
Exam fee
No single candidate price is specified in the course specification or current subject and private-candidate guidance checked. Published official finance reporting describes local-authority National Qualifications charging by annual levy rather than per entry; private-candidate arrangements are agreed with the presenting centre. Confirm any GBP charges with that centre; historical centre prices are not quoted as 2026–27 fees.

Topics covered

  • Analysis (10%)

  • Design (30%)

    • Software design and development: data structures; structure diagrams, pseudocode, UML class diagrams, top-level design, data flow, refinements and interface wireframes
    • Database design and development: entity-relationship and occurrence diagrams, strong/weak entities, participation, cardinality, surrogate keys, SQL data dictionary and query design
    • Web design and development: wireframes, layout, navigation, consistency, processes, low-fidelity prototypes and server-side design
  • Implementation (40%)

    • Data types and structures; object-oriented computational constructs; database connection, queries and results; binary search, insertion sort and bubble sort; code interpretation
    • SQL DDL and DML; CREATE, DROP, constraints, HAVING, subqueries, data types, IN, NOT, BETWEEN, ANY, EXISTS; SQL code interpretation
    • Responsive CSS media queries; HTML forms and tables; PHP form processing, database connection and queries, result formatting, variables, assignment, repetition, selection and sessions; code interpretation
  • Testing (15%)

  • Evaluation (5%)

How to prepare

Work through the topics, read the explanation after each answer, and revisit the areas where you miss questions. Use the official outline and reference materials below to guide your study.

These independent practice questions are not actual exam items and do not guarantee a passing result.

Frequently asked questions

What is the exam format?

Centre-based written question paper with short stand-alone questions and context-based restricted/extended responses, solution design and code; externally marked project. Software section is mandatory; answer either Database or Web section, including specified integration. Four-option practice does not replace practical project training.

How long is the exam?

Question paper: 2 hours actual answering time. Project: evidence produced in no more than 20 hours; preparation may require additional time.

What is the passing score?

Course graded A–D on the combined 135 marks (55 paper + 80 project). Notional C boundary 50%, A 70%, Upper A 85%; notional D 40–49%. Actual grade boundaries are determined annually and may be adjusted; these are not guaranteed fixed pass percentages.

How much does the exam cost?

No single candidate price is specified in the course specification or current subject and private-candidate guidance checked. Published official finance reporting describes local-authority National Qualifications charging by annual levy rather than per entry; private-candidate arrangements are agreed with the presenting centre. Confirm any GBP charges with that centre; historical centre prices are not quoted as 2026–27 fees.

Official sources and references

Confirm current exam arrangements with the exam provider.