Arduino Lesson 3: IF and IF-ELSE

Flashcard
•
Computers
•
9th - 12th Grade
•
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
!=
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
ARDUINO SEMANA 3

Flashcard
•
KG - University
15 questions
2 Arduino with Breadboards

Flashcard
•
11th Grade
15 questions
Video Game Design: 2nd 9 Weeks Test Review

Flashcard
•
9th - 12th Grade
13 questions
Python IF Statements Part 3

Flashcard
•
9th - 10th Grade
10 questions
Topik 1 (Aplikasi Teknologi)

Flashcard
•
9th - 12th Grade
15 questions
Arduino SPT 2025

Flashcard
•
KG
13 questions
Python If Else Statements

Flashcard
•
9th - 12th Grade
14 questions
Python If Else Statements

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Introduction to Desktop Computer Systems

Quiz
•
9th - 12th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Computer Hardware and Input/Output Devices

Interactive video
•
6th - 10th Grade