Search Header Logo
Basics 101 (Arduino Programming)

Basics 101 (Arduino Programming)

Assessment

Presentation

Computers

6th Grade

Practice Problem

Hard

Created by

Rica Paming

Used 20+ times

FREE Resource

30 Slides • 11 Questions

1

media

2

media

3

media

4

media

5

Multiple Choice

Question image

Based on the given program, what do you think is the task/command that the program is running?

1

switching pin 8 ON

2

switching pin 8 OFF

3

blinking

4

morse code for S

6

media

7

media

8

media

9

Fill in the Blank

Write the setup function below using the correct structure.

(
)
{
}

10

Fill in the Blank

Write the loop function below using the correct structure.

(
)
{
}

11

Multiple Choice

What is the symbol used to enclose the body of a function?

1

( )

2

{ }

3

;

4

[ ]

12

Multiple Choice

What is the symbol used to enclose of a function?

1

( )

2

{ }

3

;

4

[ ]

13

media

14

media

15

media

16

media

17

Fill in the Blank

Question image

Write the correct pinMode for the given circuit.

(
,
)
;

18

Fill in the Blank

Question image

Write the correct digitalWrite command to switch LED ON.

(
,
)
;

19

media

20

media

21

media

22

media

23

media

24

media

25

media

26

media

27

media

28

Open Ended

Question image

Declare a variable name for the given component connected to pin 4.

29

Open Ended

Question image

Write the correct digitalWrite command using the variable name set previously.

Condition: LED is OFF

30

media

31

media

32

media

33

media

34

media

35

media

36

media

37

media

38

Open Ended

Write a function using the statements below. Name the function blink

digitalWrite(3, HIGH);

delay (250);

digitalWrite(3, LOW);

delay(250);

39

Open Ended

Call the function blink inside the void loop ()

40

media

41

media
media

Show answer

Auto Play

Slide 1 / 41

SLIDE