Select one. Digital inputs .....
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
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 Quizizz
8 questions
KUIS IOT XI PART 2

Quiz
•
11th Grade
15 questions
4 Arduino: Digital Inputs

Quiz
•
11th Grade
12 questions
EMTECH POP QUIZ

Quiz
•
9th - 12th Grade
15 questions
Arduino practice 2

Quiz
•
9th - 11th Grade
10 questions
KUIS SIOT XII PART 1

Quiz
•
11th Grade
11 questions
Arduino - Contador

Quiz
•
9th Grade - University
15 questions
Conceptos Básicos de Arduino

Quiz
•
9th - 12th Grade
13 questions
NRW 2022

Quiz
•
7th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University