Search Header Logo

M3 Quiz (SY 2023 - 2024) - Arduino Intermediate

Authored by Neil Rusia

Computers

9th Grade

Used 44+ times

M3 Quiz (SY 2023 - 2024) - Arduino Intermediate
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

3 mins • 1 pt

In Arduino circuit, the RED wire of servo motor is connected to the _________ of the Arduino UNO board.

GND pin

signal/pin number

5V pin

2.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

In Arduino circuit, the BROWN wire of servo motor is connected to the _________ of the Arduino UNO board.

GND pin

signal/pin number

5V pin

3.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What is the code that you will write if you want to add an Arduino library?

int pin;

Servo myServo;

#include<Servo.h>

4.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What is the variable name in this code?


Servo leftServo;

Servo

leftServo

leftservo

5.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What does this code mean?


myServo.attach(9, 500, 2500);

myServo is attached to pin number 9

myServo is attached to pin number 2500

myServo is attached to pin number 500

6.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What is the bug in this code?


void setup(){

myServo.attach(9, 500, 2500)

}

missing period or " . " symbol at the end of the line

missing semi-colon or " ; " symbol at the end of the line

missing bracket or " ] " symbol at the end of the line

7.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What does this code do?


myServo.write(90);

delay(15);

myServo will rotate 90 degrees for 15 seconds

myServo will rotate 90 degrees for 15 milliseconds

myServo will rotate 90 degrees for 15 hours

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?