3.3.1 Drawing Rectangles and Using Colors in Programming
Quiz
•
Computers
•
11th Grade
•
Practice Problem
•
Easy
Standards-aligned
Christina LaBarron
Used 1+ times
FREE Resource
Enhance your content in a minute
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
Network topologies
Quiz
•
8th Grade - University
15 questions
Quiz 1
Quiz
•
1st - 12th Grade
15 questions
Data Security Worksheet
Quiz
•
10th Grade - University
12 questions
Характеристики зображення та засобів його відтворення
Quiz
•
1st - 12th Grade
13 questions
Guess the Retro Computer 1
Quiz
•
KG - Professional Dev...
10 questions
Programming Constructs
Quiz
•
5th - 11th Grade
11 questions
Threats to Data
Quiz
•
9th - 12th Grade
15 questions
1.1.1 The structure and function of the processor
Quiz
•
11th Grade - University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
29 questions
christmas facts
Lesson
•
5th - 12th Grade
20 questions
Christmas Trivia
Quiz
•
5th - 12th Grade
20 questions
Stages of Meiosis
Quiz
•
9th - 12th Grade
20 questions
christmas songs
Quiz
•
KG - University
