4 Arduino: Digital Inputs

Quiz
•
Computers
•
11th Grade
•
Medium
Tod Elford
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the function of 'pinMode(6, OUTPUT);' in the setup function?
It sets the 6 pin as an input.
It sets the 6 pin as an output.
It sets the 6 pin as a pull-up resistor.
It sets the 6 pin as a pull-down resistor.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the role of 'digitalWrite(grnLED, LOW);' in the loop function?
It turns the LED on.
It blinks the LED.
It turns the LED off.
It changes the LED color.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the initial state of the grnLED when button A is not pressed?
ON
OFF
BLINKING
DIM
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the effect of adding a delay in the loop function?
It speeds up the program
It slows down the program
It has no effect
It stops the program
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens if you do not start serial communication in the setup function?
The program runs faster
The program runs slower
The Serial Monitor will not display messages
The LEDs will not turn on
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a digital device?
A device that only has two states: on or off/high or low
A device that has many states: usually anywhere from 0 to 225
A device that connects to the internet or to a computer
A clock
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an analog device?
A device that only has two states: on or off/high or low
A device that has many states: usually anywhere from 0 to 225
A TV
A clock
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Cloud Computing

Quiz
•
7th - 11th Grade
15 questions
TCP/IP Quiz_

Quiz
•
9th - 12th Grade
15 questions
Storage devices

Quiz
•
7th - 11th Grade
12 questions
Computer Hardware

Quiz
•
9th - 12th Grade
20 questions
Computer Systems

Quiz
•
11th Grade
20 questions
Computer Hardware - Input&Output Devices for Situations

Quiz
•
1st - 12th Grade
11 questions
BTEC DIT: Revision 1-6

Quiz
•
1st - 12th Grade
15 questions
KS3 Computer Systems

Quiz
•
6th Grade - University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade