
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
45 questions
SAS INFORMATIKA IX SEMESTER 1
Quiz
•
9th Grade - University
50 questions
Python - 7.பைத்தான் செயற்கூறுகள்
Quiz
•
12th Grade
50 questions
Computer Hardware
Quiz
•
11th - 12th Grade
50 questions
HCI MIDTERM EXAMINATIONS
Quiz
•
12th Grade
40 questions
PRE TEST_OS_MIDTERMS
Quiz
•
12th Grade
40 questions
National 5 Computing Science - Revision 2
Quiz
•
10th - 12th Grade
50 questions
html
Quiz
•
12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
55 questions
CHS Holiday Trivia
Quiz
•
12th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
29 questions
christmas facts
Lesson
•
5th - 12th Grade
20 questions
Christmas Trivia
Quiz
•
5th - 12th Grade
20 questions
Stages of Meiosis
Quiz
•
9th - 12th Grade
