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
17 questions
STEM Productions Coding and Components Assessment

Quiz
•
9th - 12th Grade
15 questions
Sensors - V1 (Arduino, Micro:bit)

Quiz
•
7th - 12th Grade
10 questions
PIR sensor and Bluetooth Module

Quiz
•
10th Grade
19 questions
J3 Arduino Quiz

Quiz
•
10th Grade
19 questions
Hardware ( Sensors)

Quiz
•
9th Grade
11 questions
Arduino Uno and Sensors Quiz

Quiz
•
9th Grade
20 questions
PENGENDALI SISTEM ROBOTIK XII_soal 1

Quiz
•
7th - 12th Grade
20 questions
Pengenalan Robotika, Sensor dan Aktuator

Quiz
•
10th Grade - University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade