Practice Assessment

Practice Assessment

9th - 12th Grade

8 Qs

quiz-placeholder

Similar activities

Online Privacy Awareness Quiz

Online Privacy Awareness Quiz

7th Grade - University

13 Qs

Piramide administracion servidores red

Piramide administracion servidores red

12th Grade

11 Qs

Exploring Loops in Scratch

Exploring Loops in Scratch

5th Grade - University

10 Qs

Part 2 Quiz

Part 2 Quiz

12th Grade

10 Qs

Câu lệnh rẽ nhánh

Câu lệnh rẽ nhánh

10th Grade

10 Qs

AP CK CyberSecurity Unit 4

AP CK CyberSecurity Unit 4

12th Grade

10 Qs

Señales

Señales

12th Grade - University

10 Qs

Tugas Daring TIK

Tugas Daring TIK

9th 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.

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.