W3
Teacher
Explore
Browse by field
Artificial Intelligence
Accounting & Finance
Information Technology
Show all fields
Interview Q&A
All Interview Questions
Beginner
Intermediate
Advanced
Practice
MCQs
Quizzes
Mock Interviews
About
Light
Dark
Auto
Sign in
Get Started
Search interview questions
Search
9 questions for “Performance Optimization: Debouncing”
Found in 1 field. Select a question to see its full answer.
Information Technology
9 questions in 1 technology
#
Question
Technology
Topic
Level
1
What is event delegation and why is it a
performance
best practice?
JavaScript › DOM & Events
JavaScript
DOM & Events
Intermediate
2
How does the
Performance
panel in DevTools help diagnose a janky UI?
JavaScript › Debugging, Testing & Tooling
JavaScript
Debugging, Testing & Tooling
Advanced
3
What is the difference between passive and non-passive event listeners for scroll
performance
?
JavaScript › DOM & Events
JavaScript
DOM & Events
Advanced
4
Why does a long synchronous function block UI updates and event handling?
JavaScript › Event Loop & Concurrency
JavaScript
Event Loop & Concurrency
Intermediate
5
What is the difference between the generational garbage collection strategy's 'young' and 'old' generations?
JavaScript › Memory Management & Garbage Collection
JavaScript
Memory Management & Garbage Collection
Intermediate
6
What does the Intersection Observer API do and why is it preferred over scroll event listeners?
JavaScript › Browser Storage & Web APIs
JavaScript
Browser Storage & Web APIs
Advanced
7
How would you break a large synchronous task into chunks to keep the UI responsive?
JavaScript › Event Loop & Concurrency
JavaScript
Event Loop & Concurrency
Advanced
8
What's the relationship between requestAnimationFrame and the event loop's rendering step?
JavaScript › Event Loop & Concurrency
JavaScript
Event Loop & Concurrency
Advanced
9
How do you implement a debounce function using closures, and how is it a functional programming technique?
JavaScript › Functional Programming
JavaScript
Functional Programming
Advanced