You name these things x, y, a, b, etc.
What are variables?
In Python, this is the keyword used to display a message in the console.
What is print()?
This statement is used to determine whether the following code should run or not.
What is an if/if-else statement/conditional?
When there is an error because a ; was missing at the end of a statement.
What is a syntax error?
The formal name for loops in Java.
What is an array?
What is a conditional?
You may use a number as the first character when naming a variable.
False
The value of x:
var x = 5;
for(i=0; i<3; i++){
x += 1;
}
8
When a variable was intended to return 5 * 2 but instead returned 5 + 2.
What is a logic error?
The name of three primitive types.
What are int, double/float, boolean?
Another name for a procedure.
What is a function?
The characters used to compare two values in a conditional statement.
What is ==, >=, <=, >, <?
The range of a random number between 0 and 10 is determined in Java.
Math.random() * 10;
When an error occurs when a number is divided by zero, or when a negative index of a list is referenced.
What is a run-time error?
A coding language that is not taught in Oakdale.
What are C++, C#, R, etc.
Another name for class instances. (Java)
What are objects?
In HTML, this tag is used to create a hyperlink to another webpage.
What is the <a> tag?
The value of t and s:
app.counter = 0;
t = 5;
s = 1;
while app.counter < 2:
s += 1;
t -= 1;
app.counter += 1;
What is 3 and 3?
The type of error presented:
x = 3;
if x > 5:
x++;
Ese:
x--;
What is a syntax error?
The names of three teachers who teach computer-related classes in Oakdale.
Corpora, Ranallo, Trigger, Dobbin, etc.
Another name for an object's attributes.
In Python, this phrase is used to allow the compiler to use random numbers.
What is import random?
The HTML formatted version of:
Hi there
My name is
Bob
<p> Hi there </p>
<p>My name is</p>
<p>Bob</p>
The type of error presented:
var x = 10;
var y = 20;
function sumOfNums(num1, num2){
return num1 * num2;
}
console.log(sumOfNums(x, y));
What is a logic error?
The name of the person directly behind you.
Now you know.