Arduino practice 2

Arduino practice 2

9th - 11th Grade

15 Qs

quiz-placeholder

Similar activities

Variables in RobotC

Variables in RobotC

9th - 12th Grade

15 Qs

ICT Computer Basics pt1

ICT Computer Basics pt1

10th - 12th Grade

12 Qs

Blog Quiz

Blog Quiz

6th - 10th Grade

11 Qs

Structure of a Webpage

Structure of a Webpage

10th Grade

20 Qs

حاسب 2

حاسب 2

10th Grade

15 Qs

Network Quiz TH

Network Quiz TH

1st - 10th Grade

16 Qs

INFORMATIKA KELAS 9

INFORMATIKA KELAS 9

1st - 10th Grade

11 Qs

Tables Quiz

Tables Quiz

9th Grade

18 Qs

Arduino practice 2

Arduino practice 2

Assessment

Quiz

Instructional Technology, Computers

9th - 11th Grade

Practice Problem

Medium

Created by

Mohamed Ben-Taher

Used 10+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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

Media Image

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

Media Image

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

Media Image

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

Media Image

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

Media Image

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

Media Image

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

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?