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
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade