
JavaScript
Authored by Cindy Scott
Computers
9th - 12th Grade
Used 484+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
29 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Programming and scripting languages are translated into this machine-readable form.
Syntax
Binary Code
Compiler
Operator
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A string;
Expresses a true false statement
can contain letters, numbers, spaces, and symbols.
takes in an input, does something with it, and then returns an output.
Runs a boolean (true/false) statement based on data entered
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What surrounds a string?
Quotations
Curly Brackets
Parenthesis
Square Brackets
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why do we write functions?
Make our code easier to understand
Avoid writing repeated code
Make our code reusable
All of these
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Is JavaScript exactly the same as Java?
No
Yes
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement will call a function animate every 50 milliseconds?
setTimer(animate, 50);
setTimer(animate(), 50);
for(var i = 0; i < 50; i++){
animate();
}
animate();
}
timer.animate(50);
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To add a rectangle named rect to the screen, which command do you need to give?
add(rect);
new(rect);
put(rect);
rect();
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?