Data types Flashcards Preview

A level computer science AQA > Data types > Flashcards

Flashcards in Data types Deck (8)
Loading flashcards...
1
Q

Define and give an example of an Integer

A

A whole number e.g. 127, -56

2
Q

Define and give an example of a Real/Float

A

A number with a decimal point e.g. 3.4, -980.6

3
Q

Define Boolean

A

Data that can have one of 2 values- True or False

4
Q

Define and give an example of a Char

A

A single character, any number, letter, or symbol on its own e.g. 5, &

5
Q

Define and give an example of Date/Time

A

A value that states the date and time in any format e.g. 2019-07-23, 16:17

6
Q

Define and give an example of a Record

A

A collection of related data where each piece of data has its own data type e.g. record(person) contains age(integer) and name(string)

7
Q

Define and give an example of an Array

A

An array contains a series of values of the same data type, length is defined when the array is declared and is NOT variable e.g. [0,9,7,4,3]

8
Q

Define a Pointer/ Reference

A

A pointer stores the memory address of a value or objected located in computer memory