Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Greenfoot,
what
happens to
an instance
when the
Act button
is clicked in
the
environmen
t?
Mark for
Review
(1) Points
True (*)
False
Correct
3. An object is an instance of a class. True or
false?
Mark for
Review
(1) Points
True (*)
False
Incorrect. Refer to Section 3 Lesson 1.
4. In Greenfoot, the class holds the general
attributes of an instance, such as the methods
it inherits. True or false?
Mark for
Review
(1) Points
True (*)
False
Correct
5. A subclass has what kind of relationship to a
superclass?
Mark for
Review
(1) Points
"for-what"
"a-is"
"is-a" (*)
"is-by"
Correct
6. What does an instance of the World class do?
Mark for
Review
(1) Points
Mark for
Review
(1) Points
Creation of an instance
Compilation (*)
Creation of source code
Editing of source code
Correct
8. In Greenfoot, after a subclass is created and
compiled, you cannot edit the subclass's
source code. True or false?
Mark for
Review
(1) Points
True
False (*)
Correct
3.2
In Greenfoot, the move method expects what type of information in its
1. parameters?
2. In Greenfoot, the
4. In Greenfoot, the
5. In the Greenfoot I
6. In Greenfoot, whic
7. An instance variab
8. A variable is also
9. In Greenfoot, the
Section 1
(Answer all questions in this section)
1. From your Greenfoot lessons, the __________ control structure is used to
compare and make a decision.
Mark for
Review
(1) Points
Conditional (*)
Repetition
Obsolete
Rewind
Correct
2. From your Greenfoot lessons, the __________ control structure is often referred
to as loops.
Mark for
Review
(1) Points
Conditional
Repetition (*)
Obsolete
Rewind
Correct
3. The construct listed below is described as a __________________.
/**
* Get value and store in variable
*/
Mark for
Review
(1) Points
Method
Comment (*)
Variable Assignment
Instruction
Correct
4. The construct listed below is described as a __________________.
termvar = scanterm.nextLine();
Method
Mark for
Review
(1) Points
Comment
Variable Assignment (*)
Instruction
Incorrect. Refer to Section 3 Lesson 12.
5. What is wrong with the following line of code?
System.out.println(termvar + '; '+ termdef);
Mark for
Review
(1) Points
Mark for
Review
(1) Points
2
3 (*)
4
5
6
Correct
7. In which step to create a Greenfoot game do you find and resolve errors in the
game?
Mark for
Review
(1) Points
Mark for
Review
(1) Points
Mark for
Review
(1) Points
Mark for
Review
(1) Points