variable and IF statements Flashcards

1
Q

what is data?

A

information that an arduino can process

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what is a variable?

A

a container for data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

why do we work with variables?

A

its easier to work with data
- easy to find
- easy to move
- easy to store
- easy to know what is what and hoe to store it

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

types of data

A

integers: whole numbers
float: decimal numbers
char: keys on your keyboard
boolean: statements that are either 1 or 0/true or false/ yes or no

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

pieces of information for the arduino

A

variable type
variable name
data
e.x) string name= (“sam”); or int score=(999);

How well did you know this?
1
Not at all
2
3
4
5
Perfectly