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
let
Displays a pop up information box
Number()
tag used to write javascript in an html webpage
alert()
Converts text to a number
<script> tag
the starting keyword to create a variable
prompt()
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
12 questions
บทที่6การใช้เทคโนโลยีสารสนเทศอย่างรู้เท่าทัน

Quiz
•
9th Grade
13 questions
Guess the Video Game Pets 1

Quiz
•
KG - Professional Dev...
10 questions
Instalasi Komputer

Quiz
•
1st - 10th Grade
14 questions
Python Basics - Year 8

Quiz
•
7th - 9th Grade
10 questions
Trắc nghiệm Tin học 8 - Bài 3

Quiz
•
1st - 12th Grade
10 questions

Quiz
•
8th - 10th Grade
6 questions
Организация ввода и вывода данных в Паскаль

Quiz
•
9th Grade
11 questions
CSS9_Q3M3L1_QUIZ5

Quiz
•
9th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

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

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade