Arduino practice 2

Quiz
•
Instructional Technology, Computers
•
9th - 11th Grade
•
Medium
Mohamed Ben-Taher
Used 10+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
DSLR Camera Quiz

Quiz
•
9th - 12th Grade
10 questions
Pemahaman Sistem Sensor

Quiz
•
10th Grade
15 questions
Sensores

Quiz
•
9th Grade
10 questions
Sensor dan Aktuator

Quiz
•
9th - 12th Grade
10 questions
Sensor Luminosidade LDR

Quiz
•
1st Grade - University
10 questions
Jenis jenis kamera dan lensa kamera

Quiz
•
11th Grade
19 questions
Robotics I Unit 2 Test Review

Quiz
•
9th - 12th Grade
10 questions
Pengenalan Arduino

Quiz
•
9th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade