Grade 12- Knowledge Booster- JavaScript Events

Quiz
•
Computers
•
12th Grade
•
Easy

Bloomington Innovation
Used 5+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is a JavaScript event?
a) A special type of function
b) An action that can be detected by JavaScript
c) A reserved keyword in JavaScript
d) A method for declaring variables
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which event occurs when a user clicks on an HTML element?
onmouseover
onclick
onchange
onload
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
3. Which event is triggered when the webpage is fully loaded?
onchange
onload
onclick
onsubmit
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the purpose of the onmouseover event in JavaScript?
a) To trigger when a user clicks on an element
b) To trigger when the user presses a key
c) To trigger when the mouse pointer moves over an element
d) To trigger when the webpage is refreshed
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which event is fired when a user changes the value of an input field in a form?
a) onchange
b) onclick
c) onload
d) onblur
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
6. Which event is used to detect when a form is submitted?
a) oninput
b) onfocus
c) onsubmit
d) onreset
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the difference between the onfocus and onblur events in JavaScript?
a) onfocus occurs when an element loses focus, onblur occurs when it gains focus
b) onfocus occurs when an element gains focus, onblur occurs when it loses focus
c) Both are the same
d) Neither of these exist in JavaScript
Create a free account and access millions of resources
Similar Resources on Wayground
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
9/11 Experience and Reflections

Interactive video
•
10th - 12th 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
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade