
JavaScript Quizz Batch 2
Authored by Web-Dev Celerates
Information Technology (IT)
Professional Development
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What is the correct syntax to output "Hello My Name is Amy" in JavaScript?
println("Hello My Name is Amy")
echo("Hello My Name is Amy");
console.log("Hello My Name is Amy")
printf("Hello My Name is Amy")
2.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What does the typeof operator return for?
Array
Object
String
Boolean
3.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Which of these is a correct way to declare a constant in JavaScript?
const PI = 3.14
let PI = 3.14
var PI = 3.14
const PI = 3,14
4.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What will the following code output?
true
false
undefined
NaN
5.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Which one is the correct code to make the string ALL CAPS?
message = message.toLowerCase()
message = message.toUppercase()
message = message.toupperCase()
message = message.toUpperCase()
6.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Which is the following is a correct arrow function syntax?
function hello ( ) => {
console.log(`Hello`)
}
const hello = ( ) => {
console.log(`Hello`)
}
hello ( ) => {
console.log(`Hello`)
}
hello => console.log('Hello')
7.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
How do you create an array in JavaScript?
let arr = "1, 2, 3"
let arr = "[1, 2, 3]"
const arr = "[1, 2, 3]"
const arr = [1, 2, 3]
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
15 questions
1101 Day 11 Review
Quiz
•
Professional Development
18 questions
Andres Weekly 0412
Quiz
•
Professional Development
15 questions
BACKEND.24.2 - Quiz 1
Quiz
•
Professional Development
15 questions
MOBILE.2024.2 - Revisão VA1
Quiz
•
Professional Development
20 questions
QUIZ SOBRE TECNOLOGIA
Quiz
•
Professional Development
20 questions
SwiftUI Test
Quiz
•
Professional Development
17 questions
MERN Stack (Backend + Frontend Connection)
Quiz
•
Professional Development
20 questions
pre-post test
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
Discover more resources for Information Technology (IT)
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...