
JavaScript Quiz III

Quiz
•
Information Technology (IT)
•
University
•
Hard
Tshering Dorji
Used 2+ times
FREE Resource
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is an operand in
4 + 5 ?
4
5
+
Both 4 and 5
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the output of: console.log(4 + "5");
9
45
NaN
Error
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Why does 10 - "3" work but
"10a" - 3 gives NaN?
JavaScript converts all strings to numbers automatically
"3" is numeric, but "10a" is not
Both should give a number
"10a" is treated as 0
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What’s the difference between == and ===?
Both check value and type
`==` checks only type
`==` checks value with type coercion; `===` checks value and type
`===` checks only value
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which operator would you use to check if a number is even?
%
**
/
++
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
If x = 10, what does
x += 5;
x *= 2;
result in?
30
25
20
50
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What will this print? let x = 2; console.log(x++ + ++x);
4
5
6
7
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Bài6 Đám Mây

Quiz
•
University
15 questions
Tut04

Quiz
•
University
15 questions
programmazione fino ai cicli 3C

Quiz
•
11th Grade - University
15 questions
Prelim Quiz 2 - M3

Quiz
•
University
12 questions
eXtensible Markup Language

Quiz
•
12th Grade - University
19 questions
Web_FE_BASIC_SS20

Quiz
•
University
20 questions
ALPRO 05/12-2024

Quiz
•
University
15 questions
Challenging Algorithms and Sorting Concepts

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
Discover more resources for Information Technology (IT)
15 questions
Disney Trivia

Quiz
•
University
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University
20 questions
Disney Trivia

Quiz
•
University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
5 questions
Examining Theme

Interactive video
•
4th Grade - University
23 questions
Lab 4: Quizziz Questions

Quiz
•
University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University