Javascript basics 6
Quiz
•
Professional Development
•
Professional Development
•
Practice Problem
•
Hard
Inna .
FREE Resource
Enhance your content in a minute
29 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will be the result of the following code? console.log(3 + '5');
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
How can you check if a variable x is of type "string"?
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the purpose of the === operator in JS?
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following is not a valid way to declare a variable in JS?
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will the following code snippet print to the console?const numbers = [1, 2, 3, 4, 5]; numbers.forEach(function(num) { console.log(num * 2); });
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the output of the following code snippet? let a = 10; if (a > 5) { console.log('Hello'); } else { console.log('World'); }
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
How do you write an if statement that checks if a number x is positive?
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
25 questions
Hairstyling, Pt1
Quiz
•
Professional Development
25 questions
NEP 2020
Quiz
•
University - Professi...
25 questions
G&V Review-2
Quiz
•
University - Professi...
25 questions
Past simple / Present perfect
Quiz
•
5th Grade - Professio...
25 questions
Refresher Service Excellence
Quiz
•
KG - Professional Dev...
24 questions
Observation and Assessment
Quiz
•
Professional Development
24 questions
Odoo 15 Cert - Human Resource - Test Sample + Exam
Quiz
•
Professional Development
24 questions
Câu hỏi KT chung SPDV TT trong nước - Kiều hối
Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
