
Practice Quiz_W04
Authored by Erum Naz sohni23pk@yahoo.com
Computers
Professional Development
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. When using event driven programming, which of the following suits the example of clicking a single right-button on a command button in a GUI program to trigger a routine or save information to a folder?
User Interface
Interpreter
Event Handling
None of the above.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. What can we attach to DOM elements in order to respond to events in the system?
a. Event Handlers
b. Event Listeners
c. Event Processors
d. Event Coordinators
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. What method do we use to create an event listener?
a. element.makeEventListener()
b. element.listen()
c. element.on()
d. element.addEventListener()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. The following example uses what type of function to handle an event?
element.addEventListener(‘click’, function(event){});
a. Named function
b. Anonymous function
c. Inline function
Arrow function
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. What property on the event object contains the DOM object that invoked the event?
a. event.element
b. event.source
c. event.target
d. event.invoker
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. Why is the event.preventDefault() command used?
a. To prevent the settling of default data values in the database.
b. To prevent the execution of default actions in response to an event trigger.
c. To enforce the submission of a form.
d. To stop execution of all code.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. Which event trigger indicates the DOM has finished loading and processing?
DOMContentLoaded
DOMReady
DOMFinished
DocumentReady
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
İnformatika Qəbul DİM 2
Quiz
•
Professional Development
25 questions
CN-First Test
Quiz
•
Professional Development
25 questions
Quiz de Lógica de Programação 2
Quiz
•
Professional Development
25 questions
Ethereum Devcon Quiz - 1
Quiz
•
Professional Development
25 questions
AJWT MCQ Quiz
Quiz
•
Professional Development
25 questions
IT support Level-1 (MS Excel)
Quiz
•
Professional Development
25 questions
Guess the Gibberish Word
Quiz
•
Professional Development
25 questions
Тест остаточных знаний
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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
15 questions
LOTE_SPN2 5WEEK3 Day 2 Itinerary
Quiz
•
Professional Development
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
42 questions
LOTE_SPN2 5WEEK2 Day 4 We They Actividad 3
Quiz
•
Professional Development
6 questions
Copy of G5_U6_L3_22-23
Lesson
•
KG - Professional Dev...
20 questions
Employability Skills
Quiz
•
Professional Development