WorksheetsCodemonkey :)
Total questions: 21
Worksheet time: 16mins
What is computer programming?
Giving instructions to a computer
Input to a computer
Actions taken in a program
Syntax scene rules
Which of the following is a function?
Turtle
45
TurnTo
Right
What is an object in Codemonkey?
Action in a program
Anything we interact with in a scene
Rules for a language
Element that expresses action
Which of the following is a correct statement?
Right Step
Step.TurnTo
Turn 90
Turtle.Walk
What is Syntax?
Element that expresses action
Input added to a function
Anything we interact with in a scene
Rules for how a language is written
What is a Simple Loop?
A loop
A nested loop dependent on first line
A loop that repeats till done
A sequence of instructions that repeats a specified number of times
Which of the following is the correct way to write a loop?
3.time->
3.times ->
3 times
3.times loop
What is a Variable
A storage unit of data used when needed
Name of code
A simple loop
A return value
What does debugging mean?
Exterminating bugs
Running an algorithm
Fixing code that has an error
Programming a new coding language
What is an array?
A group of objects that share a common name
An individual object
An object interacted with in a scene
Name of an identifier in a variable
What is an element?
Name of variable
Anything we interact with in a scene
An individual object in the array
A simple loop
What does psuedo-code mean?
Coding languages such as Java and Python
Real code
Not real code, but instructions that any coder can understand
Syntax
What is iteration?
When the code repeats an action for every element of a collection
A step by step set of operations to be performed
Rules for the language
An element that expresses action to be carried out
What is a Nested Loop?
A loop inside a loop
A sequence of instructions that repeats
A repeat of instructions
A loop that repeats 3 times
Look at the following statement.
step 10
What is the function in the statement?
monkey
step
10
Look at the code below. Which of the items is a value?
d = 20
step d
turn right
d
20
step
right
What coding language have we been using to solve codemonkey levels?
Python
HTML
Java
Coffeescript
What is an algorithm?
Lines of code
Fixing a problem with the code
Monkey
Iteration
What does it mean to define a function?
Dialing the phone number provided by the specific code.
Looking up the name of a function in a dictionary.
Using it in our code for the computer to execute, specifically in the main code.
Writing the set of statements that tell the computer what to do when it is called.
What is the # symbol used for in coding?
To make a hashtag
To write comments that don't interfere with the code
To define a function
To make the monkey dance
What is a function?
A set of instructions that performs a specific task.
A set of elements in an array.
A set of objects and their targets in CodeMonkey.
A set of keyboard shortcuts to use in CoffeeScript.
