What is the function of 'pinMode(6, OUTPUT);' in the setup function?
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
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 Quizizz
20 questions
Programming Basics Quiz

Quiz
•
8th Grade - University
20 questions
Day#8

Quiz
•
1st Grade - University
10 questions
Day#6

Quiz
•
1st Grade - University
10 questions
BTEC DIT C3 LAA - Communication Technologies

Quiz
•
10th - 11th Grade
16 questions
Principles of Information Technology

Quiz
•
9th Grade - University
20 questions
Intro to coding arduino unit

Quiz
•
9th - 12th Grade
20 questions
Google Drawings

Quiz
•
3rd - 12th Grade
18 questions
GCSE AQA CS - 06 Cyber Security

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