JavaScript Fundamentals Quiz

JavaScript Fundamentals Quiz

Professional Development

29 Qs

quiz-placeholder

Similar activities

Web Security & SDLC

Web Security & SDLC

Professional Development

25 Qs

Cybersecurity Scenarios Quiz

Cybersecurity Scenarios Quiz

Professional Development

25 Qs

Information Management Midterm Exam

Information Management Midterm Exam

Professional Development

30 Qs

Terraform Day 3 Accenture

Terraform Day 3 Accenture

Professional Development

24 Qs

SpringBoot Day1,day2

SpringBoot Day1,day2

Professional Development

25 Qs

IF30313 PTI QUIZ Course 4

IF30313 PTI QUIZ Course 4

Professional Development

30 Qs

Securing Devices and Data

Securing Devices and Data

Professional Development

30 Qs

Introduction To Power Projects

Introduction To Power Projects

Professional Development

30 Qs

JavaScript Fundamentals Quiz

JavaScript Fundamentals Quiz

Assessment

Quiz

Information Technology (IT)

Professional Development

Easy

Created by

Techtorial Academy

Used 1+ times

FREE Resource

29 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the 'let' keyword in JavaScript?

To declare a function

To declare a variable with global scope

To declare a constant variable

To declare a variable with block scope

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a reserved word in JavaScript?

function

variable

constant

define

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the camelCase convention refer to?

Using all uppercase letters

Capitalizing the first letter of each word except the first

Using underscores between words

Writing variables with spaces

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used for exponentiation in JavaScript?

^^

exp

^

**

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of 'typeof null' in JavaScript?

'object'

'boolean'

'null'

'undefined'

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method converts a string to an integer in JavaScript?

String

parseFloat

Number

parseInt

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between '==' and '===' in JavaScript?

'==' checks value only, '===' checks type only

'==' checks value and type, '===' checks value only

'==' checks type only, '===' checks value only

'==' checks value only, '===' checks value and type

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?