Basic JavaScript

Basic JavaScript

Professional Development

15 Qs

quiz-placeholder

Similar activities

Design Thinking - Quiz

Design Thinking - Quiz

Professional Development

15 Qs

Post Test Pendampingan Guru Kreator

Post Test Pendampingan Guru Kreator

Professional Development

20 Qs

Project Procurement Management

Project Procurement Management

Professional Development

20 Qs

Noom | Day 3 - Enrollment

Noom | Day 3 - Enrollment

Professional Development

16 Qs

Anime 99

Anime 99

9th Grade - Professional Development

13 Qs

Redmi Note 10 Series

Redmi Note 10 Series

Professional Development

12 Qs

PTS & PSM Integrity Amazing Race Quiz

PTS & PSM Integrity Amazing Race Quiz

Professional Development

10 Qs

Complete Recovery  EQ DAY 2

Complete Recovery EQ DAY 2

Professional Development

10 Qs

Basic JavaScript

Basic JavaScript

Assessment

Quiz

Professional Development

Professional Development

Hard

Created by

Daniel Adesoji

Used 17+ 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.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to declare a variable in JavaScript?

variable = 10;

const variable = 10;

variable := 10;

variable == 10;

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the following expression: 5 + "5";

10

"55"

Nan

Error

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to display a message in the browser's console

console.print()

log()

print()

console.log()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to create a function in JavaScript?

function = myFunction() {}

function myFunction() {}

let myFunction() {}

function myFunction: {}

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following code?

10

5

undefined

Error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to create an array in JavaScript?

array = [1, 2, 3];

array(1, 2, 3);

array = {1, 2, 3};

array = (1, 2, 3)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the expression true && false

true

false

undefined

Error

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?