
Arduino Lesson 3: IF and IF-ELSE
Flashcard
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

15 questions
Show all answers
1.
FLASHCARD QUESTION
Front
How do you set a digital pin to "on" using the digitalWrite() function? Options: digitalWrite(pin, OFF), digitalWrite(pin, 1), digitalWrite(pin, HIGH), digitalWrite(pin, ON)
Back
digitalWrite(pin, HIGH)
2.
FLASHCARD QUESTION
Front
What are variables used for in Arduino programming?
Back
Variables in Arduino programming are used to store and manipulate data.
3.
FLASHCARD QUESTION
Front
What is the purpose of the pinMode() function in Arduino programming?
Back
The purpose of the pinMode() function is to configure a pin as input or output.
4.
FLASHCARD QUESTION
Front
Used to end a statement or command
Back
;
5.
FLASHCARD QUESTION
Front
These tell the Arduino software when the setup or loop sections begins and ends. Without them, the software is lost and unable to compile your code. Think of these as additional punctuation that your code requires. Your code must be perfectly punctuated to compile. What are they? ( ) [ ] < > { }
Back
{ }
6.
FLASHCARD QUESTION
Front
Used to end a statement
Back
;
7.
FLASHCARD QUESTION
Front
Comparison operator which means not equal to.
Back
!=
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?