Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Code Combat first

Total questions: 7

Worksheet time: 18mins

Name
Class
Date
1.

Which line of code is correct?

a)

hero.MoveLeft()

b)

heroMoveLeft();

c)

hero.moveleft(:

d)

hero.moveLeft()

2.

What is the name of the programming language you used in Code Combat?

a)

HTML

b)

Visual Basics

c)

Python

d)

Javascipt

3.

In order to move up, which code would you use

a)

hero.moveUpup()

b)

hero.moveUp()

c)

hero.moveDown()

d)

hero.moveRight()

4.

What would the line of code look like if you need the avatar to move down?

a)

hero.moveDown{}

b)

hero.moveDown()

c)

hero.movedown()

d)

heromoveDown

5.

What is the step-by-step execution of lines?

a)

Algorithm

b)

Code

c)

Example

d)

Process

6.

What mistakes teach you?

a)

To learn and move on

b)

To worry more

c)

To feel low

d)

Blame yourself

7.

Which type of casing do we follow in python?

a)

Camel Casing

b)

Capital Casing

c)

Kebab Casing

d)

Flat Casing