Javascript Basics

Javascript Basics

9th - 12th Grade

16 Qs

quiz-placeholder

Similar activities

Hardware และ Software Computer

Hardware และ Software Computer

10th Grade

20 Qs

Tin 12_Trắc nghiệm_Bai2

Tin 12_Trắc nghiệm_Bai2

12th Grade

15 Qs

Conditions

Conditions

8th - 10th Grade

16 Qs

PTS PWPB Kelas 11 Sem 1

PTS PWPB Kelas 11 Sem 1

11th Grade

21 Qs

Python

Python

7th - 12th Grade

15 Qs

Python

Python

9th Grade

13 Qs

TEST1.PY

TEST1.PY

10th Grade - University

20 Qs

Javascript Basics

Javascript Basics

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Medium

Created by

Portia Morrell

Used 799+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which one of the following symbols is used for JavaScript comments? / Lequel des symboles suivants est utilisé pour les commentaires JavaScript?

\\

^

?

//

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What type of variable is / Quel type de variable est

var typeOfApples="Fuji"

Boolean

Number

String

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Which message will the user see? / Quel message l'utilisateur verra-t-il?

"Hello user"

No message

"Goodbye user"

"message + user"

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do I declare a new variable? / Comment déclarer une nouvelle variable?

var newVariable = 5

Variable int = new Variable()

var 5 = myVariable

int var = 5

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What surrounds an if/else statement?

Qu'est-ce qui entoure une déclaration if / else?

Quotations / Citations " "

Curly Brackets / Accolades { }

Parenthesis / Parenthesis ( )

Square Brackets / Square Brackets [ ]

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of the following is the symbol for implementing the OR operator?

Lequel des symboles suivants est utilisé pour implémenter l’opérateur OU?

**

&&

||

!

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of the following is the symbol for implementing the AND operator?

Lequel des symboles suivants est utilisé pour implémenter l’opérateur AND?

&&

**

||

++

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?