Free Advanced Higher Computing Science Practice Questions
100 free questions · Answer explanations · No signup required
View examination details, outline and sourcesLoading 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.
1A planning tool must run on the council’s existing Linux workstations. Where should this restriction be recorded during analysis?
- A.As a technical constraint on the solutionCorrect answer: A
- B.As a result of final acceptance testing
- C.As a method in the class diagram
- 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
2Which information belongs in a UML class diagram for a sensor application?
- A.The sequence of HTTP requests made during one test
- B.Classes, their typed fields, methods and relationshipsCorrect answer: B
- C.The dates on which each project task will finish
- 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
3A binary search is applied to an array of account IDs. Which property is required for its repeated halving to locate an ID reliably?
- A.Every account ID must be an even number.
- B.The IDs must be sorted by the comparison key.Correct answer: B
- C.The array must contain a prime number of elements.
- D.The IDs must occupy consecutive numeric values.
4A developer checks a newly written calculateTotal() function before connecting it to the interface or database. Which test level is this?
- A.Integrative testing
- B.End-user testing
- C.Component testingCorrect answer: C
- 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
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?
- A.It is fully fit for purpose because its storage works.
- B.It is not fully fit for purpose because a functional requirement is unmet.Correct answer: B
- C.It is fully fit for purpose because its graph works.
- 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
6An approved budget cannot cover a proposed development. Which feasibility question most directly addresses this problem?
- A.Can the required users learn the interface?
- B.Can the solution be afforded within the budget?Correct answer: B
- C.Can the chosen server execute the software?
- D.Can the data legally be processed?
7A UML diagram includes a Device class. Under the notation used in the course, which method represents its constructor?
- A.readVoltage()
- B.setVoltage()
- C.Device()Correct answer: C
- D.getStatus()
8During binary search of an ascending array, target > list[mid]. Which update excludes the already-checked midpoint and the smaller half?
- A.high = mid + 1
- B.low = mid
- C.low = mid + 1Correct answer: C
- 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
9A calculation module and database query pass separately, but wrong parameter ordering causes errors when connected. Which test type directly targets this defect?
- A.A visual review of the prototype
- B.A repeat test of the calculation in isolation
- C.A standalone check of SQL syntax only
- 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
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?
- A.Maintainability of the source code
- B.Usability of the report controls
- C.Accuracy of outputCorrect answer: C
- 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
- Advanced Higher Computing Science course specification
pp. 6–15
- Advanced Higher Computing Science Project Assessment Task
p. 4
- Advanced Higher Computing Science course specification
pp. 17–22
- Grade Boundaries Background Information
Description
- SQA Annual Report and Accounts 2024–25
p. 82
- Private candidates: information for centres
Introduction
Confirm current exam arrangements with the exam provider.