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
Digital Graphics Using Drawing Tools

Quiz
•
4th - 11th Grade
17 questions
TURINGLAB - IMAGES AND SHAPES

Quiz
•
7th Grade - University
16 questions
SketchUp

Quiz
•
4th Grade - Professio...
20 questions
Google SketchUp Tool

Quiz
•
KG - University
10 questions
1.2.3 Colors and Gradients Quiz CMU CS Academy

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

Quiz
•
10th - 11th Grade
20 questions
Campground Icons Quizziz Review

Quiz
•
KG - 12th Grade
12 questions
Video Cables and Connectors

Quiz
•
10th - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade