Greenfoot Java Classes

Quiz
•
Science, Computers
•
10th Grade
•
Medium
Standards-aligned
JOYCE PACHECO
Used 47+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The *; after import greenfoot does what?
Imports all the classes for the greenfoot coding package.
Tells greenfoot to allow code to be entered.
Limits the amount of code you can write.
Names the code Java.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one is a correctly coded comment?
/**
* Im a great comment
*/
/***
** Im a great comment.
*//
/
*Im a great comment.
*/
/**
Im a great comment.
*/
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the yellow boxes?
functions
methods
variables
algorithms
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does public void turtle extend to?
the turtle world
turtle class
actor class
greenfoot
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What sets different methods apart or the actor class?
[ ]
" "
{ }
( )
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is correctly coded?
public void act()
{
move(4);
}
public Void act():
{
move(4);
}
Public Void Act()
{
move(4);
}
public void act();
{
move(4)
}
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method allows for you to use keyboard controls for an actor?
checkKeys();
CheckKeys();
checkkeys();
checkKey{};
Create a free account and access millions of resources
Similar Resources on Wayground
16 questions
Code.org Discoveries Unit 3

Quiz
•
7th - 10th Grade
16 questions
Network - Types of Network & Encryption

Quiz
•
8th - 10th Grade
17 questions
GCSE Computer Science - Python Programming Concepts

Quiz
•
9th - 11th Grade
15 questions
User Defined Method - 01

Quiz
•
10th Grade
10 questions
Operators in C

Quiz
•
9th - 12th Grade
10 questions
W8-11

Quiz
•
10th - 11th Grade
10 questions
Introduction To Java: Hello World

Quiz
•
7th - 12th Grade
16 questions
Java by Mr Sam

Quiz
•
10th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade