Practice Assessment

Practice Assessment

9th - 12th Grade

8 Qs

quiz-placeholder

Similar activities

7 segmentos

7 segmentos

11th Grade

10 Qs

Asesmen Awal HTML & CSS

Asesmen Awal HTML & CSS

11th Grade

10 Qs

Penilaian Tengah Semester

Penilaian Tengah Semester

11th Grade

10 Qs

html 1

html 1

1st Grade - University

10 Qs

9A Q2 ( 19 to 23 October )

9A Q2 ( 19 to 23 October )

9th Grade

10 Qs

Koding dan Kecerdasan Buatan

Koding dan Kecerdasan Buatan

12th Grade

10 Qs

TRẮC NGHIỆM VUI PYTHON

TRẮC NGHIỆM VUI PYTHON

10th Grade

10 Qs

Quiz: Basics of AI & Canva Code

Quiz: Basics of AI & Canva Code

12th Grade

10 Qs

Practice Assessment

Practice Assessment

Assessment

Quiz

Information Technology (IT)

9th - 12th Grade

Practice Problem

Medium

Created by

Jemimah Miguel

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?