
U4L4 Photo Liker Exemplar Quiz
Authored by Rashad Davis
Computers
9th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the variable 'likes' initially store?
0
1
undefined
null
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'downButton' event?
Increase the likes by one
Decrease the likes by one
Reset the likes to zero
Toggle the likes
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What sound is played when the 'downButton' is clicked?
Sharp switch
Loud applause
Soft chime
Drum roll
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'upButton' event?
Increase the likes by one
Decrease the likes by one
Reset the likes to zero
Toggle the likes
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What sound is played when the 'upButton' is clicked?
Sharp switch
Loud applause
Soft chime
Drum roll
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'likeCounterOutput' text?
Display the number of likes
Display the number of dislikes
Display the total number of comments
Display the total number of views
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'comment' variable?
Store the number of likes
Store the number of dislikes
Store the comment text
Store the total number of comments
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?