JavaScript Fundamentals Quiz

JavaScript Fundamentals Quiz

Professional Development

29 Qs

quiz-placeholder

Similar activities

Python 104

Python 104

Professional Development

24 Qs

1101 Day 1 - 4

1101 Day 1 - 4

Professional Development

32 Qs

Chapter-1- Introduction to Web Development

Chapter-1- Introduction to Web Development

Professional Development

25 Qs

Quiz de JavaScript Básico

Quiz de JavaScript Básico

Professional Development

25 Qs

HyQuizz - Mùa 3 - Day 3

HyQuizz - Mùa 3 - Day 3

Professional Development

25 Qs

Quiz sobre Linguagens de Programação

Quiz sobre Linguagens de Programação

Professional Development

30 Qs

Quiz 4: Java Syntax

Quiz 4: Java Syntax

Professional Development

25 Qs

BTUI'24 - Inter-school ICT Quiz - Preliminary Round

BTUI'24 - Inter-school ICT Quiz - Preliminary Round

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?