
Greenfoot Quiz
Authored by Bill Butterfield
Computers
9th - 12th Grade
Used 43+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
In the Crab game scenario, the Lobster class contained all of the code that describes how all _____'s behave.
Lobster
Crab
Worm
Actor
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
In the Crab scenario, how were these two images used?
The Crab class switched between these two images to animate the legs of the crab.
The Crab class displayed crab when the game starts and crab2 when the game ends.
The Crab class displayed crab when a worm was eaten and crab2 when a Crab eats a Lobster.
The Crab class displayed crab when a worm was eaten and crab2 when a Lobster eats a Crab.
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following accurately describes the code shown here.
line 15 stores the file "crab.png"
line 16 stores the file "crab2.png"
line 17 stores a whole number
lines 15 and 16 store Java primitives
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following best describes what the keyword "void" means?
it denotes that the method will only execute any commands that it contains
it creates a variable using the name that follows it
it creates an array of values from the code that it executes
it denotes that the method will return a value once it completes executing any commands it contains
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following accurately describes the code shown here?
The turnAtEdge() method will cause an object to turn 17 times every time it executes.
The turnAtEdge method will cause an object to turn 17 degrees when isAtEdge() is true
The turnAtEdge method will cause an object to turn 17 degrees when isAtEdge() is false
The turnAtEdge() method will cause an object to turn 17 degrees every time it executes.
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is an accurate statement about the code shown here.
if an object created from the Lobster class is touching an object of the Crab class the program will stop.
if an object created from the Crab class is touching an object of the Worm class the program will stop.
if an object created from the Lobster class is touching an object of the Worm class the program will stop.
if an object created from the Lobster class is touching another object of the Lobster class the program will stop.
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which term below is illustrated in the two lines of code shown here.
variable declaration
class declaration
object instantiation
dot notation
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
Database&Relation
Quiz
•
12th Grade
10 questions
python
Quiz
•
10th Grade
10 questions
Treasure Hunt
Quiz
•
12th Grade
10 questions
Penilaian Harian-1, Pemrograman Berorientasi Objek (PBO)
Quiz
•
12th Grade
20 questions
EMPOWERMENT ONLINE QUIZ BEE 2
Quiz
•
11th Grade
16 questions
Serial Communication - Sensors
Quiz
•
9th Grade
10 questions
Greetings
Quiz
•
1st Grade - University
15 questions
Q1 W1 M1 PRE-TEST
Quiz
•
10th Grade
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
Discover more resources for Computers
10 questions
Navigating Digital Citizenship and Online Safety
Interactive video
•
6th - 10th Grade
20 questions
Computer / Internet Companies
Quiz
•
9th Grade
10 questions
Exploring the Basics of Google Sheets
Interactive video
•
9th Grade
10 questions
Exponent Rules
Quiz
•
9th - 12th Grade
20 questions
JavaScript - Karel
Quiz
•
9th - 10th Grade