Search Header Logo

Arduino Basic Programming

Authored by LAWRENCE BUENAOBRA

Computers

12th Grade

Used 5+ times

Arduino Basic Programming
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

20 sec • 1 pt

In Arduino, which data type is most suitable for storing the value 3.14?

int

char

bool

float

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

How do you create a comment in an Arduino sketch?

# This is a comment

// This is a comment

/* This is a comment */

Both B and C

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which loop structure is commonly used in Arduino sketches to run code repeatedly?

void setup ()

void loop ()

void for ()

void while ()

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What will the delay(1000); function do in an Arduino program?

Pause the program for 1000 milliseconds

Pause the program for 1 second

Pause the program for 1000 microseconds

Both A and B

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

In programming, we use a combination of letters, words, and symbols, which are known as TOKENS.

TRUE

FALSE

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

C and C++ does not use the same syntax.

TRUE

FALSE

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

void setup () run once while void loop () can run in continuous pattern.

TRUE

FALSE

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?