Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Alice 2 - Chapter 4

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.
A class defines a particular object. What does it mean when we say we 'instantiate' an object?
a)
Make it bigger
b)
create an instance of the object
c)
make it jump
d)
make a copy of it
2.
What is not an example of a primitive method that is pre built into Alice?
a)
move to
b)
turn to face
c)
world.getObject
d)
roll
3.
In order for information to be passed to a method to be used by the method one needs to create a(n)__________?
a)
new method
b)
event
c)
parameter
d)
function
4.
Methods that specifically reference more than one object are ____________ methods.
a)
really good
b)
world
c)
class
d)
useless
5.
Methods that define behaviors for a single object are considered ____________ methods.
a)
class
b)
really good
c)
world
d)
useless
6.
Once a class is defined we can create a new class that includes all the methods that were previously defined and add new ones specific to the new class.  This is called _________________
a)
instantiation
b)
instance of
c)
inheritance
d)
a parameter
7.
Breaking an overall task down into smaller pieces then define steps for each piece is a design process called_________________
a)
stepwise refinement
b)
nesting
c)
orientation
8.
All of these are allowable types for parameters except _______________
a)
Number
b)
Boolean 
c)
String
d)
class
9.
The property that we can use to make objects go from showing 0% to 100% is _______________
a)
color
b)
opacity
c)
filling style
d)
vehicle
10.
Another property that allows you to have an object appear at 100% or disappear at 0% is _________________
a)
isShowing
b)
fillingStyle
c)
color
d)
skin texture