Which of these can be used to create a variable in JavaScript?

DAY 5

Quiz
•
Information Technology (IT)
•
8th Grade
•
Hard
Jordan Campbell
FREE Resource
6 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
A) const
B) banana
C) var
D) let
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when you use onclick in JavaScript?
A) The webpage opens a door
B) Something happens when you click on something
C) The computer makes a sound
D) The mouse changes color
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does addEventListener do in JavaScript?
A) It listens to music
B) It listens for actions like clicks or key presses
C) It adds headphones to the webpage
D) It calls your friend
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does a forEach loop do?
A) It runs the same thing for every item in a list
B) It makes popcorn
C) It only works once
D) It makes a rainbow
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does ++ do to a number in JavaScript?
A) It turns it into a letter
B) It makes the number smaller
C) It adds 1 to the number
D) It turns it into zero
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does .length tell you in JavaScript?
A) How tall your computer is
B) The number of letters, items, or spaces in something
C) How loud the sound is
D) The color of the web page
Similar Resources on Wayground
7 questions
Informatika (Scratch)

Quiz
•
7th Grade - University
9 questions
1.3.1 Standard Measure

Quiz
•
6th - 8th Grade
10 questions
มัลติมีเดีย 2

Quiz
•
6th Grade - University
10 questions
Scratch - základy

Quiz
•
6th Grade - University
10 questions
Exploring JavaScript and HTML5

Quiz
•
8th Grade
10 questions
WEB L7

Quiz
•
6th - 8th Grade
10 questions
Введение в профессию веб-программист

Quiz
•
6th - 8th Grade
10 questions
Ulangan BAB 5 Kelas 8

Quiz
•
8th Grade
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade