JavaScript isn't enabled in your browser, so this file can't be opened. Enable and reload.
Workshop Tests
Test your knowledge with these short quizzes and track your progress
Sign in to Google
to save your progress.
Learn more
What does analogRead(A0); do?
1 point
Reads a digital value from pin A0
Sends power to pin A0
Reads an analog value from pin A0
Clear selection
What is the purpose of the map() function in Arduino?
1 point
Controls PWM speed
Creates random values
Converts analog signals to digital
Scales a number from one range to another
Clear selection
What does myServo.write(90); do?
1 point
Moves the servo to 90 degrees
Turns the servo off when its position reach 90 degrees
Calibrates the servo motor 90 times
Reads the servo’s position
Clear selection
What are the typical pins used for an ultrasonic sensor (like HC-SR04)?
1 point
Trig and Echo
SDA and SCL
Clear selection
What does the Trig pin do on an ultrasonic sensor?
1 point
Listens for returning signal
Sends out an ultrasonic pulse
Powers the sensor
Clear selection
Which function is used to output a PWM signal in Arduino?
1 point
pwmSignal()
analogWrite()
digitalWrite()
Clear selection
What range of values can be used with analogWrite()?
1 point
0 to 255
0 to 1023
1 to 256
Clear selection
On which Arduino pins can PWM output usually be used?
1 point
Any digital pin
Only on analog pins
Digital pins marked with a ~ (tilde)
Clear selection
How do you include a library in an Arduino sketch?
1 point
#include <Servo.h>
import "Servo.h"
load Servo.h
Clear selection
What does the pulseIn() function do?
1 point
Measures the duration of a HIGH or LOW pulse on a pin
Sets the pulse width of a PWM signal
Measures the volatge of pulse on a pin for duration
Clear selection
Submit
Clear form
This content is neither created nor endorsed by Google. -
Terms of Service
-
Privacy Policy
Does this form look suspicious?
Report
Forms
Help and feedback
Contact form owner
Help Forms improve
Report