JavaScript Variables and Data Types

JavaScript Variables and Data Types

11th Grade

20 Qs

quiz-placeholder

Similar activities

java script

java script

9th - 12th Grade

15 Qs

XIБ_Script

XIБ_Script

9th - 12th Grade

16 Qs

JavaScript Basics CodeHS

JavaScript Basics CodeHS

7th - 12th Grade

20 Qs

JavaScript Math

JavaScript Math

9th - 11th Grade

20 Qs

Javascript Quiz 1

Javascript Quiz 1

9th - 12th Grade

15 Qs

Do Now Lesson 2

Do Now Lesson 2

9th - 12th Grade

15 Qs

AP CSP 2020 Midterm Review

AP CSP 2020 Midterm Review

10th - 12th Grade

16 Qs

Javascript Basics

Javascript Basics

7th Grade - University

24 Qs

JavaScript Variables and Data Types

JavaScript Variables and Data Types

Assessment

Quiz

Computers

11th Grade

Medium

Created by

Nadine Cameron

Used 6+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the data type used to represent whole numbers in JavaScript?

Integer

Array

Boolean

String

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

Boolean

Object

String

Character

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you write JavaScript directly in a web browser?

Using the console tab in developer tools

Writing it in the URL bar

Creating a .js file and opening it

Sending it via email to yourself

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the Boolean data type represent?

Numbers

Lists

True/False conditions

Text

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What syntax is used to denote an array in JavaScript?

Angle brackets <>

Parentheses ()

Square brackets []

Curly braces {}

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type is used for decimal numbers in JavaScript?

Double

Decimal

Float

Integer

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is string concatenation in JavaScript?

Combining two arrays

Adding two numbers

Gluing two strings together

Converting a boolean to a string

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?