tle quiz

tle quiz

10th Grade

10 Qs

quiz-placeholder

Similar activities

Prodas 1

Prodas 1

10th Grade

15 Qs

Module 21 - Local Area Networking 1

Module 21 - Local Area Networking 1

9th - 12th Grade

15 Qs

Измерение информации

Измерение информации

8th - 10th Grade

9 Qs

Perangkat Lunak ( Software )

Perangkat Lunak ( Software )

10th - 12th Grade

10 Qs

K10-BAI4-9

K10-BAI4-9

10th - 12th Grade

10 Qs

AutoCAD w Brzesku \m/

AutoCAD w Brzesku \m/

1st - 12th Grade

10 Qs

Bài 22-Kiểu dữ liệu danh sách

Bài 22-Kiểu dữ liệu danh sách

10th Grade

15 Qs

Bài tập: Bài toán và thuật toán

Bài tập: Bài toán và thuật toán

10th Grade

11 Qs

tle quiz

tle quiz

Assessment

Quiz

Computers

10th Grade

Practice Problem

Medium

Created by

Bernard Sausa

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Inside which HTML element do we put the JavaScript?

<js>

<javascript>

<scripting>

<script>  

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct JavaScript syntax to change the content of the HTML element below?<p id="demo">This is a demonstration.</p>

document.getElementById("demo").innerHTML = "Hello World!";  

document.getElement("p").innerHTML = "Hello World!";

#demo.innerHTML = "Hello World!";

document.getElementByName("p").innerHTML = "Hello World!";

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where is the correct place to insert a JavaScript?

Both the <head> section and the <body> section are correct  

The <head> section

The <body> section

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The external JavaScript file must contain the <script> tag.

false

true

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a function in JavaScript?

function = myFunction()

function myFunction()  

function:myFunction()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you add a comment in a JavaScript?

'This is a comment

//This is a comment  

<!--This is a comment-->

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How to insert a comment that has more than one line?

<!--This comment hasmore than one line-->

/*This comment hasmore than one line*/  

//This comment hasmore than one line//

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?