Weeks 1-4 Flashcards

1
Q

Control structure which allows one to execute a code a given number of times

A

For Loop

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

Control structure which tests whether a certain condition has been reached, executing enclosed statement only given that its condition is true

A

If Statement

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

Logical operator which is true only if all conditions are satisfied

A

And (&&)

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

Logical operator which is true if any condition is satisfied

A

Or (||)

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

Logical operator which reverses the meaning of a condition

A

Not (!)

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

Symbols which take one or more operands or expressions and perform arithmetic or logical computations

A

Operators

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

Variables which are used in conjunction with operators to evaluate an expression

A

Operands

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

Tool which allows an Arduino board to interact with the computer and its user

A

Serial Communication

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

Serial keyword which sets the data rate in bits per second (usually 9600)

A

begin()

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

Serial keyword which prints the next message on the same line as the previous

A

print()

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

Serial keyword which prints the next message on a new line

A

println()

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

A text in double quotes which is printed as is but without the quotation marks

A

String

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

Serial keyword which retrieves what data is ready for reading from the serial port

A

available()

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

Serial keyword which disables serial communication

A

end()

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

Control structure which loops continuously until the expression within its parentheses becomes false

A

While Loop

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

Control structures which loop continuously until a condition is met, where the condition is tested at the end of the loop

A

Do-While Loop