Javascript Basics

Javascript Basics

9th - 12th Grade

16 Qs

quiz-placeholder

Similar activities

JavaScript

JavaScript

8th - 12th Grade

21 Qs

CodeHS Unit 7 JavaScript in HTML

CodeHS Unit 7 JavaScript in HTML

8th - 12th Grade

21 Qs

Data Codehs

Data Codehs

8th - 12th Grade

21 Qs

Introduction To Web Woding

Introduction To Web Woding

6th - 12th Grade

11 Qs

Javascript

Javascript

11th Grade

20 Qs

CSP Arrays

CSP Arrays

10th - 12th Grade

20 Qs

Web JavaScript

Web JavaScript

10th Grade - University

15 Qs

Unit 5 Control Structures

Unit 5 Control Structures

8th - 12th Grade

21 Qs

Javascript Basics

Javascript Basics

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Portia Morrell

Used 771+ times

FREE Resource

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?

&&

**

||

++

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?