Arduino Lesson 3: IF and IF-ELSE

Flashcard
•
Computers
•
9th - 12th Grade
•
Hard
Quizizz 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
13 questions
Python If Else Statements

Flashcard
•
9th - 12th Grade
15 questions
ARDUINO SEMANA 3

Flashcard
•
KG - University
15 questions
2 Arduino with Breadboards

Flashcard
•
11th Grade
15 questions
CodeHS 3.1 Boolean Expressions-4.2 For Loops Review

Flashcard
•
9th - 12th Grade
12 questions
BAES Excel Functions & IF Statements Re-Cap L2

Flashcard
•
KG - University
15 questions
Domains1&2 Vocab

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

Flashcard
•
9th - 10th Grade
10 questions
Digital Citizenship

Flashcard
•
10th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Computers
50 questions
Trivia 7/25

Quiz
•
12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
6 questions
RL.10.1 Cite Evidence

Quiz
•
10th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
14 questions
Algebra 1 SOL Review #1

Quiz
•
9th Grade