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
10 questions
Tin học 12 - bài 15

Quiz
•
12th Grade
10 questions
BÀI 16. ĐỊNH DẠNG KHUNG

Quiz
•
12th Grade
12 questions
Roblox Studio Lesson 6

Quiz
•
6th Grade - University
7 questions
Quiz για HTML και CSS

Quiz
•
10th Grade - University
10 questions
Web Development Quiz

Quiz
•
9th - 12th Grade
10 questions
CONCEPTOS ARDUINO

Quiz
•
1st Grade - University
6 questions
Exploring Web Design Quiz

Quiz
•
9th - 12th Grade
10 questions
Web Development

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University