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

J808 LO1 and LO2 planning project keywords / terms

J808 LO1 and LO2 planning project keywords / terms

9th - 11th Grade

15 Qs

Bảo mật mạng

Bảo mật mạng

11th Grade

10 Qs

BTEC DIT C3 B1 - Threats to Data

BTEC DIT C3 B1 - Threats to Data

11th Grade

11 Qs

HLL and LLL

HLL and LLL

11th Grade

10 Qs

Kuis Dadakan ;)

Kuis Dadakan ;)

10th Grade - University

15 Qs

Python Quiz For Starters

Python Quiz For Starters

3rd Grade - Professional Development

17 Qs

สอบย่อย ครั้งที่ 1 (BC.2/2)

สอบย่อย ครั้งที่ 1 (BC.2/2)

11th Grade

10 Qs

ICT Computer Basics pt1

ICT Computer Basics pt1

10th - 12th Grade

12 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

Practice Problem

Easy

130.93

Standards-aligned

Created by

Christina LaBarron

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...

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

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?