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

Practice Assessment

Quiz
•
Information Technology (IT)
•
9th - 12th Grade
•
Medium
Jemimah Miguel
Used 5+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Answer explanation
LbRGB.clear( ); is used to turn off/clear LED lights shown.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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.
Similar Resources on Quizizz
12 questions
Skill #2 Array

Quiz
•
12th Grade
10 questions
TIK (canva)

Quiz
•
10th Grade
10 questions
Pemrograman & Aplikasi Mikrokontroler (Pengenalan IDE)

Quiz
•
11th Grade - University
10 questions
Počítačová grafika

Quiz
•
6th Grade - University
10 questions
Exploring Python's PIL Library

Quiz
•
12th Grade
10 questions
Quiz: Programming Basics Review

Quiz
•
11th Grade
10 questions
Controle de LED RGB com Arduino

Quiz
•
11th Grade
10 questions
0- and 1-Pixel Art Activity

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade