Dogs ’n’ data
What & why
We’re going to explore creating data structures that are common to programming—by describing dogs.
Often information needs to be structured with a limited set of data types.
Data structuring is critical to understanding configuration and program information storage.
string— just some text
number— just a number
array— a collection, like
object— a named collection, like
name: Paddington size: Small weight: 5 colours: - Brown - Black - White
- Form into pairs
- Get assigned a dog
- Get a pencil & a piece of paper
- Describe the dog’s attributes using data structures
In a way that would work for every dog
- Present the structure so we can build a specification