Advanced JS Part 1

Quiz
•
Computers
•
12th Grade
•
Hard
tiya reba
Used 5+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does AJAX stand for?
Asynchronous JavaScript and XML
Advanced JavaScript and XML
Automatic JavaScript and XML
Asynchronous Java and XML
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main purpose of AJAX in web development?
To improve the security of web applications
To make web pages more visually appealing
To allow asynchronous communication with the server
To prevent cross-site scripting attacks
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which JavaScript event is triggered when a user clicks on an HTML element?
onclick
onhover
onsubmit
onkeyup
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to add an event listener to an HTML button with the ID "myButton" in JavaScript?
getElementById("myButton").addEventListener("click", myFunction);
document.getElementById("myButton").on("click", myFunction);
document.getElementById("myButton").addEventListener("onclick", myFunction);
document.getElement("myButton").onClick = myFunction;
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which JavaScript event is triggered when a form element loses focus, typically after a user has filled out an input field and clicks away from it?
onblur
onchange
onfocus
oninput
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to add an event listener to the "keydown" event in JavaScript using a function called "handleKeyPress"?
window.onkeydown(handleKeyPress);
document.getElementByTagName("body").onkeydown = handleKeyPress;
document.addEventListener("onkeydown", handleKeyPress);
window.addEventListener("keydown", handleKeyPress);
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to throw a custom exception in JavaScript?
try
catch
throw
finally
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
web tasarım programlama-1

Quiz
•
12th Grade
15 questions
Web 1,2,3,4,5

Quiz
•
12th Grade
9 questions
Lesson 1 - Webdev

Quiz
•
10th Grade - University
10 questions
JS Practice: ITS Certification

Quiz
•
12th Grade
15 questions
Викторина по основам JavaScript

Quiz
•
9th Grade - University
15 questions
PCEP Section 4C: Python Built-In Exceptions Hierarchy

Quiz
•
12th Grade
10 questions
Grade 12- Knowledge Booster- JavaScript Events

Quiz
•
12th Grade
14 questions
1.3 Aplicaciones WEB que se ejecutan del lado del cliente

Quiz
•
12th Grade
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