Using JavaScript and JSON in Django (Курс 4)

Quiz
•
Special Education
•
University
•
Hard
Rau Kk
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Where does the following JavaScript code execute?
<p>One Paragraph</p>
<script type="text/javascript">
document.write("<p>Hello World</p>")
</script>
<p>Second Paragraph</p>
In the browser
On the server
In the cloud
Locally on the user's desktop application
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when JavaScript runs the alert() function?
JavaScript execution is paused and a dialog box pops up
The page reloads
A new tab opens with the alert message
JavaScript execution stops permanently
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a way to include JavaScript in an HTML document?
By including the code the <?javascript and ?> tags
Inside a <script> tag
External file referenced with <script src="...">
Inline with an HTML element's event attribute
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the following code, what does the "return false" accomplish?
<a href="js-01.htm" onclick="alert('Hi'); return false;">Click Me</a>
It keeps the browser from following the href attribute when "Click Me" is clicked
It deletes the hyperlink after clicking
It sends a false value to the server
It hides the hyperlink
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens in a normal end user's browser when there is a JavaScript error?
Nothing except perhaps a small red error icon that is barely noticeable
The browser crashes
The webpage turns black
All JavaScript on the page stops executing
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Where can a developer find which line in a web page of JavaScript file is causing a syntax error?
In the developer console in the browser
In the status bar of the browser
In the JavaScript settings menu
In the page's source code view
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following JavaScript do?
console.log("This is a message");
Puts the message in the browser developer console and continues JavaScript execution
Sends a message to the server
Displays a popup window with the message
Saves the message into a log file
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Post Test Praktikum EKG

Quiz
•
University
10 questions
Quiz IT DAYS HMJ TK

Quiz
•
University
11 questions
Төрсний дараах үжил халдвар, урьдчилан сэргийлэлт

Quiz
•
University
10 questions
RSPS

Quiz
•
University - Professi...
15 questions
MBSD QUIZ TEST

Quiz
•
University - Professi...
15 questions
UAS Genap Keperawatan Perioperatif Akper BWH

Quiz
•
University
17 questions
Functions

Quiz
•
10th Grade - University
10 questions
Kobiton - KSL Sharing

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

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

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Special Education
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University