Search Header Logo

Arduino 1

Authored by ERVIN LUCIDO

Computers

12th Grade

Arduino 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the void setup in an Arduino program?

To set up the Arduino once

To declare variables

To execute commands repeatedly

To control the LED

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to set a pin as an output in Arduino?

pinMode

digitalRead

analogWrite

delay

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 'digitalWrite' command do in Arduino?

Delays the program execution

Prints a message to the serial monitor

Writes a digital value to a pin

Reads the analog input

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 'high' parameter represent in the 'digitalWrite' command?

0 volts

10 volts

5 volts

3.3 volts

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 'void loop' in an Arduino program do?

Runs commands repeatedly

Sets up the Arduino

Declares variables

Executes commands once

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to turn an LED off in Arduino?

pinMode

analogRead

digitalWrite

delay

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens when the program is sent to the Arduino using the right arrow button?

The program is compiled

The LED turns on

The LED turns off

The Arduino shuts down

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?

Discover more resources for Computers