JavaScript Functions and Variables
Quiz
•
Computers
•
8th Grade
•
Hard
Vincent Maxwell
Used 7+ times
FREE Resource
Student preview

5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you correctly declare a string variable?
let name = "Test"
let name : "Test"
let known = Name
let known = `Test`
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What do you call the extra data passed to this function?
tiles.loadMap(tilemap`mainmap`)
3.
OPEN ENDED QUESTION
3 mins • 1 pt
What is the difference between properties and functions in JavaScript?
Evaluate responses using AI:
OFF
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which types of data can a variable NOT be?
Array
String
Integer
Function
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will console.log print on the screen?
let number = 10;
number = number + 5;
console.log(number);
10
105
15
5
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade