Search Header Logo
​CMU CS Academy 1.2.4 Exercises

​CMU CS Academy 1.2.4 Exercises

Assessment

Presentation

Computers

9th Grade

Easy

Created by

Maria Cruz Farooqi

Used 1+ times

FREE Resource

1 Slide • 10 Questions

1

​CMU CS Academy 1.2.4 Exercises

​Independent Practice on drawing an image with gradients.

media

2

Multiple Choice

What is a radial gradient?

1

fade straight across the shape

2

fade from the ouside of the shape towards the center

3

fade from the center of the shape outwards to its border

4

fade straight across the shape from top to bottom

3

Multiple Choice

What is a linear gradient?

1

fade straight across the shape specified by start

2

fade from the ouside of the shape towards the center specified by start

3

fade from the center of the shape outwards to its border specified by start

4

fade straight across the shape from top to bottom specified by start

4

Multiple Choice

What is the default value for the optional argument start?

1

left

2

top

3

center

4

right

5

left top

5

Multiple Choice

Question image

Where can you find the documentation for all the different commands and colors in cmu cs academy?

1

At the bottom of the page

2

In the settings menu

3

In the help section

4

On the top of the page under 'docs and colors'

6

Multiple Choice

How can you start a gradient from a specific side of the shape?

1

By using the 'side' attribute

2

By using the 'begin' attribute

3

By using the 'from' attribute

4

By using the 'start' attribute

7

Multiple Choice

Question image

According to this picture, which rectangle should we code first?

1

Green

2

Sand

3

Blue sky

8

Dropdown

Question image
What is the correct code for the sky rectangle?

Rect ( 0, 0, 400, ​
, Fill = gradient ( "​
", "​
", start = "​
"))

9

Dropdown

Question image


What is the correct code for the sandy bottom rectangle?

Rect(0, ​
, 400, 125, fill=gradient('​
', '​
', start =

'​
'))

10

Dropdown

Question image
To start drawing the pipe we need...

Rect( 100, 125, 200,​
, fill=gradient('​
','​
', start='​
'))

11

Dropdown

Question image
The final rectangle we need is...

Rect( 125, 175, ​
, 100, fill=gradient('​
','​
', start='​
'))

​CMU CS Academy 1.2.4 Exercises

​Independent Practice on drawing an image with gradients.

media

Show answer

Auto Play

Slide 1 / 11

SLIDE