// is a...
Wat symbol is used to end a statement in JavaScript?
Semicolon ();
If Karel is facing east, which way would you turn him in order to face north?
turnLeft( );
Is a writing style where multiple words are joined together without spaces, and the first letter of each subsequent word is capitalized.
Daily Double
Camel Case
The difference between the for loop and the while loop is this.
What is "the for loop is a definite loop and the while loop is an indefinite loop"?
This something that is ignored by the computer and is usually written as why you did what you did or a set of instructions...
A programming construct that allows programs to choose between different options.
Executes one set of code if a specified condition is met (TRUE) or another set of code evaluates to FALSE.
If statements
Can be used to make multiple decisions. If this condition is true it will execute the code, or else do this thing instead".
If/Else statements
What keyword starts a conditional statement?
What is an "if"
Which one is written correctly?
while (BallsPresent)) {
while (Ballspresent( ) {
while (ballsPresent( ) ) {
While (ballsPresent)) {
while (ballsPresent( ) ) {
Which one is written correctly?
for (Let i = 0; i < 3; i+)
for (let i = 0; i > i++)
for (let i = 0; 1 < 3; i++)
for (let i = 0; i > 3; i++)
for (let i = 0; i > 3; i++)
A way to repeat code in your program.
Loop
Are used to repeat commands a specific number of times.
For Loop
What symbol shows a loop incredmenting by 1?
++
Which one is written correctly?
(if (ColorIs(color.green))
if(colorIs(Color.green))
if(Coloris(color.Green))
if (ColorIs(Color.Green))
if(colorIs(Color.green))
___________ is the visual structure of how your code is laid out. It uses tabs to organize code into a hierarchy.
Indentation
A symbol or container that holds a value.
Variable
This lets you ask a question to the program and only run code if the answer is true.
If Statement
What keyword is used to define a function in JavaScript?
Function
A ______________ is like a command that you get to invent and name. It allows us to break our program into smaller parts, making the program easier to understand.
When you fix a problem in the code...
What is debugging?
A control flow tool used as a second condition check after an if statement.
Elif
Will keep repeating as long as the condition remains true.
for a BONUS 500 points, write it out...
While loop
while (condition) {
What is JavaScript mainly used for in web development?
To add functionality or to add interactivity to web pages.