Arduino Homework Week 4

Arduino Homework Week 4

8th Grade

20 Qs

quiz-placeholder

Similar activities

External Inputs to Microbit

External Inputs to Microbit

6th - 8th Grade

15 Qs

Arduino Pins, Input and Output Devices, Arduino Coding Basics

Arduino Pins, Input and Output Devices, Arduino Coding Basics

6th - 8th Grade

17 Qs

IF8 Praktik Lintas Bidang - Arduino

IF8 Praktik Lintas Bidang - Arduino

8th Grade

20 Qs

Robotics Mid-term Assessment Grade VI

Robotics Mid-term Assessment Grade VI

6th Grade - University

20 Qs

Arduino Arcade Week 1 Homework

Arduino Arcade Week 1 Homework

8th Grade

20 Qs

Embedded Systems and Digital Electronics

Embedded Systems and Digital Electronics

6th - 8th Grade

15 Qs

MYP3

MYP3

8th Grade

23 Qs

ABC of Arduino Quiz 3

ABC of Arduino Quiz 3

2nd - 8th Grade

15 Qs

Arduino Homework Week 4

Arduino Homework Week 4

Assessment

Quiz

Computers

8th Grade

Medium

Created by

Bayden Schellein

Used 4+ times

FREE Resource

20 questions

Show all answers

1.

LABELLING QUESTION

2 mins • 1 pt

Label the different parts of the code

a
b
c
d
Turn LED ON
Turn LED OFF
Create Variable
Use Variable

2.

LABELLING QUESTION

2 mins • 1 pt

Label the parts of the code

a
b
c
d
Creates a variable to store mic reading
delays the code
Prints variable
Creates words on the serial monitor

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does this code do?

Turns on the Green LED when noise is detected

Turns on the Red LED when noise is detected

Turns on the Blue LED when noise is detected

Nothing

4.

DRAG AND DROP QUESTION

2 mins • 1 pt

Drag and drop the options below to create the following program:
Create a program that turns the led on and off after a delay.

int ledPin = 13;

int delayTime = 1000;

VOID SETUP(){

​ (a)  

}

VOID LOOP(){

​ (b)  

​ (c)  

​ ​ (d)  

​​ (e)  

}

pinMode(ledPin, OUTPUT);
digitalWrite(ledPin, HIGH);
delay(delayTime);
digitalWrite(ledPin, LOW);

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Fill in the blank:
complete the code for sending 5v to an led

_____(redPin, HIGH);

6.

DRAG AND DROP QUESTION

1 min • 1 pt

Create a variable using the options below:
​ (a)   ​ (b)   =​ 22

INT
tempMon
STR
VAR
MONITOR

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to set the mode of a pin in an Arduino sketch?

digitalWrite()

analogRead()

pinMode()

delay()

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?