
Arduino practice 2
Authored by Mohamed Ben-Taher
Instructional Technology, Computers
9th - 11th Grade
Used 10+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Look at the image. The right code is:
int sensorValue = analogRead(A0);
int sensorValue = analogRead(A4);
digitalWrite(2, HIGH);
analogWrite(ledPin, HIGH);
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Look at the image. The right code is:
int sensorValue = analogRead(A0);
int sensorValue = analogRead(A4);
digitalWrite(ledPin, HIGH);
analogWrite(ledPin, HIGH);
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Look at the image. The right code is
int sensorValue = analogRead(A0);
digitalRead(8, HIGH);
digitalWrite(8, LOW);
analogWrite(ledPin, HIGH);
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Look at the image, the code:
int sensorValue = analogRead(A0);
Serial.println(sensorValue);
will print on screen:
5
1023
0
1024
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Look at the image, the code:
int sensorValue = analogRead(A0);
float voltage = sensorValue * (5.0 / 1023.0);
Serial.println(voltage);
will print on screen:
5
1023
0
1024
6.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Look at the image. A part of the code for this circuit is: (2 answers)
pinMode(9, INPUT)
pinMode(4, OUTPUT)
pinMode(4, INPUT)
pinMode(9, OUTPUT)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Look at the image. A pinMode instruction is likely to be in:
the comments
the loop
the setup
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
KS4 - Representing Images
Quiz
•
9th - 11th Grade
19 questions
PyGame 9 сынып 4 тоқсан 1
Quiz
•
9th Grade
18 questions
Adobe Illustrator Tools
Quiz
•
10th - 12th Grade
20 questions
แบบทดสอบหลังเรียนบทที่5 กลไกไฟฟ้า และอิเล็กทรอนิกส์
Quiz
•
4th Grade - University
18 questions
Google drawings
Quiz
•
10th Grade
17 questions
Basic Docs
Quiz
•
8th - 9th Grade
20 questions
Recap Materials.
Quiz
•
10th Grade
12 questions
Clasificación de sistemas
Quiz
•
9th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade