
Unit 2: Properties
Authored by Michael Weingarden
Computers
9th - 12th Grade
Used 93+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
32 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The property being changed in this code is...
centerX
left
right
centerY
fill
Answer explanation
Look at line 12. Notice that the fill property of the variable sky is being changed.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which variable has it's centerX property set to 300?
ball
ground
I'm not really sure
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you wanted to change the text in the variable called message:
label.text('Bye')
label.text = 'Bye'
message.value('Bye')
message.value = 'Bye'
I'm really not sure
Answer explanation
The name of the variable is message. The name of the property is value. To change a property, you must do this message.value = 'Hello'.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you want to move one end of the variable ground up:
ground.y1 = 200
ground.x1 = 200
ground.y1 = 350
ground.x1 = 350
I'm really not sure
Answer explanation
To move one end of a line up, you have to change either the y1 property or the y2 property- not the x1 or x2. Changing the y1 from 300 to 200 will move it up. Changing it to 350 will move it down.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you want to move one end of the variable ground up:
ground.y1-1
ground.x1-1
ground.y1-=1
ground.x1-=1
I'm really not sure
Answer explanation
To move one end of a line up, you have to change either the y1 property or the y2 property. If you want to change the value of ground.y1 you must use +=. += means ground.y1=ground.y1+1 which means that the new value of ground.y1 equals the old value plus 1.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you want to change the color of the background:
background.fill = 'red'
background.fill('red')
background.color = 'red'
background.color('red')
I'm really not sure
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you want to make the box more transparent, you must change the opacity property like this:
box.opacity+=50
box.opacity-=50
box.opacity+50
box.opacity - 50
I'm really not sure
Answer explanation
If you decrease the opacity, you increase the transparency. If you just use minus, then you don't change the opacity. You have to use -= to change the value of the opacity property for the box.
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
27 questions
aaazzzaaa
Quiz
•
4th Grade - University
30 questions
ULANGAN HARIAN DATA AWAL
Quiz
•
12th Grade
28 questions
Terza prova scritta classi II
Quiz
•
10th Grade
28 questions
Doamne ajuta Antoane
Quiz
•
12th Grade
29 questions
Scratch 9
Quiz
•
9th Grade
29 questions
Le reti ci computer
Quiz
•
9th Grade
27 questions
SJiWP - 2022 - 04 (PHP osnove)
Quiz
•
11th Grade
27 questions
T-Level DPDD: Searching & Sorting Algorithms Quiz
Quiz
•
11th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
Exploring Valentine's Day with Charlie Brown
Interactive video
•
6th - 10th Grade
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Valentine's Day History and Traditions
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
20 questions
Exponent Properties
Quiz
•
9th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade