JS Basics Quiz

JS Basics Quiz

8th Grade

15 Qs

quiz-placeholder

Similar activities

File Management 3 Quiz

File Management 3 Quiz

8th Grade

10 Qs

Robotic /coding exam

Robotic /coding exam

6th - 8th Grade

16 Qs

Internet

Internet

7th - 10th Grade

10 Qs

Microsoft Excel

Microsoft Excel

KG - Professional Development

20 Qs

kiểm tra tin 8

kiểm tra tin 8

8th Grade

20 Qs

Basic Docs

Basic Docs

8th - 9th Grade

17 Qs

ÔN TẬP HKII-02

ÔN TẬP HKII-02

8th Grade

15 Qs

Do you know alot about Roblox?

Do you know alot about Roblox?

2nd Grade - University

10 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

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?