
Javascript Quiz 1
Authored by Portia Morrell
Computers
9th Grade
Used 26+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
9 questions
Show all answers
1.
MATCH QUESTION
1 min • 5 pts
Match the command to the right definition
Displays a pop up information box
alert()
tag used to write javascript in an html webpage
prompt()
Gets user input
<script> tag
the starting keyword to create a variable
let
Converts text to a number
Number()
2.
DRAG AND DROP QUESTION
1 min • 3 pts
Complete the code to type in your favorite weather:
(a) (b) = (c) ("What is your favorite type of weather?")
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If I want to display a message as a pop up, what command should I use?
alert()
prompt()
document.writeln()
print()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If I want to display a message on the webpage, what command should I use?
alert()
prompt()
document.writeln()
print()
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Why doesn't this code work?
Check all that apply.
this program works just fine
there is no variable called name
you forgot to create the variable name
you forgot set the variable name to the value of the prompt()
6.
DROPDOWN QUESTION
1 min • 5 pts
Complete the code to display on the webpage:
let (a) = (b) ("What is your favorite animal?")
(c) ( (d) + (e) )
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used to activate/trigger the button to run the enterName function?
enterName()
button
onclick
function
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 Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Visual Basic 2010
Quiz
•
8th Grade - University
6 questions
The dream team
Quiz
•
5th Grade - Professio...
10 questions
Youtubers Charlie.C-J
Quiz
•
3rd - 9th Grade
10 questions
Women in Tech by Sisters of Code
Quiz
•
9th - 12th Grade
10 questions
Google Drive
Quiz
•
KG - University
14 questions
Maya 3D 2019 Interface
Quiz
•
9th Grade - University
14 questions
Windows
Quiz
•
1st - 12th Grade
14 questions
Python
Quiz
•
9th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade