Search Header Logo

Electronics and Programming Quiz

Authored by Mikayla Gomez

Others

Professional Development

Electronics and Programming Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function is run once at the beginning of a program?

setup()

loop()

initialize()

run()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to set a pin as input or output?

digitalWrite()

digitalRead()

pinMode()

setPin()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does digitalWrite() do?

Reads a digital pin's state

Sets a digital pin as high/low

Initializes a pin

Runs a loop

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of digitalRead()?

Reads a digital pin's state

Writes a digital signal

Initializes a pin

Sets a pin as input

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the shorter lead of an LED called?

Negative lead

Positive lead

Anode

Cathode

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which side of an LED is the anode?

Shorter lead

Ground lead

Positive side

Negative side

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does polarity refer to in LEDs?

The voltage applied

The color of the LED

The length of the leads

The direction of current flow

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?