
saldeee
Authored by hope salde
Computers
10th Grade
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Inside which HTML element do we put the JavaScript?
<js>
<script>
<javascript>
<scripting>
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.getElemntByld("demo").innerHTML="hello world!";
document.getElementByName("p").innerHTML="hello world!";
#demo.innerHTML="hello world!";
document.getElemenr("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
What is the correct syntax for referring to an external script called "xxx.js"?
<script name="xxx.js">
<script href="xxx.js">
<script src="xxx.js">
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you write "Hello World" in an alert box?
msg("hello world");
alertBox("hello world");
msgBox("hello world");
alert("hello world");
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 do you round the number 7.25, to the nearest integer?
rnd(7.25)
round(7.25)
Math.rnd(7.25)
Math.round(7.25)
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?
Similar Resources on Wayground
10 questions
Avaliação 1T - JavaScript
Quiz
•
9th - 12th Grade
10 questions
Bits, bytes e como o computador funciona (1)
Quiz
•
10th Grade
13 questions
Modo Papel - PC - Aula 1 e 2 - 1º Ano
Quiz
•
10th Grade
10 questions
แบบทดสอบ
Quiz
•
10th - 11th Grade
10 questions
Java Quiz 1: Introduction
Quiz
•
6th - 12th Grade
10 questions
PF Unit 10
Quiz
•
9th Grade - University
9 questions
Test Excel
Quiz
•
10th - 12th Grade
11 questions
C Language
Quiz
•
10th Grade - University
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade