# Data Types A-Level

Data Types
24/01/24
1 / 18
Slide 1: Tekstslide
ComputingUpper Secondary (Key Stage 4)GCSE

In deze les zitten 18 slides, met tekstslides.

## Onderdelen in deze les

Data Types
24/01/24

#### Slide 1 -Tekstslide

What data types can you name?

Integer (int)

#### Slide 3 -Tekstslide

Integer
Represents whole numbers without any decimal points. Examples: -3, 0, 42.

#### Slide 4 -Tekstslide

Floating point (float)

#### Slide 5 -Tekstslide

Floating point (float)
Represents numbers with decimal points.
Examples: -3.14, 2.718, 0.0.

Character (char)

#### Slide 7 -Tekstslide

Character (char)
Represents a single character
Examples: 'a", """ or "5".

Boolean (bool)

#### Slide 9 -Tekstslide

Boolean (bool)
Represents true or false values.
Examples: 1/0, true/false

String

#### Slide 11 -Tekstslide

String
Represents a sequence of characters.
Example: "Hello, World!", "Oi, that's my sandwich. Yours is still in the fridge."

Array

#### Slide 13 -Tekstslide

Array
A collection of elements of the same data type.
Example: int numbers[5] = {1, 2, 3, 4, 5};

Date/Time

#### Slide 15 -Tekstslide

Date/Time
Used to represent dates.
Examples: "20/01/2023".

Record

#### Slide 17 -Tekstslide

Record
A record is a composite data type that groups together related data fields under one name.
student_record = {"name":"Dave Davidson", "age":18, "grade":"A"}