wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Properties

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

Property is defined as...

a)

a variable that stored classes

b)

a variable that is attached to an object

c)

a variable that is store value in an object

2.

Properties allow you to change a single object without it causing a change in any other object?

a)

true

b)

false

3.

How do you define property class?

a)

Similar feathers

b)

Similar variables

c)

Similar characteristics

4.

The "traits" can change because it is also a type of variable?

a)

yes

b)

no

c)

not sure

5.

Which code is the correct individual property?

a)

flamingo.feather="blue";

b)

flamingo.Feather= blue;

c)

flamingo.feather="blue"

6.

When flamingo.feather="green" is coded, does this apply to all the sprites in your code?

a)

it doesn't apply to any of the sprites.

b)

it only applies to only one sprite

c)

it applies to two or more sprites

7.

Can a variable change in property?

a)

yes

b)

no

c)

it doesn't apply to a property.

8.

From the video, the property of blue blaster strength does not increase the strength of blue blaster to 2. Why?

a)

a single change in properties will increase the value of the second value property.

b)

when both object value changes it affects the whole coding progress.

c)

properties allow changing a single object without affecting the second object

9.

How does property help in making and playing games?

a)

Property makes the game colorful and interesting

b)

property values affect how an object behaves

c)

Property values can change

10.

If a variable is a container that stores information called value, then what is the property value for this code:

lion.fur= "brown"

a)

"fur"

b)

"lion"

c)

"brown"