State the essential features of a recursive subroutine. (3 marks)



AQA A Level Computer Science 7517 Flashcards (Anki & Quizlet)
Cover images are illustrative. See the sample screenshots in the gallery for an accurate look at the cards.
Couldn't load pickup availability
Every AQA A Level Computer Science 7517 topic as exam-style flashcards, from Fundamentals of programming to Systematic approach to problem solving. Definitions examiners accept, how the hardware and software actually work, and the algorithm knowledge you need.
Anki: each topic is its own subdeck, so you can drill Fundamentals of algorithms on its own or shuffle the whole course.
Quizlet: the exact same deck, good for quick sessions on the bus or between lessons.
Algorithms: searching, sorting and tracing cards, so the algorithm questions feel familiar.
About these AQA A Level Computer Science 7517 flashcards
AQA A Level Computer Science is an on-screen programming paper, a written theory paper and your NEA project. The 13 topics match the specification, so you always know which part you're revising. That's 1,081 cards in total.
All 13 topics
Including Fundamentals of programming, Fundamentals of data structures, Fundamentals of algorithms and Theory of computation, all matched to the AQA specification.
How it works
Hardware, software, networks and data explained simply, so you can describe how things work, not just name them.
Exact wording
Definitions use the wording AQA mark schemes accept, so you don't lose marks for being nearly right.
AQA A Level Computer Science 7517 flashcards FAQs
Is everything for AQA A Level Computer Science 7517 in here?
Yes. All 13 topics are covered.
Will it help with programming questions?
It covers the theory, the algorithms and the programming concepts you get asked about. You'll still want to practise writing code, but the cards make sure you know the terms and logic.
Will the answers actually get marks?
Yes. They're phrased the way a full-mark answer would be, in proper mark scheme language.
Is it Anki or Quizlet?
Both. The download has the .apkg file for Anki, AnkiDroid or AnkiMobile, plus a link to the same cards on Quizlet, so use whichever you like.
When do I get it?
Straight away. The download is ready as soon as you've paid.
How to revise AQA 7517 Computer Science with these cards
AQA A Level Computer Science has Paper 1, an on-screen exam with programming based on preliminary material, Paper 2, a written theory paper, and the 20% non-exam assessment.
Fundamentals of programming
Cards on data types, subroutines, recursion and object-oriented programming support the Paper 1 programming tasks.
Theory for Paper 2
Number bases, floating point, Boolean algebra, networking, databases and SQL, and big data each have their own subdeck.
Algorithms and theory of computation
Searching, sorting, graph traversal, finite state machines and Big O have step-by-step cards for the trace and compare questions.
Sample cards from this deck
20 of the 1,081 cards in the deck. Each card has an exam-style question on the front and the mark scheme points on the back.
4.1.1 ProgrammingState the essential features of a recursive subroutine. (3 marks)
- A base case that stops the recursion without a further call.
- A general (recursive) case in which the subroutine calls itself.
- Each call must move towards the base case.
4.2.1 Data structures and abstract data typesDescribe the steps needed to read all the lines of a text file. (3 marks)
- Open the file for reading.
- Loop until the end of the file is reached, reading one line each time.
- Close the file.
4.2.4 GraphsGive three real-world uses of a graph. (3 marks)
- Road or rail networks for route finding.
- Computer networks.
- Social networks, or links between web pages.
4.2.6 Hash tablesState three properties of a good hash function. (3 marks)
- It is quick to calculate.
- It spreads keys evenly across the table, giving few collisions.
- It always gives the same result for the same key.
4.3.1 Graph-traversalDescribe a depth-first traversal of a graph. (3 marks)
- Start at a node and follow one path as far as possible before backtracking.
- A stack (or recursion) holds the nodes to return to.
- Each node is marked as visited so it is not processed twice.
4.3.3 Reverse PolishEvaluate the Reverse Polish expression 6 2 3 + * using a stack. (4 marks)
- Push 6, 2, 3.
- +: pop 3 and 2, push 5.
- *: pop 5 and 6, push 30.
- Result: 30.
4.3.6 Optimisation algorithmsDescribe the steps of Dijkstra's algorithm. (4 marks)
- Set the start node's distance to 0 and all others to infinity.
- Choose the unvisited node with the smallest distance.
- For each unvisited neighbour, calculate the distance through this node and update it if smaller.
- Mark the node visited; repeat until all nodes are visited.
4.4.2 Regular languagesState what is shown in a state transition diagram. (3 marks)
- Circles represent states, with a marked start state.
- Arrows show transitions, labelled with the input that causes them.
- A double circle marks an accepting state.
4.4.5 A model of computationState the components of a Turing machine. (3 marks)
- A finite set of states, including a start state and halting states.
- A tape, infinite in one direction, divided into cells, with a read/write head.
- A finite alphabet of symbols and a transition function.
4.5.2 Number basesGive three uses of hexadecimal. (3 marks)
- Memory addresses and memory dumps.
- Colour codes in HTML, such as #FF8800.
- MAC addresses and machine code listings.
4.5.5 Information coding systemsDescribe Unicode and explain why it was introduced. (3 marks)
- It uses more bits per character (up to 32), giving over a million possible characters.
- It was introduced to represent the characters of all the world's languages, symbols and emoji.
- Its first 128 codes match ASCII.
4.6.2 Classification of programming languagesGive three advantages of high-level languages over low-level languages. (3 marks)
- Easier and quicker to write, read and debug.
- Portable between different types of processor.
- Provide built-in functions and data structures.
4.6.4 Logic gatesComplete the truth table for a half adder. (4 marks)
- A=0, B=0: S=0, C=0.
- A=0, B=1: S=1, C=0.
- A=1, B=0: S=1, C=0.
- A=1, B=1: S=0, C=1.
4.7.2 The stored program conceptExplain the stored program concept. (2 marks)
- Machine code instructions are stored in main memory along with data.
- They are fetched and executed serially by a processor that performs arithmetic and logical operations.
4.7.4 External hardware devicesDescribe how a magnetic hard disk drive stores and reads data. (3 marks)
- Data is stored by magnetising tiny regions of a spinning platter to represent 0s and 1s.
- The platter is divided into concentric tracks and sectors.
- A read/write head on an arm moves across the platter to the correct track as the disk spins.
4.9.2 NetworkingGive three advantages of networking computers. (3 marks)
- Files and data can be shared.
- Hardware such as printers and internet connections can be shared.
- Users can communicate, and software and backups can be managed centrally.
4.9.4 The TCP/IP protocolCompare IPv4 and IPv6 addresses. (3 marks)
- IPv4 uses 32 bits, written as four denary numbers separated by dots.
- IPv6 uses 128 bits, written as eight groups of hexadecimal digits separated by colons.
- IPv6 was introduced because IPv4 addresses were running out.
4.10.3 Database design and normalisation techniquesState the requirements for a table to be in first normal form (1NF). (3 marks)
- Each field holds a single (atomic) value.
- There are no repeating groups of fields.
- Each record is unique, with a primary key.
4.10.5 Client server databasesState three methods of managing concurrent access to a database. (3 marks)
- Record locks.
- Serialisation: transactions are carried out one after another.
- Timestamp ordering or commitment ordering.
4.12.2 Writing functional programsState the result of: map (*2) [1, 2, 3]; filter (>2) [1, 2, 3, 4]; fold (+) 0 [1, 2, 3, 4]. (3 marks)
- map: [2, 4, 6].
- filter: [3, 4].
- fold: 10.
Sample cards from this deck
20 of the 1,081 cards in the deck. Each card has an exam-style question on the front and the mark scheme points on the back.
Describe the steps needed to read all the lines of a text file. (3 marks)
Give three real-world uses of a graph. (3 marks)
State three properties of a good hash function. (3 marks)
Describe a depth-first traversal of a graph. (3 marks)
Evaluate the Reverse Polish expression 6 2 3 + * using a stack. (4 marks)
Describe the steps of Dijkstra's algorithm. (4 marks)
State what is shown in a state transition diagram. (3 marks)
State the components of a Turing machine. (3 marks)
Give three uses of hexadecimal. (3 marks)
Describe Unicode and explain why it was introduced. (3 marks)
Give three advantages of high-level languages over low-level languages. (3 marks)
Complete the truth table for a half adder. (4 marks)
Explain the stored program concept. (2 marks)
Describe how a magnetic hard disk drive stores and reads data. (3 marks)
Give three advantages of networking computers. (3 marks)
Compare IPv4 and IPv6 addresses. (3 marks)
State the requirements for a table to be in first normal form (1NF). (3 marks)
State three methods of managing concurrent access to a database. (3 marks)
State the result of: map (*2) [1, 2, 3]; filter (>2) [1, 2, 3, 4]; fold (+) 0 [1, 2, 3, 4]. (3 marks)