JavaScript
Quiz
•
Computers
•
Professional Development
•
Practice Problem
•
Medium
Iris Smok
Used 4+ times
FREE Resource
Enhance your content in a minute
11 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
How do you write "Hello W3docs" in an alert box?
alertBox("Hello W3docs");
msg("Hello W3docs");
alert("Hello W3docs");
modal("Hello W3docs")
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A variable in JavaScript declared with which of the following keyword?
new
int
str
var
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct JavaScript syntax to change the content of the HTML element below?
document.getElementById("demo").innerHTML = "Hello World!";
document.getElement("p").innerHTML = "Hello World!";
document.getElementByName("p").innerHTML = "Hello World!";
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a JavaScript object?
var obj = {};
var obj = { name: "Steve"};
var obj = { name = "Steve"};
var obj = new Object();
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is null in JavaScript?
Null means empty string value
Null means absence of a value
Null means unknown value
Null means zero value
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid JavaScript function?
var myFunc = function myFun { };
myFunc function(){ };
function myFunc(){ };
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
Prova de Ciência da Computação
Quiz
•
Professional Development
10 questions
Linux
Quiz
•
Professional Development
15 questions
Kodlama ve Bilişim
Quiz
•
Professional Development
12 questions
DECI - Week 5 - Time Machine
Quiz
•
Professional Development
16 questions
Sains Komputer Tingkatan 4 - 1.6.3 Membezakan antara
Quiz
•
1st Grade - Professio...
12 questions
Python8
Quiz
•
Professional Development
11 questions
JavaScript
Quiz
•
Professional Development
13 questions
Cycle 4: Session 9 Review.
Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...
