3.3.1 Drawing Rectangles and Using Colors in Programming

Quiz
•
Computers
•
11th Grade
•
Easy
Standards-aligned
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
Similar Resources on Wayground
10 questions
CMYK and RGB

Quiz
•
9th - 12th Grade
17 questions
CP M.6 Assessment Review

Quiz
•
9th - 12th Grade
18 questions
6 - Color Photoshop Tutorial

Quiz
•
9th - 12th Grade
10 questions
1.2.3 Colors and Gradients Quiz CMU CS Academy

Quiz
•
9th - 12th Grade
20 questions
Adobe Photoshop Dasar

Quiz
•
10th Grade - University
12 questions
Warm Up Data Representation

Quiz
•
9th - 12th Grade
10 questions
AutoCad Practice Exam

Quiz
•
10th - 11th Grade
20 questions
adobe photoshop 2015 certification quiz 2

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade