Search Header Logo

Greenfoot Java Classes

Authored by JOYCE PACHECO

Science, Computers

10th Grade

NGSS covered

Used 47+ times

Greenfoot Java Classes
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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

Media Image

What are the yellow boxes?

functions

methods

variables

algorithms

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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{};

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?