Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

HT2 - L4: Fix it lesson

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

Spelling, grammar and punctuation of a programming language.

a)

Basic Syntax

b)

Method

c)

Sequence

d)

JavaScript

2.

Character that can perform actions

a)

Object

b)

Basic Syntax

c)

JavaScript

d)

Argument

3.

Code inside parantheses.

a)

Argument

b)

Basic Syntax

c)

While Loop

d)

Method

4.

Order of the commands in a program.

a)

Sequence

b)

Object

c)

Method

d)

String

5.

The actions an object performs.

a)

Method

b)

While Loop

c)

Sequence

d)

Argument

6.

What does the word "hero" symbolize in: hero.moveUp()?

a)

The Function

b)

The Object

c)

The Method

d)

The Last Part

7.

What does the word "moveUp" symbolize in: hero.moveUp() ?

a)

The Function

b)

The Method

c)

The Last Part

d)

The Object

8.

Which line of code will make the hero move up 2 times?

a)

2.hero.Move.Up();

b)

hero.2MoveUp();

c)

hero.MoveUp(2)

d)

her.Move2Up();

9.

Which line of code is correct?

a)

hero.MoveLeft()

b)

heroMoveLeft();

c)

hero.moveleft(:

d)

hero.moveLeftt()

10.

What symbol do you use to add a comment onto a program?

a)

#

b)

()

c)

""

d)

+