Greenfoot Flashcards
What is the mechanism to pass additional data to a method by including data in parenthesis?
A parameter
What is the file extension for Greenfoot?
.wave
What type of variable is: isSharktouching?
Boolean
If you have an error in Greenfoot and it says “reached the end of file while parsing”, what error have you made?
Haven’t put curly brackets or too many curly brackets.
To keep a score in a game, you would need a?
Integer
The code used in Greenfoot is from which source?
Java
What type of data is used for text?
String
A string requires _____. What is the missing word?
speech marks / “ “
Which co-ordinate is used to move left and right/ up and down?
1) x
2) y
What image file extension is used in Greenfoot?
.jpg and .png
What will not return an image type in Greenfoot?
Void
True or False? Greenfoot has its own sound recorder
True
Variables and method names typically start with _____ case letters. What word fills the gap?
Lower
move(-5), Will this move right or left?
Left
Pressing ctrl + ____ shows the different code types you can input. What word fills in the gap?
space