Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 1 out of 3 pages
Class notes

A-level AQA Computer Science PROGRAMMING

Document preview thumbnail
Preview 1 out of 3 pages

Level up your skills with these expertly written notes covering the Programming topic from the AQA A-level Computer Science specification. Whether you're preparing for Paper 1 or reinforcing your understanding throughout the year, this resource is designed to make complex concepts crystal clear (used and made by a consistently A/A* student). What’s Inside: - Detailed explanations - Clear breakdown to reinforce understanding - Key terminology to help you apply concepts effectively - Structured summaries aligned with the AQA spec for efficient revision

Content preview

PROGAMMING.

A data type is the values it can take/operations which can be performed
on it.
Integer is a whole number.
Float is a number with a decimal/ fraction.
Boolean is a value which is true or false.
Character is a single number, letter or symbol.
String is a collection of characters.
Data is a way of storing a point in time, many different formats are used.
Pointer / Reference is a way of storing memory addresses. All variables are
pointers (refers) to objects.
Arrays are finite, indexed set of related elements each of which has the
same data type. cars = ["Ford", "Volvo", "BMW"]

User-defined data types are derived from existing data types to create a
customised data structure. For example, a shop might use a user-defined
data type called Customer to store information about their customers.
(E.g. Forename, Surname and EmailAddress).

Variables are changeable values. Variable declaration is creating a
variable for the first time, giving it a name and sometimes a data type.
This allocates a portion of the computer’s memory to the variable.
Constants are unchangeable values. Using a named constant improves
readability, maintainability, error reduction, and consistency. Constant
declaration is the same as variable declaration, but when creating a
constant.
Assignment is giving a constant or variable a value.
Iteration is repeating an instruction. For = definite while= in
Selection is comparing values and choosing an action based on those
values.
Subroutine is a set of instructions with a name. Will be defined, then
called later in program. The program flow will “jump” to the sub routine,
once it is done it returns to the flow. A procedure is a type which simply
preforms a task, whereas a function is a type that preforms and returns a
value using a return statement.
Library subroutines is predefined subroutine in the languages.
Imported at the start of the program.
Parameters/argument in parentheses are used to pass data to a
subroutine. Order is important. Arguments appear in subroutine
calls. Arguments vary from call-to-call parameters part of subroutine
definition.
If the variable is in scope the values can be accessed.


Iteration involves repeating a block of code.
Definite: number of looping is known (for).
Indefinite: number of looping is not known, executes until condition
is true (while). You can have the condition at the start which is the

Document information

Study Level
Subject
Uploaded on
August 15, 2025
Number of pages
3
Written in
2025/2026
Type
Class notes
Professor(s)
Nil
Contains
All classes
$8.36

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
2
Followers
0
Items
22
Last sold
5 months 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