Computer science AQA GCSE paper 1

studied byStudied by 2 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 6

flashcard set

Earn XP

Description and Tags

I literally studied for the wrong mock so this is very last minute AHHHHHHHH

7 Terms

1
Advantages of using subroutines
  • The code doesn’t have to be repeated every time it needs to run

  • Easier to modify logic, since only the subroutine will need to be edited rather than editing numerous places in the code

New cards
2
Local variables
Are only useable within that part of the code. Eg a local variable in a subroutine cannot be used in the main code
New cards
3
Function
Similar to a subroutine but returns a value, (parameters for that value are in brackets next to function)
New cards
4
arrays
  • have to contain the same data type

  • Fixed size (so data cannot be added)

New cards
5
Records
  • Can have multiple data types

  • Can have data added to it

New cards
6
Parameter
Is a way of passing a value to a subroutine
New cards
7
Return
In a function this value can be returned, usually something has to be done with it or it is stored in the main code.
New cards

Explore top notes

note Note
studied byStudied by 9 people
735 days ago
5.0(1)
note Note
studied byStudied by 5 people
176 days ago
5.0(1)
note Note
studied byStudied by 1 person
71 days ago
5.0(1)
note Note
studied byStudied by 13 people
626 days ago
5.0(1)
note Note
studied byStudied by 2 people
853 days ago
5.0(1)
note Note
studied byStudied by 3 people
283 days ago
5.0(1)
note Note
studied byStudied by 10550 people
692 days ago
4.8(59)

Explore top flashcards

flashcards Flashcard (20)
studied byStudied by 4 people
880 days ago
5.0(1)
flashcards Flashcard (45)
studied byStudied by 10 people
516 days ago
5.0(1)
flashcards Flashcard (55)
studied byStudied by 2 people
696 days ago
5.0(1)
flashcards Flashcard (237)
studied byStudied by 1 person
100 days ago
5.0(1)
flashcards Flashcard (21)
studied byStudied by 4 people
802 days ago
5.0(1)
flashcards Flashcard (24)
studied byStudied by 24 people
376 days ago
5.0(3)
flashcards Flashcard (54)
studied byStudied by 26 people
719 days ago
5.0(1)
flashcards Flashcard (57)
studied byStudied by 5 people
270 days ago
5.0(1)
robot