Search Header Logo

Basic Arduino Programming

Authored by Dave Fogliatti

Computers

9th - 12th Grade

Used 17+ times

Basic Arduino Programming
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable?

A type of storage for us to store information we use in a code

Allows us to run the code many times

The type of information we store in a code

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a loop?

A type of storage for us to store information we use in a code

Allows us to run the code many times

The type of information we store in a code

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the variable of the following statement:

int count = 3;

int

count

3

;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does this function does?

digitalWrite ()

writes output value to either HIGH or LOW

writes output value using PWM sequence

sets a pin to either INPUT or OUTPUT

pauses the program

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does this function does?

pinMode ()

writes output value to either HIGH or LOW

writes output value using PWM sequence

sets a pin to either INPUT or OUTPUT

pauses the program

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does this function does?

delay ()

writes output value to either HIGH or LOW

writes output value using PWM sequence

sets a pin to either INPUT or OUTPUT

pauses the program

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens when you run this code:

digitalWrite (red, HIGH);

delay (5000);

The red LED lights up for 5000 seconds

The red LED turns off for 5000 seconds

The red LED turns on for 5 seconds

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?