NEW
Font size
WorksheetsCODE.ORG FINAL
Total questions: 35
Worksheet time: 30mins
What are BOOLEANS?
A statements that only run under certain conditions.
A single value of either TRUE or FALSE
Any valid unit of code that resolves to a value
A collection of variable
Which of these is the correct way of naming variables?
width of a rectangle
4sides
4 sides of a rectangle
sizeOfRectangle
What are conditionals?
Statements that only run under certain conditions
Any valid unit of code that resolves to a value
An algorithm that has been coded into something that can be run by a machine
Part of a program that does not work correctly
What is a bug?
Part of a program that does not work correctly
a Hemipteron
Part of a program that does work correctly
Finding and fixing problems in an algorithm or program.
How do you add in a sprite?
drawSprites();
var sprite = createSprite(300, 100);
var mySprite = createSprite(300, 100)
drawSprites()
How do you set an Animation Sprite?
drawSprites();
coolSprite.setAnimation("bunny");
var coolSprite = createSprite(300,300);
var coolSprite = createSprite(300,300);
coolSprite.setAnimation(bunny);
drawSprites();
How do you make the plane move to the RIGHT?
What does "run" mean?
to make a code for a program
to make a program complete an algorithm
to make a website show up on your screen
to move at a speed faster than a walk, never having both or all the feet on the ground at the same time.
What does this code do?
move the fly to the right
move the fly to the left
move the fly up
move the fly down
Finding and fixing errors in a program.
debugging
bug
nested loop
event
How do you make the red gear rotate to the left ?
redGear.rotation = redGear.rotation + 1;
blueGear.rotation = redGear.rotation - 1
redGear.rotation = redGear.rotation - 1;
redGear.x = redGear.x- 1;
Which of the following is true regarding naming variables?
Function names can be reused multiple times
A function name should be as descriptive as possible to indicate what the function does.
Function names should be organized alphabetically
The function name should begin with a number that indicates the order in which it should be executed.
Why do we use functions in programs?
A. Make the program easier to read
B. Avoid retyping the same lines of code
C. Both A and B are correct
D. Neither A nor B are correct
What is not included in Code.org?
Cobing Practice
Minecraft
Game Programming
Flappy Bird
What is velocity in Code?
How fast an object is
How fast an object can turn
How far an object moves
How fast an object moves in a direction
¿Qué es un bucle?
Una declaración If o While
la velocidad a la que se muestran los cuadros en una animación, típicamente medida en cuadros por segundo
Una serie de codigos de salida.
Porque esta en español
What is Frame Rate or FPS?
Frames Per Sun
The rate that frames are shown
The rate that you build frames
The rate that code is typed
What is an Expression in code?
A variable
a look on someone's face that conveys a particular emotion
the process of making known one's thoughts or feelings
Any valid unit of code that resolves to a value
What is a Draw Loop?
A loop that draws the code inside of the function
A picture that is repeatedly drawn
A string of images drawn in a line
A function that draws a picture
True or False: Can there be a variable in real life?
True
False
A list of steps to finish a task.
Repeated
Algorithm
Guidelines
Getting help from a large group of people to finish something sooner.
Dell Computers
Programmers
Crowdsourcing
What is the difference between an If and While statement?
An If statement repeats code where a while statement stops code
An if statement only works if a certain variable is active where a while statement works while the value is active
An if statement works while the value is active where a while statement only works if a certain variable is active
There is no difference
Input is...
Information the computer gives to the user
Information one server sends to another server
Information a user gives to the computer
Output is...
Information the user gives to the computer
Information the computer gives to the user
Information the keyboard gives to the mouse
An action, or an event, that leads to the next ordered action in a specific order.
Pixels
Sequence
Conditionals
Algorithm
The action launched by any external input, such as clicking, touching, tabbing.
Pixels
Event
Conditionals
Algorithm
What is not a form of input?
A mouse movement or click
A key used on a keyboard
Printing a piece of paper
Clicking a touch screen
What does the random number block do?
Randomizes a piece of code
Creates random code
Randomly generates a number
True or False: A BOOLEAN is a conditional
False
True
What is a collision?
When a sprite is clicked
When 2 sprite's paths intersect
When a sprites code is finished
What is a sprite?
A soda brand
A image
A collection of values
A character
Whats the correct code for moving?
.move();
move;
move()
move();
