JavaScript Basics Quiz

JavaScript Basics Quiz

Assessment

Flashcard

Computers

9th Grade

Practice Problem

Easy

Created by

PATRICIA LAMMERT

Used 1+ times

FREE Resource

Student preview

quiz-placeholder

22 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What are the two possible values of a Boolean?

Back

true and false

2.

FLASHCARD QUESTION

Front

What does the && (AND) operator return if both conditions are true?

Back

true

3.

FLASHCARD QUESTION

Front

What does the || (OR) operator return if at least one condition is true?

Back

true

4.

FLASHCARD QUESTION

Front

What is the output of !(false)?

Back

true

5.

FLASHCARD QUESTION

Front

What does 5 == "5" evaluate to in JavaScript?

Back

true (loose comparison allows type conversion)

6.

FLASHCARD QUESTION

Front

What is the result of console.log("hello" == "Hello");?

Back

false (JavaScript is case-sensitive)

7.

FLASHCARD QUESTION

Front

What does the != operator do?

Back

Checks if two values are not equal in value

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?

Discover more resources for Computers