FINAL EXAM CAPSTONE Flashcards

1
Q

is one of the tools in Arduino IDE. It is used for two purposes. Arduino - PC vice versa

A

Serial Monitor

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

Sends data (command) from PC to Arduino.

A

PC – Arduino

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

Receives data from Arduino and display data on screen. This is usually used for debugging and monitoring

A

Arduino – PC

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

To send data from Arduino to PC, use the following code

A

Set baud rate and begin serial port using Serial.begin() function

and send data to serial monitor using Serial.print()

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

is short for binary digit and is the smallest data unit in a digital system. A bit is either a single 1 or a single 0.

A

Bit

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

consists of a series of bits. The most common length for a byte “word” is 8 bits.

A

Byte

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

is the rate at which information is transferred in a communication channel.

A

Baud rate

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

____ is the standard baud rate

A

9600

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

To read data from the serial monitor, first, you need to check whether user entered data or not. To check user data availability, you need to use_________function/command.

A

Serial.available()

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

A _____ loop will loop continuously, and infinitely, until the expression inside the parenthesis, () becomes false.

A

While

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

Assignment operator :
Equal to:

A

=

==

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

Looks for the next valid integer in the incoming serial. The function terminates if it times out.

A

Serial.parseInt()

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

a _____is a data type composed of a number that is not an integer, because it includes a fraction represented in decimal format.

A

Float

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

_____ are used to store text

A

Strings

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

To read a string type of data from the serial monitor, you need to use _____ function/command to capture the string type of data.

A

Serial.readString()

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

The _____ is a component that connects two points in a circuit when you press it. The example turns on an LED when you press the button.

A

Pushbutton

17
Q

A pushbutton will need a _____ when it is used in conjunction with a microprocessor or microcontroller as an input. The main reason for using it is to ensure a defined state (0 or 1) is present at the microcontroller’s input, otherwise the input could be left floating (which is unwanted).

A

resistor

18
Q

The ______isused to read the logic state at a pin. It is capable to tell whether the voltage at this pin is high (~ 5V) or low (~ 0V) or, in other words, if the pin is at logic state 1 or 0 (or HIGH/LOW).

A

digitalRead() function

19
Q

The _____ is the most basic of all programming control structures. It allows you to make something happen or not, depending on whether a given condition is true or not.

A

if() statement

20
Q

It is a variable qualifier that modifies the behavior of the variable, making a variable “read-only”. This means that the variable can be used just as any other variable of its type, but its value cannot be changed. You will get a compiler error if you try to assign a value to a const variable.

A

Constant (const)