wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Coding Quiz Practice

Total questions: 14

Worksheet time: 7mins

Name
Class
Date
1.

Which of these is an example of an event

a)

Play music

b)

When S key is pressed move 20 steps

c)

If touching edge change color effect by 25

d)

Say "Hello!"

2.

Which of the following words correctly describes the role that code is to computers

a)

spells

b)

drawings

c)

instructions

d)

questions

3.

Syntax can be defined as

a)

rules for arranging a language so that it can be understood

b)

rules for tone of voice when speaking a language

c)

the list of all possible functions in a language

d)

Rules for smiling when talking to a neighbor

4.

Loops are useful because they allow us

a)

specify exact distances between objects

b)

translate English into CoffeeScript

c)

turn to specific objects

d)

execute patterns of code without typing them all out

5.

Variables are useful to coders because they

a)

translate statements from other coding languages to CoffeeScript

b)

help distinguish different objects within an array

c)

allow us to repeat the same statement over and over

d)

allow us to store data to be called upon later

6.

What is a function?

a)

a set of objects and their targets in CodeMonkey

b)

a set of keyboard shortcuts used in CoffeeScript

c)

a set of elements in an array

d)

a set of instructions that performs a specific task

7.

What does it mean to define a function?

a)

Dialing the phone number provided my a specific code

b)

looking up the name of a function in a dictionary

c)

writing a set of statements that tell the computer what to do when

d)

using it in our code for the computer to execute, specifically in the main code

8.

Which of these functions can a Sprite in Scratch NOT be programmed to do?

a)

Write a program

b)

Play music

c)

Run around on the screen

d)

Speak

9.

What would you use to change the location of a sprite on the stage in Scratch?

a)

Costume Tab

b)

Coordinates

c)

Stage Information

d)

File Menu

10.

Which box changes the background on a Scratch screen?

a)

Stage Information

b)

Help

c)

Backpack

d)

Blocks Palette

11.

Where are the instruction blocks stored on a Scratch screen?

a)

Costume Tab

b)

Blocks Palette

c)

Stage

d)

Help Tab

12.

What two things do all Scratch programs have?

a)

At least two sprites

b)

Scripts and instructions

c)

Stages and scripts

d)

At least four sprites

13.

Where can scripts be saved and stored?

a)

Backpack

b)

Holder

c)

Stage

d)

Blocks Palette

14.

Why do we need an event block?

a)

It celebrates your coding knowledge

b)

It means you're done coding

c)

Yellow code blocks make your code look better

d)

Tells the computer when to run the code