JavaScript

JavaScript

Professional Development

11 Qs

quiz-placeholder

Similar activities

Java Fundamentals

Java Fundamentals

Professional Development

11 Qs

Java Programming RBVRRIT

Java Programming RBVRRIT

University - Professional Development

10 Qs

Pengenalan Android

Pengenalan Android

10th Grade - Professional Development

10 Qs

Data Analytics Basics

Data Analytics Basics

Professional Development

10 Qs

Javascript

Javascript

KG - Professional Development

13 Qs

Examen Parcial Teorico - Desarrollo móvil

Examen Parcial Teorico - Desarrollo móvil

Professional Development

10 Qs

Secuencia didactica 5 S2

Secuencia didactica 5 S2

Professional Development

10 Qs

everisCodeFest 2

everisCodeFest 2

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?