JavaScript

Quiz
•
Computers
•
Professional Development
•
Medium
Iris Smok
Used 4+ times
FREE Resource
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(){ };
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
IT ENGLISH: Technical Terminology - ActiveX

Quiz
•
Professional Development
6 questions
Turma 50

Quiz
•
Professional Development
10 questions
Python Basics

Quiz
•
Professional Development
10 questions
MEGASYSTEM - TECH

Quiz
•
Professional Development
15 questions
Js объекты

Quiz
•
Professional Development
8 questions
GO4 x FE23! Quiz Zerius Day 3

Quiz
•
Professional Development
15 questions
Chapter 3 - Quiz Berhadiah

Quiz
•
Professional Development
10 questions
Módulo 2

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
Discover more resources for Computers
11 questions
All about me

Quiz
•
Professional Development
10 questions
How to Email your Teacher

Quiz
•
Professional Development
5 questions
Setting goals for the year

Quiz
•
Professional Development
14 questions
2019 Logos

Quiz
•
Professional Development
6 questions
GUM Chart Scavenger Hunt

Quiz
•
Professional Development
8 questions
Understanding Government: Limited and Unlimited

Quiz
•
Professional Development
20 questions
tape measure

Quiz
•
Professional Development
24 questions
Street Signs

Quiz
•
9th Grade - Professio...