
Code 07 RGB LEDs and Programming Quiz
Authored by Tod Elford
Computers
9th - 12th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does RGB stand for in RGB LEDs?
Red, Green, Blue
Red, Gold, Black
Red, Gray, Blue
Red, Green, Black
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the name of the list that stores the color LEDs on the board?
colorList
colorLeds
ledColors
rgbLeds
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which position is the first RGB LED located on the board?
Position 0
Position 1
Position 5
Position 9
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you set the color of an RGB LED using a color name?
colorLeds[0].color("red")
colorLeds[0].setColor("red")
colorLeds[0].set("red")
colorLeds[0].changeColor("red")
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a correct way to set an RGB LED to a specific color using a hexadecimal string?
colorLeds[0].color("#ff0000")
colorLeds[0].color("255,0,0")
colorLeds[0].color("red")
colorLeds[0].color("rgb(255,0,0)")
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you want to set an RGB LED to pure red using the rgb() command, which code would you use?
colorLeds[0].color(rgb(255, 0, 0))
colorLeds[0].color(rgb(0, 255, 0))
colorLeds[0].color(rgb(0, 0, 255))
colorLeds[0].color(rgb(255, 255, 0))
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why are the LEDs called RGB LEDs?
Because each LED is made up of a red, green, and blue smaller LED
Because they are arranged in a rainbow pattern
Because they only display red, green, or blue colors
Because they are brighter than normal LEDs
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?