
1.2.3 Colors and Gradients Quiz CMU CS Academy
Authored by Maria Cruz Farooqi
Computers
9th - 12th Grade
Used 3+ 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 the rgb value stand for when choosing colors?
Red, Yellow, Blue
Red, Green, Blue
Red, Green, Black
Red, Green, White
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Where can you find the documentation for all the different commands and colors in cmu cs academy?
At the bottom of the page
In the settings menu
In the help section
On the top of the page under 'docs and colors'
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the range of values for the red, green, and blue in the rgb color selection?
0 to 100
0 to 255
0 to 200
0 to 50
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens if you don't put the starting quote for a color in the code?
The color will not be recognized
The color will default to black
The code will not run
The color will default to white
5.
DROPDOWN QUESTION
1 min • 1 pt
In addition to solid colors, we can use (a) , which fade from one color to another color. We'll start with radial gradients, which fade from the (b) of the shape (c) to its border.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'gradient' option do in the fill attribute?
It creates a smooth transition between two or more colors
It fills the shape with a single color
It adds a pattern to the shape
It changes the border color of the shape
7.
DROPDOWN QUESTION
1 min • 1 pt
Rect( 40, 50, 70, 70, fill=gradient('red', 'blue', (a) 'right-bottom'))
Rect(125, 50, 70, 70, fill=gradient('red', 'blue', (b) 'top'))
Rect(210, 50, 70, 70, fill=gradient('red', 'blue', (c) 'left-bottom'))
Rect(295, 50, 70, 70, fill=gradient('red', 'blue', (d) 'right'))
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 Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?