JavaScript Basics Quiz

JavaScript Basics Quiz

Assessment

Flashcard

Computers

9th Grade

Hard

Created by

PATRICIA LAMMERT

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

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?