JS Basics Quiz

JS Basics Quiz

8th Grade

15 Qs

quiz-placeholder

Similar activities

DPS Jorhat - Robotics Skill Assessment

DPS Jorhat - Robotics Skill Assessment

6th - 8th Grade

20 Qs

Informatyka

Informatyka

1st - 8th Grade

18 Qs

Review Komputer Mid SMP (1)

Review Komputer Mid SMP (1)

8th Grade

15 Qs

Scratch

Scratch

KG - Professional Development

10 Qs

Adventure game project

Adventure game project

7th - 8th Grade

12 Qs

What is a program slides(6:16)

What is a program slides(6:16)

8th - 12th Grade

10 Qs

Cyber Security KS4

Cyber Security KS4

8th - 12th Grade

15 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?