Practice Assessment

Practice Assessment

9th - 12th Grade

8 Qs

quiz-placeholder

Similar activities

Počítačová grafika

Počítačová grafika

6th Grade - University

10 Qs

Web Design Standard 5: CSS Styling Techniques Quiz

Web Design Standard 5: CSS Styling Techniques Quiz

11th Grade

10 Qs

Exploring Python's PIL Library

Exploring Python's PIL Library

12th Grade

10 Qs

Test 1

Test 1

11th Grade

10 Qs

Викториналык суроолор бышыктоо үчүн

Викториналык суроолор бышыктоо үчүн

9th Grade

4 Qs

Controle de LED RGB com Arduino

Controle de LED RGB com Arduino

11th Grade

10 Qs

Computer Data Representation Quiz

Computer Data Representation Quiz

11th Grade

10 Qs

Robótica

Robótica

10th Grade

7 Qs

Practice Assessment

Practice Assessment

Assessment

Quiz

Information Technology (IT)

9th - 12th Grade

Medium

Created by

Jemimah Miguel

Used 5+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

  1. LbRGB.off( );

  1. LbRGB.on( );

  1. LbRGB.clear( );

Answer explanation

  1. LbRGB.clear( ); is used to turn off/clear LED lights shown.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

binary code

hexadecimal value

color name

RGB colors

Answer explanation

A color's hexadecimal value can be searched in the internet. It is used to name complex colors like pastel colors.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many RGB LEDs does a Leanbot have?

8

6

3

7

Answer explanation

Leanbot has 7 RGB LEDs that are labeled as 0,1,2,3,4,5,6 or O,A,B,C,D,E,F.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

LbRGB[ledO] = CRGB::Red

LbRGB.fillColor(CRGB::Red);

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

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

Answer explanation

LbRGB.fillColor is used if you want to set ALL lights into a particular color.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

LbDelay

Leanbot.tone

BITMAP

fillColor

Answer explanation

BITMAP is used to set multiple LED lights (not all) into one specified color.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of code is Leanbot.tone?

executing code

blocking code

loop

non-blocking code

Answer explanation

Leanbot.tone is a non-blocking code. It doesn't pause the program but instead, it keeps doing other things at the same time. That's why it need LbDelay.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

True

False

Answer explanation

Compile error occurs when there is a mistake in the code that causes the code not to run. Like a misspelled word, wrong capitalization, or a missing semi colon.

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

Blockly

PLearn

PGit

PIDE

Answer explanation

PGit serves a code bank where we can store our codes so we can share or reuse it.