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
12 questions
Javascript Avanzado ft-22b Grupo 5
Quiz
•
Professional Development
10 questions
HTML Introduction
Quiz
•
3rd Grade - Professio...
15 questions
SEC+ Ch.6 Review Test
Quiz
•
Professional Development
16 questions
Trắc nghiệm kiểu xâu
Quiz
•
Professional Development
10 questions
Python Basics
Quiz
•
Professional Development
10 questions
PDS - 04225 Pointers & Dynamic Arrays - Chapter 8
Quiz
•
University - Professi...
15 questions
Day 1 PHP
Quiz
•
Professional Development
10 questions
Scanning Networks
Quiz
•
Professional Development
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
