Chapter 1 Test Flashcards

1
Q

Arduino programs

A

Sketch

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

A container for statements (lines of code) that tell Arduino to do certain jobs

A

Function

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

9600 binary ones and zeros per second

A

Baud Rate

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

A notation for other programmers to read. Anything to the right of // is this

A

Comment

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

The statements in between a loop function’s curly braces

A

Block

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

Names you can create for storing, retrieving, and using values in the Arduino microcontroller’s memory

A

Variables

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

Tells the Arduino software what type of variable (or data type) it’s dealing with. Short for Integer

A

Int

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

Declares a variable for storing characters

A

Char

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

Can hold decimal values

A

Float

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

Stands for American Standard Code for Information Exchange. A common code system for representing computer keys and characters in displays

A

ASCII

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

Variables inside a function block (inside the function’s curly braces)

A

Local Variable

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

Variables outside of any function, preferably before the setup function

A

Global Variable

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

A named value that does not change throughout the sketch

A

Constant

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

&& means ‘and’; || means ‘or’

A

Boolean Operators

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

Commonly used for repeating a block of code a certain number of times

A

For Loop

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

Used to keep repeating a block of code as long as a condition is true

A

While Loop

17
Q

Starts with /* and ends with */, and you can write as many lines of notes in between as you want

A

Block Comment

18
Q

Starts with // to its right, explaining what the code does

A

Line Comment

19
Q

The process of writing notes about what each part of the program does

A

Documenting Code