Free 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 Higher Computing Science practice bank. Each includes the answer and explanation. Continue with the interactive practice above to review the full question set.
1A specification for a stock program says that deliveries arrive in an accurate CSV file and that correcting supplier data is outside the project. Which part of the analysis does this statement principally define?
- A.The boundaries of the software taskCorrect answer: A
- B.The scope of the project deliverables
- C.The layout of the program interface
- D.The sequence of the testing activities
Explanation: The specification defines "Boundaries: the limits that help to define what is in the project and what is not." Accepting accurate supplier data and excluding its correction limits the task. Scope concerns deliverables; interface layout is design; test sequencing is a testing decision.
Reference: Higher Computing Science Course Specification — Appendix 2, printed page 67, Boundaries
2A routine must calculate an average from an array of readings and supply the average to its caller. Which data-flow annotation matches this design?
- A.IN: average; OUT: readings
- B.IN: readings; OUT: averageCorrect answer: B
- C.IN: readings, average; OUT: nothing
- D.IN: nothing; OUT: readings, average
Explanation: The guidance says "Data flow — shows the information that must flow In or Out from the sub-programs." The readings are needed by the calculation; the computed average must leave it. Reversing the flow, treating the result as an input or omitting the input fails this contract.
Reference: Higher Computing Science Course Specification — Appendix 3, printed page 69, Pseudocode
3In SQA reference language, a routine is declared as PROCEDURE printLabel(STRING caption). It is called using printLabel(productName). Which statement correctly identifies the parameters?
- A.productName is formal; caption is actual
- B.caption is formal; productName is actualCorrect answer: B
- C.Both caption and productName are formal
- D.Both caption and productName are actual
Explanation: The reference states "Formal parameters are preceded by their types". caption is declared with STRING in the procedure definition, so it is formal. productName supplies the actual argument at the call. Reversing them or assigning both the same role confuses definition with invocation.
Reference: Reference language for Computing Science — Section 3.4, printed page 12, Parameters
4A team’s final test plan checks only that each screen opens. The specification also requires file import, correct totals and export. Which improvement is needed to demonstrate that the functional requirements are met?
- A.Repeat the screen-opening tests using more screen layouts
- B.Map tests with expected results to each required functionCorrect answer: B
- C.Test only the calculation routine with one normal data set
- D.Run all features without recording their expected results
Explanation: The course requires "a comprehensive final test plan to show that the functional requirements are met." Mapping tests and expected results to every required function covers import, calculation and export. Repeated screen checks and calculation-only tests omit functions; tests with no recorded expectations cannot systematically establish the required outcomes.
Reference: Higher Computing Science Course Specification — Printed page 6, Software testing
5A payroll program produces correct weekly pay but cannot export the monthly summary required in its specification. Its interface is clear and its source code is well commented. Which evaluation conclusion follows?
- A.It is fully fit for purpose because its calculations are correct
- B.Its usability evidence proves that every requirement has been met
- C.It is not fully fit for purpose because a required task is missingCorrect answer: C
- D.Its comments show that monthly export is unnecessary
Explanation: Fitness for purpose reflects whether software "carries out all the tasks required of the software specification." Missing the required export prevents that conclusion even when calculations, usability and comments are satisfactory. Strengths in other criteria do not cancel a missing function.
Reference: Higher Computing Science Course Specification — Appendix 4, printed page 72, Fitness for purpose
6A sensor reading is stored as a six-bit two’s-complement integer. The positional weights, from left to right, are -32, 16, 8, 4, 2 and 1. What reading does the bit pattern 101101 represent?
- A.Minus thirteen
- B.Minus nineteenCorrect answer: B
- C.Plus nineteen
- D.Plus forty-five
Explanation: The specification includes "Conversion of two’s complement numbers from binary to denary and vice versa." Using the stated weights gives -32 + 0 + 8 + 4 + 0 + 1 = -19. -13 treats the last five bits as a sign-and-magnitude value; 19 discards the negative result; 45 treats the leading bit as positive 32.
Reference: Higher Computing Science Course Specification — Printed page 7, Data representation
7A booking program imports a journey distance and a fare rate, calculates a charge, and displays the amount due. Which entry belongs in the processes part of its functional requirements?
- A.The distance travelled by the customer
- B.The charge shown on the final screen
- C.The multiplication of distance by rateCorrect answer: C
- D.The fare rate supplied for the journey
Explanation: The analysis defines "Functional requirements: the features and functions that must be delivered by the system in terms of inputs, processes and outputs." Multiplication transforms inputs into an output, so it is a process. Distance and rate are inputs; the displayed charge is an output.
Reference: Higher Computing Science Course Specification — Appendix 2, printed page 67, Functional requirements
8A top-level design contains the step Import all transactions. Which refinement makes that step more precise without changing its responsibility?
- A.Open the file; read its first transaction only; close the file
- B.Open the file; replace its contents with blank rows; close it
- C.Open the file; read each transaction into storage; close itCorrect answer: C
- D.Open the file; close it; then read all its transactions
Explanation: The specification explains "Refinements — break down the design from the top level into smaller steps." Importing all transactions requires opening the file, reading every required transaction and closing it. Reading only one misses data, replacing contents writes instead of importing, and reading after closure uses the operations in the wrong order.
Reference: Higher Computing Science Course Specification — Appendix 3, printed page 71, Structure diagrams
9Using SQA reference language, what is displayed? DECLARE score INITIALLY 12 PROCEDURE change(INTEGER x) SET x TO 99 END PROCEDURE change(score) SEND score TO DISPLAY
- A.0
- B.12Correct answer: B
- C.99
- D.111
Explanation: The reference explains that for integers assignment "effectively causes a copy to be made". The integer actual argument supplies a value to the formal parameter x. Changing x to 99 does not change score, which remains 12; no addition or reset occurs.
Reference: Reference language for Computing Science — Section 3.4, printed pages 9–10, Meaning of assignment
10A Python 3 file contains if score >= 50 followed by an indented assignment, but the if line has no colon. The interpreter reports an error before that statement can execute. How should the defect be classified?
- A.A logic error in the chosen threshold
- B.A failed calculation during execution
- C.A syntax error in the statement’s structureCorrect answer: C
- D.A data error in the supplied score value
Explanation: The Python tutorial says "Syntax errors, also known as parsing errors". The missing colon breaks the required statement structure, so parsing fails. The threshold’s meaning, arithmetic during execution and the score’s data value do not explain this defect.
Reference: Python Tutorial — Errors and Exceptions — Section 8.1, Syntax Errors
Exam Review
About Higher Computing Science
Higher Computing Science · GB
Key exam facts
- Provider
- Qualifications Scotland is Scotland’s national awarding body, replacing SQA on 1 February 2026. SQA developed the retained specification; the awarding body sets and externally marks the question paper and assignment; approved centres conduct the assessments.
- Format
- An externally examined written question paper (80 marks, 67%) with restricted and extended responses, design and code-writing tasks, plus a supervised practical assignment (40 marks, 33%). The paper requires mandatory Software design and development/Computer systems plus either Database or Web design and development; assignment requires software plus either database or web. This practice bank uses four-option questions and covers all four course areas.
- Time limit
- Question paper: 2 hours of answering time. Assignment: within 6 hours, normally over several shorter supervised sessions, under open-book conditions. Assignment printing and distributing/collecting/storing evidence do not count toward the 6 hours.
- Passing score
- Course graded A–D from the combined 120 marks; boundaries are decided for each assessment diet. Notional boundaries: A 70%, B 60%, C 50%, D 40%; these can be adjusted. Grade D is a course award, not No Award. There is no universally fixed 50% pass threshold or separate stated paper pass mark.
- Exam fee
- Local-authority National Qualification entries are funded through an annual levy rather than a per-entry charge to the local authority. Other centres use entry charging; obtain the applicable GBP entry charge from the presenting centre. The archived 2023–24 independent-school tariff lists Higher at GBP 37.50; it is historical, not a verified universal 2026–27 candidate fee. No single current candidate price is specified in the course specification.
Topics covered
Analysis (5%)
Design (30%)
Implementation (40%)
Testing (10%)
Evaluation (5%)
Systems (10%)
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?
An externally examined written question paper (80 marks, 67%) with restricted and extended responses, design and code-writing tasks, plus a supervised practical assignment (40 marks, 33%). The paper requires mandatory Software design and development/Computer systems plus either Database or Web design and development; assignment requires software plus either database or web. This practice bank uses four-option questions and covers all four course areas.
How long is the exam?
Question paper: 2 hours of answering time. Assignment: within 6 hours, normally over several shorter supervised sessions, under open-book conditions. Assignment printing and distributing/collecting/storing evidence do not count toward the 6 hours.
What is the passing score?
Course graded A–D from the combined 120 marks; boundaries are decided for each assessment diet. Notional boundaries: A 70%, B 60%, C 50%, D 40%; these can be adjusted. Grade D is a course award, not No Award. There is no universally fixed 50% pass threshold or separate stated paper pass mark.
How much does the exam cost?
Local-authority National Qualification entries are funded through an annual levy rather than a per-entry charge to the local authority. Other centres use entry charging; obtain the applicable GBP entry charge from the presenting centre. The archived 2023–24 independent-school tariff lists Higher at GBP 37.50; it is historical, not a verified universal 2026–27 candidate fee. No single current candidate price is specified in the course specification.
Official sources and references
- Higher Computing Science Course Specification
Cover; printed pages 1–19
- Higher Computing Science Course Specification
Printed page 46, Course assessment overview; full table
- Higher Computing Science — Course overview and resources
Content may reference SQA but remains valid (02/02/26)
- Higher Computing Science Course Specification
Printed page 15
- Awarding and Grading for National Courses Policy
Section 6, printed page 11
- SQA Annual Report and Accounts 2024–25
Printed page 82, Fees and charges
Confirm current exam arrangements with the exam provider.