1.2.3 Colors and Gradients Quiz CMU CS Academy

1.2.3 Colors and Gradients Quiz CMU CS Academy

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

p5.js Week1 PREtest

p5.js Week1 PREtest

7th - 12th Grade

14 Qs

Python Review 3

Python Review 3

7th - 9th Grade

10 Qs

CS 1 - Unit 1 - Rectangle

CS 1 - Unit 1 - Rectangle

9th - 12th Grade

12 Qs

Python Programming Language: Canvas and Drawing

Python Programming Language: Canvas and Drawing

12th Grade - University

15 Qs

RPG (Lessons 25 - 36) Worksheet

RPG (Lessons 25 - 36) Worksheet

9th - 12th Grade

15 Qs

Javascript Drawing

Javascript Drawing

8th - 12th Grade

15 Qs

JavaScript L1 Quiz 2

JavaScript L1 Quiz 2

5th - 12th Grade

10 Qs

Grade 12 Quiz 3 - HMTL Styles

Grade 12 Quiz 3 - HMTL Styles

12th Grade

10 Qs

1.2.3 Colors and Gradients Quiz CMU CS Academy

1.2.3 Colors and Gradients Quiz CMU CS Academy

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Maria Cruz Farooqi

Used 3+ times

FREE Resource

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

Media Image

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

Media Image

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.

gradients
center
outwards

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

Media Image

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'))

start=
begin=
code=

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?