24/01/2024
Quiz
•
Computers
•
Professional Development
•
Hard
Philip Edeh
Used 65+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 5 pts
What is JavaScript primarily used for?
Database Management
Creating Dynamic Web Pages
Network Security
Graphic Designing
2.
MULTIPLE CHOICE QUESTION
10 sec • 5 pts
Which keyword is used to declare a constant variable in JavaScript?
let
const
var
constant
3.
MULTIPLE CHOICE QUESTION
10 sec • 5 pts
What is the purpose of the document.getElementById() function?
To get the value of an input field
To select an HTML element by its id
To create a new HTML element
To delete an HTML element
4.
MULTIPLE CHOICE QUESTION
10 sec • 5 pts
What is the purpose of the addEventListener method in JavaScript?
To change the style of an element
To create a new HTML element
To add an event handler to an element
To remove an element from the DOM
5.
MULTIPLE CHOICE QUESTION
10 sec • 5 pts
How do you declare a function expression in JavaScript?
function myFunction() {}
const myFunction = function() {}
let myFunction = () => {}
both b and c
6.
MULTIPLE CHOICE QUESTION
10 sec • 5 pts
What does the typeof operator return for an array
array
object
list
typeof doesn't work for arrays
7.
MULTIPLE CHOICE QUESTION
10 sec • 5 pts
In JavaScript, which loop is ideal for iterating over the elements of an array?
while
Do-while
for-in
for
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
Web Browsing
Quiz
•
10th Grade - Professi...
20 questions
DAA
Quiz
•
Professional Development
10 questions
Python-Quiz-Basic-Datatypes
Quiz
•
12th Grade - Professi...
20 questions
SPARK FIDDLE
Quiz
•
Professional Development
10 questions
ER Model
Quiz
•
Professional Development
10 questions
Software Security
Quiz
•
University - Professi...
10 questions
C Programming
Quiz
•
Professional Development
10 questions
BASIC OF COMPUTER
Quiz
•
Professional Development
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Computers
10 questions
Halloween
Quiz
•
Professional Development
16 questions
Spooky Season Quiz
Quiz
•
Professional Development
5 questions
11.4.25 Student Engagement & Discourse
Lesson
•
Professional Development
50 questions
ASL Colors and Clothes
Quiz
•
KG - Professional Dev...
15 questions
Ohms Law
Quiz
•
Professional Development
10 questions
Halloween Trivia
Quiz
•
Professional Development
10 questions
Halloween Trivia
Quiz
•
Professional Development
