3 Arduino: IF and IF-ELSE

3 Arduino: IF and IF-ELSE

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Software

Software

10th Grade

20 Qs

Logika & Pemrograman (ID)

Logika & Pemrograman (ID)

10th Grade - Professional Development

20 Qs

HTML5 Basics

HTML5 Basics

7th - 10th Grade

20 Qs

Computer Science - X

Computer Science - X

8th - 10th Grade

20 Qs

CCEA Digital Technology Chapter 14 Multimedia Applications

CCEA Digital Technology Chapter 14 Multimedia Applications

11th Grade

20 Qs

Wee Word Intro

Wee Word Intro

7th - 12th Grade

12 Qs

quiz_G10

quiz_G10

12th Grade

20 Qs

NHTW Programming

NHTW Programming

9th Grade

10 Qs

3 Arduino: IF and IF-ELSE

3 Arduino: IF and IF-ELSE

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Tod Elford

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you set a digital pin to "on" using the digitalWrite() function?

digitalWrite(pin, OFF)

digitalWrite(pin, 1)

digitalWrite(pin, HIGH)

digitalWrite(pin, ON)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are variables used for in Arduino programming?

Variables in Arduino programming are used to display data on the LCD screen.

Variables in Arduino programming are used to control the flow of the program.

Variables in Arduino programming are used to connect to external devices.

Variables in Arduino programming are used to store and manipulate data.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the pinMode() function in Arduino programming?

The pinMode() function is used to set the pin mode to analog.

The purpose of the pinMode() function is to configure a pin as input or output.

The pinMode() function is used to initialize the Arduino board.

The pinMode() function is used to control the speed of the Arduino board.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Used to end a statement or command

!

"

;

\

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

These tell the Arduino software when the setup or loop sections begins and ends. Without them, the software is lost and unable to compile your code. Think of these as additional punctuation that your code requires. Your code must be perfectly punctuated to compile.

( )

[ ]

< >

{ }

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Used to end a statement

!

"

;

\

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Comparison operator which means not equal to.

++

==

--

!=

Create a free account and access millions of resources

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?