Search Header Logo

WJEC 2.3.2 Greenfoot

Authored by B Bennett

Computers

9th - 10th Grade

Used 65+ times

WJEC 2.3.2 Greenfoot
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

26 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

An operation that an object can do. I.e. a bit of code that makes the object work.

method
class
object
program

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

Which is the name of the method?

public
void
act
( )

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

You have a Wombat on screen.  This method is called  whenever you do whatever the Wombat  wants to do. This method is called whenever 'Run' button gets pressed in the environment.

act()
move()
setLocation()

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

What is missing?

;
(
{

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Classic error.  How do you fix it?

Add a { at the end
Add a } at the end
Control+shift+i to re-order the indentation
Move it all into the act method

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Anything in the white areas needs to end with

)
;
}

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Methods start with a a capital

True

False

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?