3 Arduino: IF and IF-ELSE
Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Tod Elford
Used 4+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you set a digital pin to "on" using the digitalWrite() function?
digitalWrite(pin, OFF)
digitalWrite(pin, 1)
digitalWrite(pin, HIGH)
digitalWrite(pin, ON)
2.
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.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the pinMode() function in Arduino programming?
The pinMode() function is used to set the pin mode to analog.
The purpose of the pinMode() function is to configure a pin as input or output.
The pinMode() function is used to initialize the Arduino board.
The pinMode() function is used to control the speed of the Arduino board.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Used to end a statement or command
!
"
;
\
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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.
( )
[ ]
< >
{ }
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Used to end a statement
!
"
;
\
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Comparison operator which means not equal to.
++
==
--
!=
Create a free account and access millions of resources
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?
Similar Resources on Wayground
11 questions
ICT - Networks and communication
Quiz
•
9th Grade
20 questions
Python Recap
Quiz
•
7th Grade - University
20 questions
CPA Revision MCQ1
Quiz
•
8th - 9th Grade
15 questions
Networking Quiz
Quiz
•
8th - 9th Grade
15 questions
Lua Review Corona SDK with Notepad++
Quiz
•
10th - 12th Grade
15 questions
Arduino
Quiz
•
7th - 9th Grade
15 questions
Asesmen Sumatif
Quiz
•
12th Grade
15 questions
HTML
Quiz
•
8th - 12th Grade
Popular Resources on Wayground
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
Discover more resources for Computers
40 questions
Introduction to Microsoft Word
Quiz
•
8th - 12th Grade
85 questions
Word Processing Review
Quiz
•
8th - 9th Grade
11 questions
Internet Terms Vocabulary- Notebook Check #1- CTEA
Quiz
•
12th Grade
39 questions
UNIT 7 and UNIT 8 — Multiple Choice Question Bank (Extracted)
Quiz
•
9th Grade
31 questions
Python Conditionals Review
Quiz
•
9th - 12th Grade
