JavaScript Functions and Variables
Quiz
•
Computers
•
8th Grade
•
Practice Problem
•
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
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade