Javascript Quiz 1

Quiz
•
Computers
•
9th Grade
•
Medium
Portia Morrell
Used 26+ times
FREE Resource
9 questions
Show all answers
1.
MATCH QUESTION
1 min • 5 pts
Match the command to the right definition
Gets user input
Number()
Converts text to a number
let
tag used to write javascript in an html webpage
alert()
the starting keyword to create a variable
prompt()
Displays a pop up information box
<script> tag
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
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is called when the button is pressed?
enterName()
lastName()
function
onclick
9.
OPEN ENDED QUESTION
3 mins • 1 pt
In your own words, what is a function?
Evaluate responses using AI:
OFF
Similar Resources on Wayground
10 questions
OTR09

Quiz
•
9th Grade
10 questions
JS Всплывающие окна alert prompt confirm

Quiz
•
9th Grade
10 questions
9-сынып. Python массив.

Quiz
•
1st - 9th Grade
10 questions
JavaScript: Condicionales - Repaso

Quiz
•
9th - 12th Grade
12 questions
Python Programming Basics

Quiz
•
7th - 11th Grade
10 questions
Microsoft Windows

Quiz
•
4th Grade - University
8 questions
Проверка Pascal

Quiz
•
9th - 12th Grade
10 questions
Telebort Program D: Intro to JavaScript

Quiz
•
6th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade