Docsity

COMPUTER SCIENCE AQA A-LEVEL PAPER 1 2026, Exams of Computer Science

Toggle sidebar
bg1
COMPUTER SCIENCE AQA A-LEVEL PAPER 1 2026
What is an integer?
A positive or negative whole number
What is a Real or Float number?
A positive or negative number that can have a fractional part.
What is a Boolean?
True or False
What is a character?
A single letter, number or symbol
What is a string?
A group of characters
What is Date/Time?
A way of storing Date/Time
What is a pointer?
A way of storing a memory address.
What is a record?
A collection of related fields, each of which could hold a different data type.
What is an array?
A finite, indexed set of related elements of the same data type.
What is a user defined data type?
A data type derived from existing data types in order to create a customized data structure.
What is variable declaration?
Creating a variable for the first time. giving it a name and sometimes a data type.
What is constant decleration?
Creating a constant for the first time.
What is assignment?
giving a constant or a variable a value.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download COMPUTER SCIENCE AQA A-LEVEL PAPER 1 2026 and more Exams Computer Science in PDF only on Docsity!

COMPUTER SCIENCE AQA A-LEVEL PAPER 1 2026

What is an integer? A positive or negative whole number What is a Real or Float number? A positive or negative number that can have a fractional part. What is a Boolean? True or False What is a character? A single letter, number or symbol What is a string? A group of characters What is Date/Time? A way of storing Date/Time What is a pointer? A way of storing a memory address. What is a record? A collection of related fields, each of which could hold a different data type. What is an array? A finite, indexed set of related elements of the same data type. What is a user defined data type? A data type derived from existing data types in order to create a customized data structure. What is variable declaration? Creating a variable for the first time. giving it a name and sometimes a data type. What is constant decleration? Creating a constant for the first time. What is assignment? giving a constant or a variable a value.

what is iteration? repetition of a process e.g. a while or for loop. this could be definite or indefinite. What is selection? comparing values and then choosing an appropriate action. e.g. an if statement. what is a subroutine? A named block of code containing a set of instructions designed to perform a frequently used operation. What is definite iteration? the number of repititions is known before the loop starts. What is indefinite iteration? the number of repititions is not known before the loop starts. What is a nested structure? One structure is placed within another. Easily identified by indentation. What is meant by meaningful identifier names? Giving constants, variables and subroutines sensible and meaningful identifier names. What does the real/float division operator do? divides one number by the other. What does the integer division operator do? divides one number by the other but only returns the whole number part. What does the modulo operator do? returns the remainder of an integer division. What does the exponentiation operator do? raises one value to the power of another. What does the rounding operator do? limits the degree of accuracy of a number. (rounds up or down) What does the truncation operator do? removes the decimal part of a number. (never rounds up) what does the string handling function "Length" do?

yes which data type can only be true or false? Boolean. in what type of iteration is the number of repititions required not known before the loop starts? Indefinite iteration what visible feature of program code signifies nesting? indentation. using INTEGER division what is 14 DIV 3 4 using the modulo operation what is 30 MOD 4? 2 What is 1 XOR 1? 0 Name two advantages of using constants over hard coded values. Constants can be given identifier names, making the code easier to understand for humans. When updating the code constants only need updating at one position in code. what is a seed value used for? generating random numbers. what name is given to code run to handle an exception? Catch block What name is given to a subroutine that always returns a value? A function. what are parameters used for? to pass data values into a subroutine. What name is given to the the actual value passed by a parameter? An argument. What type of variable can be passed from any part of the program? Global variable

Name 3 items stored in a stack frame. return address parameters local variables what is meant by a recursive subroutine. a subroutine defined in terms of itself. what is meant by a base case. the terminating situation in recursion. it does not use recursion to produce a result. what scope is a variable that can be accessed from all parts of a program? global scope list 4 types of basic structure used in the structured approach to program design and construction. Assignment sequence selection iteration what do rectangles represent in hierarchy charts? procedures how is data stored in procedural programs? Constants and variables. what name is given to containers for data and instructions In object oriented programming? Objects. in object-oriented programming, what specifies the properties and methods that objects have? Classes in class diagrams which type of line represents aggregation? unfilled diamond. in class diagrams which type of line represents composition? filled diamond.

when a value is dequeued from a queue where is it removed from? the front. what are the 4 operations that can be performed to a queue? enqueue dequeue isfull isempty if a queue has no content what does the operation isfull return for that queue? false if a queue has no content what does the operation isempty return for that queue? true if a queue has no available positions behind the front pointer what does the operation isfull return for that queue? true if a queue has available positions behind the front pointer what does the operation isfull return for that queue? false how is emptiness detected in a queue? if the front and rear pointer are at the same position the queue is empty. what is an advantage to a circular queue? more memory efficient. what is the difference between circular and linear queues? in a circular queue the front and rear pointers can move over the two ends of the queue. how does a priority queue work? items are assigned a priority, items with the highest priority are dequeued first. what happens if 2 items have the same priority? items are dequeued in the first in first out takes order. example of a priority queue? in a school a headmaster will have a higher printer priority than the students so their print jobs are completed first.

what type of abstract data structure is a stack? LIFO (last in first out) what is a stack? an abstract data structure based on an array. a LIFO (last in first out) abstract data type. how many pointers does a stack have? 1 what is the pointer on a stack? Top pointer in a stack where does the top pointer point? to the top of the stack, the first to be popped off the stack. what are the 5 operations that can be performed on a stack? push pop peek isfull isempty what does the push operation do to a stack? adds a value to the top of the stack what does the pop operation do to the stack? removes the top value in the stack. what does the peek operation do to the stack? it returns the value at the top of the stack without deleting it. what is a graph? an abstract data structure used to represent complex relationships between items within datasets. an example of what graphs can be used to represent in computing. networks, IT networks e.g. the internet. what elements do all qraphs contain? nodes and edges

adjacency matrix which is more suited to representing less dense graphs? adjacency list which is more suitable for less dense graphs with few of edges? adjacency matrix or adjacency list? adjacency list advantages of using an adjacency matrix to represent a graph? it is more time efficient when looking if a particular edge as it can be looked up via its row and column. advantages to using an adjacency list compared to an adjacency matrix to represent a graph. it's more memory efficient as it only stores edges that exist in the graph. advantages to using an adjacency matrix compared to an adjacency list to represent a graph. it's more time efficient as it allows specific edges to be queried easily via looking up its row and column. disadvantages to using an adjacency list compared to an adjacency matrix to represent a graph. it's slow to query as you must search the list sequentially to find a specific edge. disadvantages to using an adjacency matrix compared to an adjacency list to represent a graph. it takes up more memory as it stores edges that don't exist and half the data is repeated. what is a tree graph? a connected, undirected graph with no cycles. what 3 properties must a tree graph have? it must be connected, undirected and have no cycles. what is a rooted tree graph? a tree with a root node from which all the other nodes stem. what is a parent node in a tree graph? a node from which other nodes stem from.

what is a root node in a tree graph? a node with no parent nodes. what is a child node in a tree graph? a node which stems from another. what is a child node with no child nodes stemming from it called in a tree graph? a leaf. what is a binary tree? a rooted tree in which each parent node has no more than 2 child nodes. what's a use of a rooted tree graph? to represent file systems or a family. what is a hash table? a table that stores the data using a value and a key which is calculated using a hashing algorithm. using hash tables what is the constant time complexity of retrieving data using big O notation. O(1) how does a hashing algorithm work? it takes an input and returns a hash which is unique to its input and cannot be reversed to retrieve the input value. how are values looked up in a hashing table? the desired value is inputted and hashed and the position in the table corresponding to that hash is queried. what is a collision in a hash table? when two values produce the same hash and data in the table could be overwritten. how do well designed hash tables get around collisions? by using rehashing which finds an available position according to an agreed procedure. what is an example of rehashing technique in a hash table. to just keep on moving to the next position until an available one is found. what is a dictionary?

a branch is fully explored before backtracking. what is breadth first graph traversal? where each node has been fully explored before venturing on to the next node. what abstract data type does a depth first graph traversal algorithm use? a stack (LIFO) an example where you would use depth first traversal? navigating a maze. what abstract data structure does breadth first graph traversal algorithm use? a queue (FIFO) what is a breadth first graph traversal algorithm used for? determining the shortest path on an unweighted graph. what is tree traversal? the process of visiting/updating/outputting each node in a tree. what are the three tree traversal algorithms? pre-order in-order post-order tree traversal are an example of what graph traversal algorithm? depth first. which types of tree traversal can be performed on any tree? pre order and post order which type of tree traversal can only be performed on binary trees? in-order True or False: tree traversal is unique to trees and cannot be performed on other types of graphs True, they are unique to trees, must start at the root and travel left down the tree. depth first. What is pre-order traversal used for? copying a tree.

what is in-order traversal used for? outputting the contents of a binary search tree in ascending or alphabetically order. what is post-fix used for? for infix to reverse polish notation conversions, infix to postfix. what is a set? a collection of unordered values with no duplicates. what does it mean if a problem is intractable? the problem can't be solved in a polynomial time complexity. it takes an unreasonable amount of time to solve. what is an example of a intractable problem? the traveling salesman problem. if a problem is intractable what approach may a programmer take? a heuristic approach What is a heuristic approach to solving a problem? employing a method of finding a solution that may not be the best. what is a universal Turing machine? A Turing machine that can simulate the behaviour of any other Turing machine and can compute any computable sequence. what symbol represents a Natural number? N what symbol represents an integer? Z what symbol represents rational numbers? Q what symbol represents real numbers? R benefits of programming in oop? clear structure to the program developing and testing is easier

Details are removed until the problem is represented in a way that is possible to solve because the problem reduces to one that has already been solved. Procedural Decomposition The process of breaking down a problem into a number of sub-problems, so that each sub- problem accomplishes an identifiable task, which might itself be further subdivided. Composition Abstraction The reverse process of decomposition where a complex system of compound procedures is built from its smaller, simpler procedures Automation The process of creating algorithms and implementing them as data structures and models of real-life situations that run without a significant need for human intervention. The Halting Problem The unsolvable problem of writing a program that can tell whether a given program and its inputs will halt, without running the given program. Transition function A method of notating how a Turing machine moves from one state to another and how the data on the tape changes Universal Turing Machine An interpreter that reads the description of any arbitrary Turing Machine and faithfully executes operations on data Why are Turing machines important? Turing machines provide a formal model of computation and ∴ a definition of what is computable The real importance is that they prove that there are problems which cannot be solved by computers. What Time complexities are intractable? O(2^n) - Exponential O(n!) - Factorial What are the time complexities in order of most to least efficient O(1) - Constant O(log2(n)) - Logarithmic (binary search)

O(n) - Linear (Linear search) O(nlog(n)) - Linear Logarithmic (merge sort) O(n^2) - Polynomial (bubble sort) O(2^n) - Exponential O(n!) - Factorial