
Review - Programming in JavaScript
Authored by Amanda Silverman
Instructional Technology
8th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would be the correct way to call a function?
function printPig();
printPig
Print Pig ();
printPig();
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
console.log involves . . .
asking a question
printing a message
creating a function
calculating a math problem
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ask for a number
let number = readLine
let number = readInteger
let number = readInt
readInt
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What would be the correct way to define a function?
function create a fox
function createAFox()
createAFox();
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the difference between calling and defining a function?
Calling a function is when you give a function a name.
Defining a function is when you determine what is inside that function.
Defining a function is when you determine what a function does.
Calling a function is when you want to use a defined function in your program.
Calling a function is when you determine what a function does.
Defining a function is when you want to use a called function in your program.
6.
REORDER QUESTION
1 min • 1 pt
Reorder the following to print a message:
console
;
log
("My favorite marvel character is Spiderman.")
.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
stores information:
variables
javaScript
user input
functions
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?