Javascript Basics

Javascript Basics

Professional Development

25 Qs

quiz-placeholder

Similar activities

js_edu_wrap_up

js_edu_wrap_up

1st Grade - Professional Development

20 Qs

Java Basics

Java Basics

Professional Development

25 Qs

Front End Forge Final

Front End Forge Final

Professional Development

25 Qs

Soal HTML, CSS, dan JavaScript Basic

Soal HTML, CSS, dan JavaScript Basic

Professional Development

20 Qs

JavaScript - Cuestionario de Repaso

JavaScript - Cuestionario de Repaso

Professional Development

20 Qs

Web Development Technical Skills

Web Development Technical Skills

Professional Development

20 Qs

JavaScript Advanced

JavaScript Advanced

Professional Development

20 Qs

Java Quiz

Java Quiz

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?