
tle quiz
Quiz
•
Computers
•
10th Grade
•
Medium

Bernard Sausa
Used 4+ times
FREE Resource
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//
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
Web + Wordpress
Quiz
•
6th - 12th Grade
13 questions
html-form elemanları
Quiz
•
9th - 12th Grade
15 questions
HTML teszt
Quiz
•
7th - 12th Grade
10 questions
BÀI 8. SẮP XẾP VÀ LỌC DỮ LIỆU
Quiz
•
1st - 12th Grade
15 questions
Comkrumilk
Quiz
•
10th - 12th Grade
10 questions
Validación de Datos
Quiz
•
10th Grade
14 questions
BÀI 14- THUẬT TOÁN TÌM KIẾM TUẦN TỰ
Quiz
•
6th Grade - University
12 questions
Quizz Internet
Quiz
•
KG - Professional Dev...
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade