Search Header Logo

Arduino Sketches

Authored by Maryam Mammadova

Science

5th Grade

Used 5+ times

Arduino Sketches
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an Arduino sketch?

An Arduino sketch is a type of dance move.

An Arduino sketch is a program written in the Arduino IDE using the Arduino programming language.

An Arduino sketch is a type of paintbrush used for drawing on canvas.

An Arduino sketch is a type of musical instrument.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What file extension is used for Arduino sketches?

.code

.ino

.ard

.sketch

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the setup function used for in an Arduino sketch?

Running the main loop

Defining the board type

Displaying output on the serial monitor

Initialization of variables, pin modes, libraries, and settings

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you declare a variable in an Arduino sketch?

declare int sensorValue;

int sensorValue = 0;

variable sensorValue;

int sensorValue;

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the loop function used for in an Arduino sketch?

To play music

To change the board's color

To continuously execute a block of code

To send emails

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you upload an Arduino sketch to the board?

Shake the board vigorously

Connect the board, select board/port, click 'Upload' in Arduino IDE

Whisper the code to the board

Send the sketch via carrier pigeon

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the delay() function in an Arduino sketch?

To speed up the program execution

To pause the program for a specified amount of time in milliseconds.

To control the brightness of an LED

To generate random numbers

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?