Professional Documents
Culture Documents
Correct
contact?
(1) Points
Correct
2.
A collision in Greenfoot is when two actors make
Mark for Review
True (*)
False
Correct
method?
(1) Points
Correct
3.
From your Greenfoot lessons, how do you call a defined
Mark for Review
Correct
Correct
4.
In Greenfoot, which method checks if a key on the
keyboard has been pressed? Mark for Review
(1) Points
keyPress method
isKeyUp method
isKeyDown method (*)
keyClick method
Correct
Correct
5.
In Greenfoot, which method would you use to obtain
input from the user?
Mark for Review
(1) Points
getInput()
input()
getText()
ask() (*)
Incorrect
6.
From your Greenfoot lessons, the isKeyDown method is
located in which class? Mark for Review
(1) Points
Greenfoot (*)
World
Actor
GreenfootImage
Correct
Correct
7.
From your Greenfoot lessons, what is the parameter of
the following constructor that creates a new image, and designates it to
the Actor class?
setImage (new GreenfootImage("Bee01.png")); Mark for Review
(1) Points
setImage
Bee01.png (*)
GreenfootImage
new
Correct
game?
(1) Points
Correct
8.
Which class holds the method that ends a Greenfoot
Mark for Review
Greenfoot (*)
Actor
Class
GreenfootImage
Incorrect
9.
Using the Greenfoot IDE, when is a constructor
automatically executed?
Mark for Review
(1) Points
When a new instance of the class is created. (*)
When a new image is added to the class.
When source code is written.
When the act method is executed.
Correct
Correct
Correct
Correct
11. In Greenfoot you can only access the methods of the current class?
Mark for Review
(1) Points
True
False (*)
Correct
Correct
Correct
Correct
i=i
I = 100 + i
i = i + 1 (*)
i=1
Correct
Correct
Correct
or false?
(1) Points
Correct
15. An array is an object that holds multiple methods. True
Mark for Review
True
False (*)
Correct
Correct