Arduino - Exercise 5 Simple Digital Input

Quiz
•
Computers, Specialty, Other
•
11th Grade
•
Medium

Darren Richardson
Used 9+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Select one. Digital inputs .....
can be one of three states, HIGH, LOW and MIDDLE
can turn on LED's
can be only one of two states, HIGH or LOW
Can be a wide range of values.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
True or False. We use a pull down resistor for digital inputs to ensure the input is held LOW when the switch is off.
True
False
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A constant is ....
A number that changes
A number that stays the same
A number that is always 0
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A variable is ....
A number that changes
A number that stays the same
A number that is always 0
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is correct for initialising pin 7 as an INPUT.
pinmode (7, OUTPUT);
pinMode (7, INPUT);
pinMode (7, INPUT)
pinmode(7, HIGH);
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command would read the digital input on pin 7?
digital read (7, INPUT);
digitalRead(7, INPUT)
digitalRead(7,INPUT);
digitalRead(7, OUTPUT);
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If digital input pin 4 was LOW and we wanted the variable 'switchstate' to store that value, which is the correct command.
switchstate = digitalRead (4);
switchstate = digitalRead (7);
switchstate = digitalRead (4)
switchstate = digitalread (4);
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Evaluación sobre Arduino Uno en Robótica

Quiz
•
5th Grade - University
10 questions
S2+3_DDApps22

Quiz
•
11th Grade
7 questions
Arduino - Led που αναβοσβήνει

Quiz
•
11th Grade
12 questions
Computers

Quiz
•
KG - University
10 questions
KUIS KKTE 1

Quiz
•
11th Grade
15 questions
Arduino Kelas XI SMAK 3 PENABUR Jakarta

Quiz
•
11th Grade
15 questions
IGCSE CS INPUT DEVICES

Quiz
•
9th - 11th Grade
15 questions
Infternet of Things

Quiz
•
11th Grade
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