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 Quizizz
20 questions
Animate Test Review

Quiz
•
9th Grade - University
20 questions
Game Lab Basics

Quiz
•
9th - 12th Grade
14 questions
CMU Academy 1.2

Quiz
•
9th - 12th Grade
10 questions
CMYK and RGB

Quiz
•
9th - 12th Grade
17 questions
Digital Information

Quiz
•
10th - 12th Grade
17 questions
TURINGLAB - IMAGES AND SHAPES

Quiz
•
7th Grade - University
16 questions
SketchUp

Quiz
•
4th Grade - Professio...
20 questions
Adobe Photoshop Dasar

Quiz
•
10th Grade - University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University