JavaScript Basics

JavaScript Basics

7th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

HTML Öğreniyorum!

HTML Öğreniyorum!

8th Grade

10 Qs

hardware and software(g3)

hardware and software(g3)

2nd - 10th Grade

10 Qs

Microcontroller

Microcontroller

11th Grade - University

10 Qs

SABERES PREVIOS MANTENIMIENTO PC

SABERES PREVIOS MANTENIMIENTO PC

11th Grade

16 Qs

Input, output and storage de

Input, output and storage de

8th Grade - Professional Development

14 Qs

Robotica 2018

Robotica 2018

5th - 9th Grade

11 Qs

Informática 1

Informática 1

10th Grade

20 Qs

TIN 11 - PYTHON - PHÉP TOÁN - BIỂU THỨC - CÂU LỆNH GÁN

TIN 11 - PYTHON - PHÉP TOÁN - BIỂU THỨC - CÂU LỆNH GÁN

11th 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?