Section 2 - Programming Flashcards Preview

GCSE Computer Science (AQA syllabus/curriculum) > Section 2 - Programming > Flashcards

Flashcards in Section 2 - Programming Deck (7)
Loading flashcards...

What are variables used for?

To temporarily stored data values using identifiable names


Define what is meant by string concatenation

Joining together two or more strings


Give two reasons why a programmer might want to use random numbers in a computer game

So that the game is different each time it's played

So that the game is unpredictable and challenging


What is a data structure?

A data structure is a format for storing multiple data values under one variable name


Give two reasons why a programmer might choose to store data in an external file

So that the data is not lost when the program is closed

So that the data can be sent to other people/stored on an external storage device


Define what is meant by a parameter

A parameter is a special variable that passes data into a subroutine


What is the scope of a parameter?

Parameters have a local scope to the subroutine they're defined in