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
prompt()
Displays a pop up information box
alert()
the starting keyword to create a variable
<script> tag
Converts text to a number
Number()
tag used to write javascript in an html webpage
let
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
MOAC Word 2016 Lesson 1

Quiz
•
8th Grade - University
6 questions
1.4 Review, navigate, and edit a document

Quiz
•
8th Grade - University
10 questions
MOAC Word 2016 Lesson 09

Quiz
•
8th - 12th Grade
10 questions

Quiz
•
8th - 10th Grade
13 questions
Python Basics (Y9)

Quiz
•
8th - 10th Grade
10 questions
Introducción a JavaScript I

Quiz
•
9th Grade
9 questions
Programming with Karel

Quiz
•
9th - 12th Grade
9 questions
Unit 14 - Intro to JS in HTML

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
19 questions
Mental Health Vocabulary Pre-test

Quiz
•
9th Grade
14 questions
Points, Lines, Planes

Quiz
•
9th Grade