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
20 questions
Excel Domain 3 Review

Quiz
•
9th - 12th Grade
20 questions
Quiz Pemrograman Python Turtle

Quiz
•
11th Grade
10 questions
Turtle Lesson 1

Quiz
•
11th Grade
15 questions
Unit 3: Interactive Animations and Games - Lessons 3-6

Quiz
•
6th Grade - University
10 questions
Visual Graphics Design

Quiz
•
11th Grade
20 questions
AVALIAÇÃO DE PENSAMENTO COMPUTACIONAL VALOR 40

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

Quiz
•
9th - 12th Grade
20 questions
Intro to JavaScript

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade