3.3.1 Drawing Rectangles and Using Colors in Programming

3.3.1 Drawing Rectangles and Using Colors in Programming

11th Grade

15 Qs

quiz-placeholder

Similar activities

Illustrator Tools Quiz

Illustrator Tools Quiz

10th - 12th Grade

20 Qs

TURINGLAB - IMAGES AND SHAPES

TURINGLAB - IMAGES AND SHAPES

7th Grade - University

17 Qs

Adobe CS6 Keyboard Shortcuts

Adobe CS6 Keyboard Shortcuts

9th - 12th Grade

19 Qs

Pengenalan Corel Draw

Pengenalan Corel Draw

11th Grade

20 Qs

LA6.C6: Graphics Window

LA6.C6: Graphics Window

9th Grade - University

14 Qs

XI - PTS (coreldraw 1)

XI - PTS (coreldraw 1)

11th Grade

12 Qs

MOAC Excel 2016 Lesson 6

MOAC Excel 2016 Lesson 6

8th - 12th Grade

20 Qs

LocoRobo LEDs

LocoRobo LEDs

5th - 12th Grade

14 Qs

3.3.1 Drawing Rectangles and Using Colors in Programming

3.3.1 Drawing Rectangles and Using Colors in Programming

Assessment

Quiz

Computers

11th Grade

Easy

130.93

Standards-aligned

Created by

Christina LaBarron

Used 1+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function is used to convert RGB values into a usable color in cmu_graphics?

rgb

color

fill

draw

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Fill in the blank: To set the border color of a rectangle, you use the parameter ____.

border

fill

color

width

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT an optional argument in the drawRect function?

A) border

B) rotateAngle

C) top

D) opacity

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following colors is used in the example to fill a rectangle using the rgb function?

Pistachio

Cyan

Black

Blue

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the 'borderWidth' parameter in the drawRect function?

To change the color of the rectangle

To change the width of the rectangle's border

To change the height of the rectangle

To change the fill color of the rectangle.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Fill in the blank: An opacity of 0 means the shape is completely ______.

A) visible

B) transparent

C) opaque

D) colored

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the example code, what is the rotateAngle set to for the green rectangle?

0

10

30

45

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?