Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Practice Assessment

Total questions: 8

Worksheet time: 4mins

Name
Class
Date
1.
  1. Which of the following codes is used to turn off the configured LED colors of Leanbot?

a)
  1. LbRGB.off( );

c)
  1. LbRGB.on( );

d)
  1. LbRGB.clear( );

2.
  1. Which of the following is the best way to set complicated colors like army green?

a)

binary code

b)

hexadecimal value

c)

color name

d)

RGB colors

3.

How many RGB LEDs does a Leanbot have?

a)

8

b)

6

c)

3

d)

7

4.

You want to set 1 RGB LED into red color. Which of the following codes executes your desired outcome?

a)

LbRGB[ledO] = CRGB::Red

b)

LbRGB.fillColor(CRGB::Red);

c)

LbRGB.fillColor(CRGB::Red, BITMAP(ledO,ledA));

d)

LbRGB[1,2,3] = CRGB::Red;

5.

Which function allows you to set multiple LED lights into one particular color?

a)

LbDelay

b)

Leanbot.tone

c)

BITMAP

d)

fillColor

6.

What type of code is Leanbot.tone?

a)

executing code

b)

blocking code

c)

loop

d)

non-blocking code

7.

Compile error occurs when there is something wrong with your code.

a)

True

b)

False

8.

Which of the following platform do we use to save and share our codes?

a)

Blockly

b)

PLearn

c)

PGit

d)

PIDE