Search Header Logo

Section 4

Authored by VISHAAL S

Education

University

10 Questions

Used 1+ times

Section 4
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Prints "Bright" to the serial monitor if the analog input from pin A0 is greater than 512,

otherwise prints "Dark"

Reads digital input from a sensor connected to pin A0 and prints the result to the serial monitor

Blinks an LED connected to pin A0 at a 1-second interval

Error

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Creates a rainbow effect on an RGB LED connected to pin 13

Blinks an LED connected to pin 13 with varying brightness levels

Fades an LED connected to pin 13 in and out

Adjusts the brightness of an LED connected to pin 13 based on ambient light levels

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Prints "Hello, Arduino!" to the serial monitor once.

Prints "Hello, Arduino!" to the serial monitor every second

Prints "Hello, Arduino!" to the serial monitor continuously.

Does not print anything to the serial monitor.

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Blinks an LED connected to pin 13 every second.

Fades an LED connected to pin 13 in and out every second.

Turns on an LED connected to pin 13 with half brightness.

Turns on an LED connected to pin 13 with full brightness.

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Prints the value of a digital pin.

Prints "0" continuously to the serial monitor.

Prints the value read from an analog pin to the serial monitor.

Does not compile due to a syntax error.

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Blinks an LED connected to pin 13 with a 50% duty cycle

Turns on an LED connected to pin 13 for the first 500 milliseconds after each second

Blinks an LED connected to pin 13 inversely with a 1-second interval

Fades an LED connected to pin 13 in and out

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Prints "5 + 3" to the serial monitor

Prints "x + y" to the serial monitor

Prints "8" to the serial monitor repeatedly

Prints "8" to the serial monitor once

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?