Javascript Basics

Javascript Basics

Professional Development

25 Qs

quiz-placeholder

Similar activities

Basic Skill Test

Basic Skill Test

11th Grade - Professional Development

20 Qs

Know your basics in C?

Know your basics in C?

Professional Development

20 Qs

Jadi Programmer | Kampung Koding

Jadi Programmer | Kampung Koding

10th Grade - Professional Development

20 Qs

unit-4 test-2

unit-4 test-2

Professional Development

20 Qs

2º-DAM-Evaluación Inicial-HLC

2º-DAM-Evaluación Inicial-HLC

Professional Development

20 Qs

Computer Basics

Computer Basics

11th Grade - Professional Development

20 Qs

Mobile and Operating Systems

Mobile and Operating Systems

Professional Development

20 Qs

Arrays

Arrays

4th Grade - Professional Development

20 Qs

Javascript Basics

Javascript Basics

Assessment

Quiz

Computers

Professional Development

Practice Problem

Medium

Created by

Niel Neri

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?