Professional Documents
Culture Documents
(*)
Correct
2. From your Alice lessons, variables are fixed and cannot be changed. True or false?
True
False (*)
Correct
4.
4. From your
Alice lessons, Mark for Review
complete the (1) Points
following
sentence:
When coded,
an event
triggers a
___________.
Infinite loop
Gallery
Procedure (*)
Scene
5. In Alice,
we use Mark for Review
the WHILE (1) Points
control
statement
to
implement
the
conditional
loop. True
or false?
True (*)
False
Correct
6. Which of
the Mark for Review
following (1) Points
is not a
valid
primitive
type in
Java?
boolean
String (*)
long
int
double
7. Results of
arithmetic Mark for Review
operations (1) Points
cannot be
stored in
a variable.
True or
false?
True
False (*)
Correct
8. You have a Class representing Cat. Each Cat can meow, purr, catch mice,
and so on. When you create a new cat, what is it called? Mark for Review
(1) Points
A submethod
A subprogram
An instance (*)
A subclass
A variable class
False
Correct
10. From
your Mark for Review
Alice (1) Points
lessons,
built-in
functions
provide
precise
property
details
for the
following
areas:
Proximity and size.
11. From your Alice lessons, functional decomposition is the process of taking a complex problem or process
and growing it into larger parts that are easier to manage. True or false?
True
False (*)
13. In Alice,
you can Mark for Review
define (1) Points
your own
procedures
for a class,
but not
your own
functions.
True or
false?
True
False (*)
Correct
14. In Alice, a
computer Mark for Review
program (1) Points
requires
functions to
tell it how to
perform the
procedure.
True or false?
True
False (*)
Incorrect.
Refer to
Section 2
Lesson 6.
15. In Alice, the
setVehicle Mark for Review
procedure will (1) Points
associate one
object to
another. True
or false?
True (*)
False
Correct
16. In Alice,
Do In Mark for Review
Order (1) Points
and Do
Together:
Are move statements
False
Correct
18. Before you can begin to develop the animation storyboard, what must be
defined? Mark for Review
(1) Points
The code
19. In Alice, which of the following are benefits of separating out motions into
their own procedures? Mark for Review
(1) Points
(Choose all correct answers)
It makes the animation easier to run.
21. In Alice,
which of the Mark for Review
following (1) Points
programming
statements
moves the
cat
backward,
half the
distance to
the bird?
this.Cat move backward {this.Bird getDistanceTo this.Cat / 2}
Correct
Correct
Section 3
(Answer all questions in this section)
23. From your Greenfoot lessons, classes can only use the methods they
have inherited. They cannot use methods from other classes. True or Mark for Review
false? (1) Points
True
False (*)
Correct
24. From your Greenfoot lessons, which axes define an object's position in a
world? Mark for Review
(1) Points
(Choose all correct answers)
x (*)
z
y (*)
Correct
Move(120,100);
Correct
World (*)
Actor
Vector
Correct
False (*)
28. Use your Greenfoot knowledge to answer the question: Where are defined
variables typically entered in a class's source code? Mark for Review
(1) Points
In the defined method in the source code.
30. From your Greenfoot lessons, which of the following are properties of an
instance? Mark for Review
(1) Points
Size
Color
Image file
Methods
31. In Greenfoot,
instances Mark for Review
inherit the (1) Points
characteristics
of the
subclass they
belong to, but
not the
superclass.
True or false?
True
False (*)
Correct
void
turnLeft (*)
Left
Incorrect. Refer to Section 3 Lesson 2.
turnAround( );
move ( );
turn( ); (*)
35. From your Greenfoot lessons, source code is written in the Code editor.
True or false? Mark for Review
(1) Points
True (*)
False
Correct
36. In Greenfoot,
dot notation is Mark for Review
used to call a (1) Points
_____________
from another
class.
Method (*)
Class
Signature
Parameter
Correct
Classes (*)
Signatures
Parameters
Correct
38. In Greenfoot, you may perform the programming tasks of create and
test many times. True or false? Mark for Review
(1) Points
True (*)
False
Correct
39. In the Greenfoot IDE, what symbols indicate that the variable is an
array? Mark for Review
(1) Points
Square brackets [ ] (*)
Curly brackets { }
Semicolon ;
Colon :
False (*)
Correct
False (*)
False
Correct
Cat
Parrot
Actor (*)
World (*)
False
Correct
46. In Greenfoot,
you will not Mark for Review
receive an error (1) Points
message if your
code is incorrect.
It will simply not
work, and you
will have to
determine why
the code doesn't
work. True or
false?
True
False (*)
Incorrect.
Refer to
Section 3
Lesson 4.
47. From your
Greenfoot Mark for Review
lessons, (1) Points
abstraction
techniques can
only be used
once in a class's
source code.
True or false?
True
False (*)
Correct
48. In Greenfoot,
what type of Mark for Review
parameter does (1) Points
the keyDown
method expect?
String (*)
Boolean
Integer
Method
Incorrect.
Refer to
Section 3
Lesson 7.
49. From your
Greenfoot Mark for Review
lessons, how do (1) Points
you call a
defined method?
Call the
method
from the act
method. (*)
Call the
method
from the
defined
method.
Write the
method in
the World
superclass.
Write the
method in
the
instance.
Write the
method in
the source
code.
Correct
50. In Greenfoot, a
way to have all Mark for Review
subclasses of a (1) Points
superclass inherit
a method is by
adding the
method to the
superclass. True
or false?
True (*)
False
Correct