Javascript Basics

Javascript Basics

Professional Development

25 Qs

quiz-placeholder

Similar activities

Javascript Fundamental Practice

Javascript Fundamental Practice

Professional Development

20 Qs

AI Selection Test

AI Selection Test

Professional Development

29 Qs

Básico de JS

Básico de JS

Professional Development

21 Qs

Python_2R

Python_2R

KG - Professional Development

20 Qs

fundamentos de javascript

fundamentos de javascript

Professional Development

25 Qs

JavaScript

JavaScript

Professional Development

20 Qs

Beamery JavaScript Pub Quiz

Beamery JavaScript Pub Quiz

Professional Development

20 Qs

Chapter 5 : JavaScript Objects & Arrays

Chapter 5 : JavaScript Objects & Arrays

Professional Development

20 Qs

Javascript Basics

Javascript Basics

Assessment

Quiz

Computers

Professional Development

Medium

Created by

Niel Neri

Used 2+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a primitive data type in JavaScript?

String

Boolean

Array

Number

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What keyword is used to declare a variable in JavaScript?

var

let

const

All of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will the following code output?

console.log(5 + "5");

55

10

"55"

Error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How would you access the 3rd element in an array named myArray?

myArray(2)

myArray[2]

myArray(3)

myArray.3

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to parse a string into an integer in JavaScript?

parseInt()

stringToInt()

parseInteger()

toInteger()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the `===` operator do in JavaScript?

Checks for equality, but not type

Checks for equality, including type

Assigns a value to a variable

Compares two values, ignoring type

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will the following code snippet output?

console.log(3 + 2 + "7");

"57"

"327"

"12"

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?