JS Basics Quiz

JS Basics Quiz

8th Grade

15 Qs

quiz-placeholder

Similar activities

Five Nights At Freddy's: Security Breach Quiz

Five Nights At Freddy's: Security Breach Quiz

KG - Professional Development

13 Qs

topologies

topologies

7th - 8th Grade

13 Qs

ÔN TẬP TIN 8 GIỮA KÌ 2

ÔN TẬP TIN 8 GIỮA KÌ 2

8th Grade

13 Qs

For loop

For loop

8th Grade

10 Qs

L4 Homework

L4 Homework

8th Grade

20 Qs

THE PHOTOSHOP WINDOW

THE PHOTOSHOP WINDOW

7th - 8th Grade

10 Qs

Google

Google

7th - 12th Grade

20 Qs

M1_Final_Quiz1_2017

M1_Final_Quiz1_2017

7th - 8th Grade

20 Qs

JS Basics Quiz

JS Basics Quiz

Assessment

Quiz

Computers

8th Grade

Practice Problem

Medium

Created by

Michael Garcia

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...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What's the data type for the phoneNumber variable?

Quel est le type de données pour la variable de numéro de téléphone?

String

Number

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What's the data type for the ageInput variable?

Quel est le type de données de la variable ageInput?

String

Number

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable in JavaScript?

A section of the document

A type of JavaScript data

A container for storing data values

A command that performs a specific action

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a valid variable name in JavaScript?

_myVar

2ndVar

$myVar

myVar123

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you declare a variable in JavaScript?

var myVariable;

variable myVariable;

v myVariable;

declare myVariable;

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following data types is NOT supported in JavaScript?

String

Number

Character

Boolean

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following code snippet? ```javascript var x = 10; var y = "20"; var z = x + y; ```

30

"1020"

"30"

1020

Create a free account and access millions of resources

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?

Discover more resources for Computers