AQA AS Computing: 2.2 Data Types Flashcards Preview

AQA AS Computing > AQA AS Computing: 2.2 Data Types > Flashcards

Flashcards in AQA AS Computing: 2.2 Data Types Deck (14)
Loading flashcards...
1

Global Variable

A variable declared at the beginning of a program and accessible from anywhere in the program

2

Local Variable

A variable declared in a program block (procedure/method) and accessible only from within that program block

3

Scope of a variable

The blocks of code to which a variable is accessible (Local/Global)

4

Constant

A value that does not change throughout the program

5

Integer

A whole number

6

Real number

A number with a decimal point and a fractional part

7

String

A sequence of zero or more characters

8

Character

Any letter, numeral or symbol in the given character set, such as the ASCII character set

9

Boolean data

Can be one of two possible values, True or False

10

Record

A data structure that groups a number of related variables

11

Field

A variable that is part of a record

12

Enumerated type

An ordered set of values

13

Ordinal type

Defines an ordered set of values such as integer, character, Boolean and enumerated types; real numbers are NOT of ordinal type

14

Set

A collection of values of the same ordinal type with no associated order