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
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
MINERS Core Values Quiz
Quiz
•
8th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade