wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

CODE.ORG FINAL

Total questions: 35

Worksheet time: 30mins

Name
Class
Date
1.

What are BOOLEANS?

a)

A statements that only run under certain conditions.

b)

A single value of either TRUE or FALSE

c)

Any valid unit of code that resolves to a value

d)

A collection of variable

2.

Which of these is the correct way of naming variables?

a)

width of a rectangle

b)

4sides

c)

4 sides of a rectangle

d)

sizeOfRectangle

3.

What are conditionals?

a)

Statements that only run under certain conditions

b)

Any valid unit of code that resolves to a value

c)

An algorithm that has been coded into something that can be run by a machine

d)

Part of a program that does not work correctly

4.

What is a bug?

a)

Part of a program that does not work correctly

b)

a Hemipteron

c)

Part of a program that does work correctly

d)

Finding and fixing problems in an algorithm or program.

5.

How do you add in a sprite?

a)
b)
c)

drawSprites();

var sprite = createSprite(300, 100);

d)

var mySprite = createSprite(300, 100)

drawSprites()

6.

How do you set an Animation Sprite?

a)
b)
c)

drawSprites();

coolSprite.setAnimation("bunny");

var coolSprite = createSprite(300,300);

d)

var coolSprite = createSprite(300,300);

coolSprite.setAnimation(bunny);

drawSprites();

7.

How do you make the plane move to the RIGHT?

a)
b)
c)
d)
8.

What does "run" mean?

a)

to make a code for a program

b)

to make a program complete an algorithm

c)

to make a website show up on your screen

d)

to move at a speed faster than a walk, never having both or all the feet on the ground at the same time.

9.

What does this code do?

a)

move the fly to the right

b)

move the fly to the left

c)

move the fly up

d)

move the fly down

10.

Finding and fixing errors in a program.

a)

debugging

b)

bug

c)

nested loop

d)

event

11.

How do you make the red gear rotate to the left ?

a)

redGear.rotation = redGear.rotation + 1;

b)

blueGear.rotation = redGear.rotation - 1

c)

redGear.rotation = redGear.rotation - 1;

d)

redGear.x = redGear.x- 1;

12.

Which of the following is true regarding naming variables?

a)

Function names can be reused multiple times

b)

A function name should be as descriptive as possible to indicate what the function does.

c)

Function names should be organized alphabetically

d)

The function name should begin with a number that indicates the order in which it should be executed.

13.

Why do we use functions in programs?

a)

A. Make the program easier to read

b)

B. Avoid retyping the same lines of code

c)

C. Both A and B are correct

d)

D. Neither A nor B are correct

14.
Coding is...
a)
Using only symbols to write a secret message
b)
Using only words to write directions
c)
Writing instructions in a language that computers understand 
d)
Hurting my brain
15.
An action that causes something to happen.
a)
Event
b)
Condition
c)
Bug
d)
Parameters
16.

What is not included in Code.org?

a)

Cobing Practice

b)

Minecraft

c)

Game Programming

d)

Flappy Bird

17.

What is velocity in Code?

a)

How fast an object is

b)

How fast an object can turn

c)

How far an object moves

d)

How fast an object moves in a direction

18.

¿Qué es un bucle?

a)

Una declaración If o While

b)

la velocidad a la que se muestran los cuadros en una animación, típicamente medida en cuadros por segundo

c)

Una serie de codigos de salida.

d)

Porque esta en español

19.

What is Frame Rate or FPS?

a)

Frames Per Sun

b)

The rate that frames are shown

c)

The rate that you build frames

d)

The rate that code is typed

20.

What is an Expression in code?

a)

A variable

b)

a look on someone's face that conveys a particular emotion

c)

the process of making known one's thoughts or feelings

d)

Any valid unit of code that resolves to a value

21.

What is a Draw Loop?

a)

A loop that draws the code inside of the function

b)

A picture that is repeatedly drawn

c)

A string of images drawn in a line

d)

A function that draws a picture

22.

True or False: Can there be a variable in real life?

a)

True

b)

False

23.

A list of steps to finish a task.

a)

Repeated

b)

Algorithm

c)

Guidelines

24.

Getting help from a large group of people to finish something sooner.

a)

Dell Computers

b)

Programmers

c)

Crowdsourcing

25.

What is the difference between an If and While statement?

a)

An If statement repeats code where a while statement stops code

b)

An if statement only works if a certain variable is active where a while statement works while the value is active

c)

An if statement works while the value is active where a while statement only works if a certain variable is active

d)

There is no difference

26.

Input is...

a)

Information the computer gives to the user

b)

Information one server sends to another server

c)

Information a user gives to the computer

27.

Output is...

a)

Information the user gives to the computer

b)

Information the computer gives to the user

c)

Information the keyboard gives to the mouse

28.

An action, or an event, that leads to the next ordered action in a specific order.

a)

Pixels

b)

Sequence

c)

Conditionals

d)

Algorithm

29.

The action launched by any external input, such as clicking, touching, tabbing.

a)

Pixels

b)

Event

c)

Conditionals

d)

Algorithm

30.

What is not a form of input?

a)

A mouse movement or click

b)

A key used on a keyboard

c)

Printing a piece of paper

d)

Clicking a touch screen

31.

What does the random number block do?

a)

Randomizes a piece of code

b)

Creates random code

c)

Randomly generates a number

32.

True or False: A BOOLEAN is a conditional

a)

False

b)

True

33.

What is a collision?

a)

When a sprite is clicked

b)

When 2 sprite's paths intersect

c)

When a sprites code is finished

34.

What is a sprite?

a)

A soda brand

b)

A image

c)

A collection of values

d)

A character

35.

Whats the correct code for moving?

a)

.move();

b)

move;

c)

move()

d)

move();