Arduino PRP4 Quiz

Arduino PRP4 Quiz

9th Grade

20 Qs

quiz-placeholder

Similar activities

Comp Sci Hardware

Comp Sci Hardware

9th - 12th Grade

20 Qs

Networks

Networks

7th - 9th Grade

17 Qs

Robotics Quiz 2

Robotics Quiz 2

2nd - 9th Grade

15 Qs

Year 8 Microbit quiz

Year 8 Microbit quiz

8th - 9th Grade

20 Qs

Grade_9_Electric_circutes

Grade_9_Electric_circutes

9th Grade

21 Qs

Mecatronica 5to IOQ Final

Mecatronica 5to IOQ Final

9th - 10th Grade

20 Qs

Controlar el hardware de Arduino

Controlar el hardware de Arduino

9th Grade

15 Qs

Input Devices and its uses

Input Devices and its uses

9th Grade

15 Qs

Arduino PRP4 Quiz

Arduino PRP4 Quiz

Assessment

Quiz

Computers

9th Grade

Medium

Created by

Alex Song

Used 5+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the `pinMode` function in the setup section of the code?

To read the value from the pin

To initialise the pin as an input or output

To play a tone on the pin

To delay the execution of the code

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which digital pin is the buzzer connected to in the ThinkerShield?

Pin 2

Pin 3

Pin 4

Pin 5

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the frequency of the tone played by the buzzer in the code?

440 Hz

523 Hz

659 Hz

880 Hz

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How long does the tone play for each time it is activated in the loop?

10 milliseconds

20 milliseconds

50 milliseconds

100 milliseconds

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the `delay(200)` function in the loop?

To stop the tone from playing

To pause the program for 200 milliseconds

To change the frequency of the tone

To initialise the buzzer pin

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the role of the `tone` function in the code?

To initialise the buzzer pin

To set the pin mode

To play a sound on the buzzer

To stop the buzzer from playing

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In which section of the code is the `pinMode` function called?

Inside the loop function

Inside the setup function

Outside any function

Inside the tone function

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?