Arduino Code Concepts Quiz

Arduino Code Concepts Quiz

7th Grade

13 Qs

quiz-placeholder

Similar activities

Sewing Tools and Equipment

Sewing Tools and Equipment

7th - 8th Grade

10 Qs

Model Rockets

Model Rockets

KG - University

12 Qs

Grade7 Week 8 - Home Economics Homework

Grade7 Week 8 - Home Economics Homework

7th Grade

10 Qs

UJI KEFAHAMAN ANDA

UJI KEFAHAMAN ANDA

1st Grade - University

10 Qs

八年级-交通工具名词

八年级-交通工具名词

7th Grade - University

10 Qs

Textiles

Textiles

7th - 12th Grade

8 Qs

Pronunciation Review: Personal Info

Pronunciation Review: Personal Info

6th - 12th Grade

10 Qs

Machine Parts 8th grade

Machine Parts 8th grade

6th - 8th Grade

13 Qs

Arduino Code Concepts Quiz

Arduino Code Concepts Quiz

Assessment

Quiz

Other

7th Grade

Medium

Created by

Yasrab arzo

Used 1+ times

FREE Resource

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the directive #include do?

It tells the compiler to include a library.

It creates a constant or macro.

It declares a variable.

It initializes communication with the PC.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the #define directive?

Creates a constant or macro.

Declares a variable.

Includes a library.

Configures a pin.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What data type is used for discrete values like pin numbers?

int

float

byte

string

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the int arrayName[] = {value1, value2, ...}; syntax do?

Stores multiple values of the same type.

Creates a constant.

Declares a function.

Configures a pin.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the void return type in a function?

Indicates the function does not return a value.

Indicates the function returns an integer.

Indicates the function returns a string.

Indicates the function is a constant.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does pinMode(pin, mode) do?

Configures a pin as INPUT, OUTPUT, or INPUT_PULLUP.

Reads external signals.

Sends signals to devices.

Creates a constant.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the if(condition) { code } statement do?

Executes code if the condition is true.

Declares a variable.

Creates a constant.

Configures a pin.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?