NEW
Font size
WorksheetsCoding Quiz Practice
Total questions: 14
Worksheet time: 7mins
Which of these is an example of an event
Play music
When S key is pressed move 20 steps
If touching edge change color effect by 25
Say "Hello!"
Which of the following words correctly describes the role that code is to computers
spells
drawings
instructions
questions
Syntax can be defined as
rules for arranging a language so that it can be understood
rules for tone of voice when speaking a language
the list of all possible functions in a language
Rules for smiling when talking to a neighbor
Loops are useful because they allow us
specify exact distances between objects
translate English into CoffeeScript
turn to specific objects
execute patterns of code without typing them all out
Variables are useful to coders because they
translate statements from other coding languages to CoffeeScript
help distinguish different objects within an array
allow us to repeat the same statement over and over
allow us to store data to be called upon later
What is a function?
a set of objects and their targets in CodeMonkey
a set of keyboard shortcuts used in CoffeeScript
a set of elements in an array
a set of instructions that performs a specific task
What does it mean to define a function?
Dialing the phone number provided my a specific code
looking up the name of a function in a dictionary
writing a set of statements that tell the computer what to do when
using it in our code for the computer to execute, specifically in the main code
Which of these functions can a Sprite in Scratch NOT be programmed to do?
Write a program
Play music
Run around on the screen
Speak
What would you use to change the location of a sprite on the stage in Scratch?
Costume Tab
Coordinates
Stage Information
File Menu
Which box changes the background on a Scratch screen?
Stage Information
Help
Backpack
Blocks Palette
Where are the instruction blocks stored on a Scratch screen?
Costume Tab
Blocks Palette
Stage
Help Tab
What two things do all Scratch programs have?
At least two sprites
Scripts and instructions
Stages and scripts
At least four sprites
Where can scripts be saved and stored?
Backpack
Holder
Stage
Blocks Palette
Why do we need an event block?
It celebrates your coding knowledge
It means you're done coding
Yellow code blocks make your code look better
Tells the computer when to run the code
