Search Header Logo

Web JavaScript

Authored by Gunawan Ariyanto

Computers

10th Grade - University

Used 19+ times

Web JavaScript
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 6 pts

What is the value of:

”41” + 1

42

“42”

411

“411”

2.

MULTIPLE CHOICE QUESTION

30 sec • 6 pts

What is the extension for a JavaScript file?

.java

.jar

.js

.sj

3.

MULTIPLE CHOICE QUESTION

30 sec • 6 pts

What is the name of the JavaScript standard?

JavaScript

ECMAScript

JS

PEP

4.

MULTIPLE CHOICE QUESTION

30 sec • 6 pts

Indicates the beginning  and the end of a JavaScript section.

<html> </html>
<style> </style>
<article> </article>
<script> </script>

5.

MULTIPLE CHOICE QUESTION

1 min • 6 pts

How do we generate a random number?

Math.random()
random.number()
number.random()
Random.math()

6.

MULTIPLE CHOICE QUESTION

30 sec • 6 pts

What is the correct syntax for referring to an external JavaScript script?

<script src="myscript.js"></script>

<script href="myscript.js"></script>

<js href="myscript.js"></js>

<js src="myscript.js"></js>

7.

MULTIPLE CHOICE QUESTION

30 sec • 6 pts

Which of these is a loop?

if(x<10)

while(x<10)

var x=10;

text(x,10;10)

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers