CodeHS JavaScript

CodeHS JavaScript

8th - 12th Grade

21 Qs

quiz-placeholder

Similar activities

JavaScript Basic Terminology

JavaScript Basic Terminology

9th - 12th Grade

20 Qs

Ch15 - Multimedia Authoring

Ch15 - Multimedia Authoring

12th Grade

21 Qs

SDA Chapter 7A Vocabulary

SDA Chapter 7A Vocabulary

6th - 9th Grade

20 Qs

Pemrograman Web

Pemrograman Web

11th Grade

20 Qs

javascript

javascript

11th Grade

22 Qs

HTML, CSS & JS

HTML, CSS & JS

11th - 12th Grade

25 Qs

Introducere în JS

Introducere în JS

12th Grade - University

18 Qs

JavaScript

JavaScript

3rd Grade - University

20 Qs

CodeHS JavaScript

CodeHS JavaScript

Assessment

Quiz

Computers

8th - 12th Grade

Medium

Created by

Greg Baker

Used 315+ times

FREE Resource

21 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

His name is Fred and he is less than 16 years old

if (name = "fred" && age < 16 )

if (name === "fred" && age < 16 )

if (name = "fred" || age < 16 )

if (name === "fred" || age < 16 )

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Repeat something 10 times

repeat 10

for (var i=0; i<10; i++)

repeat { } until 10;

while (i = 10)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the symbol used for the INCREMENT operator in JS?

+

++

=

==

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Conditions return values of which data type?

Integer

boolean

floating-point

string

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Loops in programming start counting from ?

0

1

Any number

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol represents the or operator in JavaScript?

OR

or

||

|

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Arithmetic Operators
What is ++ ?
Modulo
increment
Decrement
Addition

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?