
Web Design: intro to Javascript
Authored by Leng Kai Ooi
Other
10th - 12th Grade
Used 14+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A JavaScript file has an extension name of
.jp
.css
.html
.js
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Inside which HTML element do we put the JavaScript?
<jscript>
<script>
<javascript>
<scripting>
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Where is the correct place to insert a JavaScript?
The <head> section
Both the <head> section and the <body> section are correct
The <body> section
after the <body> section
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax for referring to an external script called "script.js"?
<script name="script.js">
<script href="script.js">
<script style="script.js">
<script src="script.js">
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main characteristic of a programming language that distinguishes it from a scripting language?
Only languages developed by Microsoft can be called "programming languages."
Programming languages are developed by private organizations whereas scripting languages are open-source.
Programming languages are object-based, whereas scripting languages are object-oriented.
Programming languages are compiled whereas scripting languages are interpreted.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
JavaScript is an example of which language model?
procedural
linear
object-oriented
event-driven
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What step should you take to ensure your JavaScript code runs as expected?
Make sure all users access your code from a specific browser.
Test your code in different browsers.
Test your code in Google Chrome.
Implement a function to download the latest Java runtime environment when necessary.
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?