Search Header Logo

Arduino Programming Quiz

Authored by Justiel Velasco

Computers

University

Used 3+ times

Arduino Programming Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is the definition of a digital signal?

Analog values converted to digital

Continuous values within a range

Discrete values represented as HIGH (1) or LOW (0)

Variable voltage/current

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of the following is an example of a digital sensor?

Light sensor

Button

Temperature sensor

Potentiometer

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What does the analogRead() function do?

Writes a HIGH or LOW value to a digital pin

Reads the value from a specified analog pin

Configures a pin as input or output

Pauses the program for a specified time

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is the purpose of the setup() function in an Arduino sketch?

Reads incoming serial data

Runs repeatedly after setup

Writes data to the serial port

Initializes variables and sets pin modes

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which command is used to write a HIGH value to a digital pin?

pinMode(pin, mode)

analogWrite(pin, value)

digitalWrite(pin, value)

digitalRead(pin)

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is the range of values returned by analogRead() for a 10-bit ADC?

0 to 255

0 to 1023

0 to 4095

0 to 512

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What does the delay(ms) function do?

Pauses the program for a specified time

Initializes serial communication

Configures a pin as input or output

Reads the value from a digital pin

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?