
JavaScript in HTML Test 1 Review
Quiz
•
Computers
•
12th Grade
•
Medium
Cynthia Harrison
Used 5+ times
FREE Resource
Enhance your content in a minute
45 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Imagine you're developing a website and you encounter an unexpected behavior. You decide to use the console. What would be the purpose of using the console?
A function that allows programmers to input values into a pop-up window.
A tag that allows programmers to write JavaScript code in HTML files.
A debugging tool created by Web Browsers.
A function that allows programmers to create a pop-up message.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You are a webpage developer and you are using the console.log() function. What does it do?
allows programmers to create a pop-up message.
allows programmers to input values into a pop-up window.
allows programmers to write JavaScript code in HTML files.
allows programmers to output messages to the console.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Define alert()?
A function that allows programmers to output messages to the console.
A function that allows programmers to input values into a pop-up window.
A debugging tool created by Web Browsers.
A function that allows programmers to create a pop-up message.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the prompt() function do?
A function that allows programmers to create a pop-up message.
A function that allows programmers to output messages to the console.
A debugging tool created by Web Browsers.
A function that allows programmers to input values into a pop-up window.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the Document Object Model (DOM)?
A type of web browser
A programming interface that makes HTML files mutable by other programming languages
A database system
A web server
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'document' represent in the DOM?
A text file
A CSS stylesheet
Any web page loaded in the browser
A JavaScript function
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does a 'Node' represent in the DOM tree?
A connection between web pages
A programming language
An attribute like text and style
An element with attributes like text and style
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
40 questions
Assessment AIJ Filadelfia
Quiz
•
12th Grade
40 questions
Próbny INF.03 2022
Quiz
•
12th Grade
50 questions
Solon Microsoft Excel Quiz
Quiz
•
9th - 12th Grade
50 questions
Application Software Quiz
Quiz
•
12th Grade - University
40 questions
Media and Information Literacy Review Long Quiz
Quiz
•
12th Grade
50 questions
Journalistsic Integrity and Ethics
Quiz
•
9th - 12th Grade
40 questions
PAS ASJ KELAS XII TKJ A
Quiz
•
12th Grade
50 questions
XIRPL2_PASQUIZZ
Quiz
•
1st Grade - Professio...
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
