JavaScript Basics

JavaScript Basics

7th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

DPS Jorhat - Robotics Skill Assessment

DPS Jorhat - Robotics Skill Assessment

6th - 8th Grade

20 Qs

12AIT - All About W3C <3

12AIT - All About W3C <3

10th Grade - University

18 Qs

la internet

la internet

3rd - 11th Grade

20 Qs

WJEC GCSE ICT Unit 1 E-Mail

WJEC GCSE ICT Unit 1 E-Mail

9th - 10th Grade

13 Qs

Scratch

Scratch

KG - Professional Development

10 Qs

¿Qué es un sistema operativo?

¿Qué es un sistema operativo?

10th Grade

19 Qs

Segundo

Segundo

8th Grade

15 Qs

Java: repetition control structure for & while

Java: repetition control structure for & while

10th - 12th Grade

10 Qs

JavaScript Basics

JavaScript Basics

Assessment

Quiz

Computers

7th - 12th Grade

Hard

Created by

Lisa Marcou

Used 73+ 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

Which of the following will correctly comment the text?

// "the text"
/"the text"/
*/"the text"/*
\\"the text

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a comparative operator?

!==
>=
===
<==

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What syntax follows after an if statement?

parenthesis
curly braces
a colon
square brackets

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements returns 'false'?

'myName'.length > 2
3 * 4 < 15
4 / 2 == 2
'inputControl'.length < 4

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement returns the value of 2?

7 + 3 / 5
'hi'.length - 1 * 2
(3 + 1) / 'hi'.length
4 + (4 / 8)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What best describes a variable?

they allow the user to change language settings
they allow the user to change the variable's data type
they allow the user to save and call values
they allow the user to declare a new data type

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct way to declare a variable?

variable myName
var myName
MY_NAME
VAR myName

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?