Greenfoot Java Classes

Greenfoot Java Classes

10th Grade

12 Qs

quiz-placeholder

Similar activities

Java March

Java March

KG - University

16 Qs

Greenfoot 1

Greenfoot 1

6th Grade - University

10 Qs

JAVA Quiz (week 1)

JAVA Quiz (week 1)

10th Grade

10 Qs

Search for Content on Methods in Java

Search for Content on Methods in Java

10th - 12th Grade

11 Qs

Methods in Java

Methods in Java

10th - 12th Grade

11 Qs

Java Test 1

Java Test 1

10th Grade

15 Qs

Java by Mr Sam

Java by Mr Sam

10th Grade

16 Qs

Year 8 Keep it safe 2

Year 8 Keep it safe 2

6th - 10th Grade

10 Qs

Greenfoot Java Classes

Greenfoot Java Classes

Assessment

Quiz

Science, Computers

10th Grade

Medium

NGSS
MS-PS2-1

Standards-aligned

Created by

JOYCE PACHECO

Used 47+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?