JS - Knowledge Check

JS - Knowledge Check

University

15 Qs

quiz-placeholder

Similar activities

HCI QUIZ #1 and #2

HCI QUIZ #1 and #2

University

15 Qs

Midterm Quiz # 1 - GEC 9

Midterm Quiz # 1 - GEC 9

University

15 Qs

INTERNET

INTERNET

University

20 Qs

1.1.1 The structure and function of the processor

1.1.1 The structure and function of the processor

11th Grade - University

15 Qs

Python MCQ

Python MCQ

University

20 Qs

WML & WAP

WML & WAP

University

20 Qs

LATIHAN SOAL PEMROGRAMAN

LATIHAN SOAL PEMROGRAMAN

9th Grade - University

15 Qs

Web quiz 1 - HTML/CSS

Web quiz 1 - HTML/CSS

University

20 Qs

JS - Knowledge Check

JS - Knowledge Check

Assessment

Passage

Computers

University

Practice Problem

Medium

Created by

John Oli

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 5 pts

Create a variable called carName, assign the value Volvo to it.

let ________ = "________"

2.

FILL IN THE BLANK QUESTION

1 min • 5 pts

Media Image

Fill in the Blank( See Picture )

Display the sum of 5 + 10, using two variables: x and y.

3.

FILL IN THE BLANK QUESTION

1 min • 5 pts

Media Image

Fill in the Blanks ( See Picture )

Create a variable called z, assign x + y to it, and display the result in an alert box.

4.

FILL IN THE BLANK QUESTION

2 mins • 5 pts

Media Image

Fill in the Blanks (See Picture)

On one single line, declare three variables with the following names and values:

firstName = "John"
lastName = "Doe"
age = 35

5.

FILL IN THE BLANK QUESTION

1 min • 5 pts

Media Image

Fill in the Blanks ( See Picture )

Make the function return "Hello".

6.

FILL IN THE BLANK QUESTION

1 min • 5 pts

Media Image

Fill in the Blanks ( See Picture )

Create a function called "myFunction".

7.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

What is the correct JavaScript syntax to change the content of the HTML element below?

<p id="demo">This is a demonstration.</p>

document.getElementByName("p").innerHTML = "Hello World!";

#demo.innerHTML = "Hello World!";

document.getElementById("demo").innerHTML = "Hello World!";

document.getElement("p").innerHTML = "Hello World!";

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?

Discover more resources for Computers