WorksheetsCodeHS Animation Quiz
Total questions: 20
Worksheet time: 10mins
Which symbol represents and in JavaScript?
&&
!
==
||
Which symbol represents or in JavaScript?
||
&&
>
!
What means that two values are equal in Boolean?
++
==
=
>=
Which means is not equal?
=!
||
!=
++!
Which returns a random number between 1 and 55?
randomInt(1, 55)
randInt(1, 55)
Randomizer.int(1, 55)
Randomizer.netInt(1, 55)
Which statement will end a loop?
break
else
if
if else
When we are done with a line what do we put at the end?
a colon :
a semi-colon ;
a period .
a quotation mark "
What is a variable
Store values in containers so we can use them later.
Store values in containers so we can use them never.
Store values in containers so we can use them once.
Store values in containers so we can't use them later.
A short form writing the word variable is
rav
VAR
var
varia
What is the symbol used for the INCREMENT operator in JS?
+
++
=
==
Conditions return values of which data type?
Integer
boolean
floating-point
string
This loop can only be used when the programmer knows the number of times a code is to be repeated
while
for
do while
repeat until
What is a "bug" in programming?
an error in code
finding and fixing errors in coding
a network
a broken computer
Why do we use if/else statements in Java?
To repeat something for a fixed number of times
To either do something if a condition is true or do something else
To break out of some block of code
To repeat something while a condition is true
sets the number of milliseconds something will be drawn or executed
setTimer
variable
constant
increment
A variable that is before the lines of code and that allow many functions within the program to reference
global variable
constant
variable
function
ballX - radius
Left side of the ball
right side of the ball
bottom of the ball
top of the ball
A method that gets called by your program in response to some event
callback function
constant
if/else statement
for loop
What statement can we use inside of a loop to end it?
break
end
if statement
timer
