
DAY 5
Authored by Jordan Campbell
Information Technology (IT)
8th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
6 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of these can be used to create a variable in JavaScript?
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?