Search Header Logo

evaluación 702

Authored by Gabriel Solano

Instructional Technology

6th - 8th Grade

Used 1+ times

evaluación 702
AI

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

What is the purpose of declaring a variable in Arduino?

a) To store values that can be used and modified in the program

b) To turn on and off the Arduino board

To define the speed of the serial communication

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following correctly declares an integer variable in Arduino?

int number = 10;

integer number = 10;

number = int 10;

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the following conditional statement do?

if (digitalRead(2) == HIGH) {

digitalWrite(13, HIGH);

}

Turns off the LED on pin 13 when pin 2 is HIGH

Turns on the LED on pin 13 when pin 2 is HIGH

Makes the LED blink continuously

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements about for loops is true?

A for loop repeats a block of code a fixed number of times

A for loop runs indefinitely unless manually stopped

A for loop is only used for turning LEDs on and off

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the function of a photoresistor (LDR) in an Arduino circuit?

To detect light levels and provide an analog signal

To generate sound signals in a circuit

To detect LED light and receive arduino signal

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to read the value from an LDR sensor connected to an analog pin?

digitalRead(pin);

analogRead(pin);

readLDR(pin);

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which component is best suited for producing sounds in an Arduino project?

LED

Buzzer

LDR

Access all questions and much more by creating a free account

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

Already have an account?