Basic JavaScript

Basic JavaScript

Professional Development

15 Qs

quiz-placeholder

Similar activities

Data Types and Variables

Data Types and Variables

Professional Development

10 Qs

TalentNext Test Day-13-Core Java Topics

TalentNext Test Day-13-Core Java Topics

Professional Development

10 Qs

Collections, JDBC/RDBMS

Collections, JDBC/RDBMS

Professional Development

10 Qs

JS Quiz

JS Quiz

Professional Development

14 Qs

Day 3 - Dom Manipulation

Day 3 - Dom Manipulation

Professional Development

20 Qs

Day 5 - Callbacks and Promises

Day 5 - Callbacks and Promises

Professional Development

20 Qs

Typescript Basics

Typescript Basics

Professional Development

20 Qs

Adv Java Quiz TalentNext

Adv Java Quiz TalentNext

Professional Development

10 Qs

Basic JavaScript

Basic JavaScript

Assessment

Quiz

Professional Development

Professional Development

Hard

Created by

Daniel Adesoji

Used 11+ times

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?