Web Design: intro to Javascript

Web Design: intro to Javascript

10th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Quiz 1

Quiz 1

11th Grade

10 Qs

TLE Q3 M1-M5

TLE Q3 M1-M5

10th Grade

10 Qs

Java P5 js

Java P5 js

10th Grade

15 Qs

Java Script Pro

Java Script Pro

3rd Grade - University

12 Qs

Javascript Básico

Javascript Básico

9th - 12th Grade

10 Qs

Входной тест

Входной тест

4th - 11th Grade

11 Qs

Pengenalan Javascript

Pengenalan Javascript

10th Grade

15 Qs

P5.js

P5.js

10th Grade

13 Qs

Web Design: intro to Javascript

Web Design: intro to Javascript

Assessment

Quiz

Other

10th - 12th Grade

Medium

Created by

Leng Kai Ooi

Used 14+ times

FREE Resource

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.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?