Section 2 - Programming Flashcards Preview

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

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

What are variables used for?

To temporarily stored data values using identifiable names

2

Define what is meant by string concatenation

Joining together two or more strings

3

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

4

What is a data structure?

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

5

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

6

Define what is meant by a parameter

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

7

What is the scope of a parameter?

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