Search Header Logo

Grade 6

Authored by Mostafa Aly

Engineering

6th Grade

Used 2+ times

Grade 6
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

30 sec • 1 pt

What does the digitalWrite() function do in Arduino?

Reads the value from a pin

Writes a digital value to a pin

Delays the program

Initializes the program

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is called only once at the start of an Arduino program?

void loop()

void setup()

digitalWrite()

delay()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the context of Arduino, what does the delay() function do?

It stops the program

It pauses the program for a specified time

It initializes variables

It reads sensor data

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct way to declare a pin as an output in void setup()?

pinMode(pin, INPUT);

pinMode(pin, OUTPUT);

digitalWrite(pin, HIGH);

delay(pin);

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If you want to turn on an LED connected to pin 7, which command should you use?

digitalWrite(7, HIGH);

digitalWrite(7, LOW);

pinMode(7, HIGH);

delay(7);

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the void loop() function in Arduino?

To execute code only once

To repeat the code continuously

To read input from sensors

To set up the initial conditions

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which unit is used to measure electric current?

Volt

Ampere

Ohm

Watt

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?