1. . Web performance optimization refers to:
(A) Only styling web pages
(B) Improving the speed, responsiveness, and efficiency of web applications
(C) Structuring HTML
(D) Optimizing CPU only
2. . Page load time affects:
(A) User experience, SEO, and conversion rates
(B) Only CSS styling
(C) HTML structure
(D) CPU usage only
3. . Minification in web optimization is:
(A) Styling HTML elements
(B) Adding comments to code
(C) Removing unnecessary characters from code (HTML, CSS, JS) to reduce file size
(D) Optimizing CPU only
4. . Compression in web optimization refers to:
(A) Structuring HTML only
(B) Increasing file size
(C) Styling CSS
(D) Reducing the size of files (e.g., using Gzip or Brotli) for faster transfer
5. . Browser caching helps to:
(A) Store frequently used resources locally to reduce server requests
(B) Style web pages
(C) Structure HTML
(D) Optimize CPU only
6. . Lazy loading refers to:
(A) Styling CSS
(B) Preloading all resources immediately
(C) Loading images, videos, or content only when they are needed or visible on the screen
(D) Optimizing CPU only
7. . Reducing HTTP requests improves performance because:
(A) It styles the page faster
(B) Fewer requests mean faster page load
(C) It structures HTML better
(D) Optimizes CPU only
8. . Using a Content Delivery Network (CDN) helps:
(A) Optimize CPU only
(B) Style CSS faster
(C) Structure HTML only
(D) Serve resources from geographically closer servers to reduce latency
9. . Image optimization includes:
(A) Optimizing CPU only
(B) Only styling images
(C) Structuring HTML only
(D) Using proper formats (JPEG, PNG, WebP), compression, and responsive sizes
10. . Code splitting is used to:
(A) Combine all JS into one file
(B) Break large JavaScript bundles into smaller chunks for faster loading
(C) Style HTML elements
(D) Optimize CPU only
11. . HTTP/2 improves performance by:
(A) Styling web pages
(B) Allowing multiplexing, header compression, and server push
(C) Structuring CSS
(D) Optimizing CPU only
12. . Critical rendering path optimization focuses on:
(A) Optimizing CPU only
(B) Styling below-the-fold content
(C) Structuring CSS
(D) Prioritizing above-the-fold content for faster initial page render
13. . Asynchronous loading of JavaScript helps to:
(A) Optimize CPU only
(B) Style elements faster
(C) Structure HTML only
(D) Prevent blocking of page rendering
14. . Web performance tools include:
(A) React, Angular, Vue
(B) Google PageSpeed Insights, Lighthouse, GTmetrix, WebPageTest
(C) Node.js, Express.js
(D) MySQL, PostgreSQL
15. . Reducing DOM size improves performance because:
(A) Styling is applied faster
(B) Smaller DOMs render faster and reduce memory usage
(C) HTML structure is optimized
(D) CPU is optimized only
16. . Using web fonts efficiently improves performance by:
(A) Structuring HTML
(B) Styling all text at once
(C) Limiting font weights, styles, and subsets to reduce load time
(D) Optimizing CPU only
17. . HTTP caching headers like Cache-Control and ETag help:
(A) Structure HTML
(B) Style web pages
(C) Control how resources are cached and validated to reduce unnecessary requests
(D) Optimize CPU only
18. . Preloading and prefetching help to:
(A) Style CSS faster
(B) Load resources in advance to speed up perceived performance
(C) Structure HTML
(D) Optimize CPU only
19. . Web performance optimization benefits include:
(A) Optimizing CPU only
(B) Styling web pages only
(C) Structuring HTML only
(D) Faster load times, better UX, improved SEO, and reduced bounce rates
20. . The ultimate goal of web performance optimization is:
(A) Only style web pages
(B) Deliver fast, responsive, and efficient web applications to improve user satisfaction and engagement
(C) Only structure HTML
(D) Optimize CPU only