JavaScript

JavaScript

Professional Development

11 Qs

quiz-placeholder

Similar activities

Docs of Google!

Docs of Google!

Professional Development

10 Qs

C# Quiz

C# Quiz

Professional Development

10 Qs

Javascript Avanzado ft-22b Grupo 5

Javascript Avanzado ft-22b Grupo 5

Professional Development

12 Qs

Closing Quiz (Peretas)

Closing Quiz (Peretas)

Professional Development

10 Qs

Java Strings and lops

Java Strings and lops

Professional Development

10 Qs

SEC+ Ch.6 Review Test

SEC+ Ch.6 Review Test

Professional Development

15 Qs

Trắc nghiệm kiểu xâu

Trắc nghiệm kiểu xâu

Professional Development

16 Qs

PDS - 04225 Pointers & Dynamic Arrays - Chapter 8

PDS - 04225 Pointers & Dynamic Arrays - Chapter 8

University - Professional Development

10 Qs

JavaScript

JavaScript

Assessment

Quiz

Computers

Professional Development

Practice Problem

Medium

Created by

Iris Smok

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?