• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 4 out of 79 pages
Exam (elaborations)

AQA A-LEVEL COMPUTER SCIENCE FINAL PAPER EXAM QUESTIONS AND CORRECT ANSWERS LATEST EDITION 2026

Document preview thumbnail
Preview 4 out of 79 pages

AQA A-LEVEL COMPUTER SCIENCE FINAL PAPER EXAM QUESTIONS AND CORRECT ANSWERS LATEST EDITION 2026

Content preview

Page 1 of 79


AQA A-LEVEL COMPUTER SCIENCE FINAL PAPER EXAM QUESTIONS AND
CORRECT ANSWERS LATEST EDITION 2026




AQA A-LEVEL COMPUTER SCIENCE FINAL PAPER




SECTION 1: PROGRAMMING FUNDAMENTALS

Questions 1–35

1. Which of the following is a primitive data type?

• A) Array

• B) Integer

• C) Record

• D) List

Answer: B) Integer

Rationale: Integer is a primitive data type. Arrays, records, and lists are composite/derived data
types.



2. What is the purpose of a constant in programming?

• A) To store a value that cannot change during program execution

• B) To store multiple values

• C) To define a subroutine


1|Page

,Page 2 of 79


• D) To create a loop

Answer: A) To store a value that cannot change during program execution

Rationale: A constant holds a fixed value that cannot be altered while the program runs.



3. Which operator is used for integer division?

• A) /

• B) DIV

• C) MOD

• D) ^

Answer: B) DIV

Rationale: DIV performs integer division, discarding any remainder.



4. What does the MOD operator return?

• A) The quotient of division

• B) The remainder of division

• C) The product of two numbers

• D) The difference between two numbers

Answer: B) The remainder of division

Rationale: MOD returns the remainder after integer division.



5. What is the result of 17 DIV 5?

• A) 2

• B) 3

• C) 3.4

• D) 2.5

Answer: B) 3

2|Page

,Page 3 of 79


Rationale: 17 ÷ 5 = 3 remainder 2. DIV returns the quotient, which is 3.



6. What is the result of 17 MOD 5?

• A) 2

• B) 3

• C) 3.4

• D) 2.5

Answer: A) 2

Rationale: 17 ÷ 5 = 3 remainder 2. MOD returns the remainder, which is 2.



7. Which data type would be most appropriate for storing whether a light is on or off?

• A) String

• B) Boolean

• C) Integer

• D) Real

Answer: B) Boolean

Rationale: A Boolean stores True/False values, ideal for on/off states.



8. What is a subroutine?

• A) A named block of code that performs a specific task

• B) A type of variable

• C) A type of loop

• D) A type of data structure

Answer: A) A named block of code that performs a specific task

Rationale: Subroutines are reusable blocks of code that can be called multiple times.



3|Page

, Page 4 of 79


9. What is a parameter?

• A) A value returned by a subroutine

• B) A value passed into a subroutine

• C) A local variable

• D) A global variable

Answer: B) A value passed into a subroutine

Rationale: Parameters are values passed into subroutines for processing.



10. What is the difference between a function and a procedure?

• A) Functions return a value; procedures do not

• B) Procedures return a value; functions do not

• C) There is no difference

• D) Functions are faster

Answer: A) Functions return a value; procedures do not

Rationale: Functions return a value; procedures perform actions without returning a value.



11. What is a local variable?

• A) A variable accessible anywhere in the program

• B) A variable accessible only within the subroutine where it is declared

• C) A variable stored on disk

• D) A variable declared at the start of the program

Answer: B) A variable accessible only within the subroutine where it is declared

Rationale: Local variables are scoped to the subroutine in which they are declared.



12. What is a global variable?

• A) A variable accessible only within a subroutine

4|Page

Document information

Uploaded on
September 17, 2026
Number of pages
79
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$27.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
1
Followers
0
Items
163
Last sold
3 days ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions