Search Header Logo

3rd Q_Lesson 4_Test

Authored by Jonalyn Cadavos

Education

9th Grade

Used 3+ times

3rd Q_Lesson 4_Test
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What is the file extension for an Arduino sketch?

.ard

.ino

.sketch

.cpp

2.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What function in an Arduino sketch runs only once when the board starts?

loop()

delay()

setup()

start()

3.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which function is responsible for repetitive execution in Arduino sketches?

repeat()

loop()

execute()

execute()

4.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What is the purpose of the pinMode() function?

Turn on the Arduino

Set a pin as input or output

Delay program execution

Write values to a pin

5.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What keyword is used to set a pin to receive signals in pinMode()?

OUTPUT

HIGH

INPUT

LOW

6.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What does the digitalWrite() function do?

Sets a pin mode

Reads a value from a pin

Writes a HIGH or LOW value to a pin

Delays the program execution

7.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What is the default value for HIGH in an Arduino board?

0V

1.5V

3.3V or 5V

12V

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?