Javascript Basics

Javascript Basics

Professional Development

25 Qs

quiz-placeholder

Similar activities

JavaScript

JavaScript

Professional Development

20 Qs

Web Application Security Testing-PreTest

Web Application Security Testing-PreTest

Professional Development

20 Qs

NumPy Quiz

NumPy Quiz

Professional Development

21 Qs

Nest JS - Parte 01

Nest JS - Parte 01

Professional Development

20 Qs

Tout savoir sur WINDOWS Quizz 1

Tout savoir sur WINDOWS Quizz 1

Professional Development

20 Qs

Básico de JS

Básico de JS

Professional Development

21 Qs

ข้อสอบกลางภาควิชาเทคโนโลยี 3 ม.5

ข้อสอบกลางภาควิชาเทคโนโลยี 3 ม.5

Professional Development

20 Qs

3rd day revision ict training(3rd phase)

3rd day revision ict training(3rd phase)

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?