Code 07 RGB LEDs and Programming Quiz

Code 07 RGB LEDs and Programming Quiz

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

To Change or Not to Change?

To Change or Not to Change?

12th Grade

10 Qs

Introducción a las Redes de Datos

Introducción a las Redes de Datos

11th Grade

10 Qs

Computer Quiz For NM(06.05.2021)

Computer Quiz For NM(06.05.2021)

11th - 12th Grade

15 Qs

Python List

Python List

4th Grade - University

15 Qs

Binary Subtraction

Binary Subtraction

12th Grade

10 Qs

OCR GCSE CS - 2.1 ERL sorts and searches

OCR GCSE CS - 2.1 ERL sorts and searches

10th - 11th Grade

9 Qs

Wifi y bluetooth

Wifi y bluetooth

10th Grade

10 Qs

PWPB - 11 RPL

PWPB - 11 RPL

11th Grade

15 Qs

Code 07 RGB LEDs and Programming Quiz

Code 07 RGB LEDs and Programming Quiz

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Medium

Created by

Tod Elford

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

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

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?