DE&R: Arduino C++ Basics

DE&R: Arduino C++ Basics

Assessment

Flashcard

Computers

8th Grade

Hard

Created by

APR E

FREE Resource

Student preview

quiz-placeholder

11 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is the syntax for declaring a variable in Arduino C++?

Back

data_type variable_name = value

2.

FLASHCARD QUESTION

Front

Which data type is used to store floating point numbers in Arduino C++?

Back

float

3.

FLASHCARD QUESTION

Front

How can you use the serial monitor to display messages in Arduino C++?

Back

Use Serial.print() or Serial.println() functions

4.

FLASHCARD QUESTION

Front

What function is used to establish communication/connection between your Arduino board and your Serial monitor?

Back

Serial.begin(9600)

5.

FLASHCARD QUESTION

Front

What is the keyword used to convert String value to int value?

Back

.toInt()

6.

FLASHCARD QUESTION

Front

Which data type is used to store characters in Arduino C++?

Back

String

7.

FLASHCARD QUESTION

Front

What is the difference between int and float?

Back

An integer is a whole number; a float has a decimal or fraction

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?