
C++/Arduino Quiz
Authored by APR E
Computers
11th Grade
Used 7+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
19 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the serial.begin() function in Arduino programming?
To initialize serial communication
To set the baud rate for serial communication
To define the number of data bits for serial communication
To configure the parity for serial communication
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you set a digital pin to HIGH using the digitalWrite() function?
digitalWrite(pin, OFF)
digitalWrite(pin, 0)
digitalWrite(pin, HIGH)
digitalWrite(pin, LOW)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the delay() function do in Arduino programming?
The delay() function speeds up the program execution.
The delay() function stops the program completely.
The delay() function randomly pauses the program for different amounts of time.
The delay() function pauses the program for a specified amount of time.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are variables used for in Arduino programming?
Variables in Arduino programming are used to display data on the LCD screen.
Variables in Arduino programming are used to control the flow of the program.
Variables in Arduino programming are used to connect to external devices.
Variables in Arduino programming are used to store and manipulate data.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are relational operators in Arduino programming?
Operators used to assign values to variables in Arduino programming.
Operators used to compare two values in Arduino programming.
Operators used to perform mathematical operations in Arduino programming.
Operators used to control the flow of execution in Arduino programming.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type is used to store whole numbers in Arduino programming?
float
int
string
boolean
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the syntax for declaring a variable in Arduino programming?
int = myVariable;
myVariable = int;
int myVariable;
myVariable = int();
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?