Q1easyWhat is the difference between Unit Testing and End-to-End (E2E) Testing?AUnit tests are slower; E2E tests are faster.BUnit tests are more likely to fail.CUnit tests focus on individual functions/components in isolation; E2E tests simulate a real user navigating through the entire application.DUnit tests require a real browser; E2E tests are only for functions.Check AnswerReveal Answer & ExplanationDiscuss on Board
Q2mediumAn API call is returning a 404 Not Found error, but the developer is sure the URL is correct. Which DevTools panel should be checked first?ANetwork PanelBConsole PanelCApplication PanelDElements PanelCheck AnswerReveal Answer & ExplanationDiscuss on Board
Q3mediumYou are inspecting a JavaScript Memory Leak. Which DevTools tab would help you find which objects are taking up the most RAM?ASourcesBApplicationCMemory (Heap Snapshot)DNetworkCheck AnswerReveal Answer & ExplanationDiscuss on Board
Q4easyWhat does the "Call Stack" tell a developer when a JavaScript error occurs?AThe sequence of function calls that led to the current point of execution or the error.BThe number of clicks performed by the user.CHow much memory the program is using.DThe current CPU temperature.Check AnswerReveal Answer & ExplanationDiscuss on Board
Q5easyWhat is a "Mock" or "Stub" in the context of unit testing a backend API call?AA dummy object/function that mimics the real server response so tests can run without actual network calls.BA way to hack the server.CA tool to measure CPU usage.DA tool to rewrite the database queries. test.jsCheck AnswerReveal Answer & ExplanationDiscuss on Board
Q6easyWhat is the primary purpose of using Breakpoints in a browser's DevTools during a debugging session?ATo speed up the code execution.BTo pause code execution at a specific line, allowing the developer to inspect variables and the call stack.CTo clear the browser cache.DTo permanently delete problematic lines of code.Check AnswerReveal Answer & ExplanationDiscuss on Board
Q7easyWhat is the difference between TDD (Test-Driven Development) and standard testing?ATDD is only used for backend.BIn TDD, tests are written *before* the code; standard testing writes tests *after* (or during) development.CTDD is easier to implement.DStandard testing requires fewer steps.Check AnswerReveal Answer & ExplanationDiscuss on Board
Q8mediumA developer notices their CSS changes aren't appearing on the live site, even though they refreshed the page. What is the most likely cause?AThe computer needs a reboot.BJavaScript is blocking the CSS.CThe browser is serving a cached version of the CSS file.DThe HTML is corrupt.Check AnswerReveal Answer & ExplanationDiscuss on Board
Q9easyWhat does "Headless" Testing mean?ATesting without writing any code.BTesting without using an internet connection.CRunning browser-based tests without a visible user interface (usually for faster CI/CD pipelines).DTesting on devices without screens.Check AnswerReveal Answer & ExplanationDiscuss on Board
Q10easyWhat is the primary benefit of Automated Testing in a CI/CD pipeline?AIt makes the code more readable.BIt replaces the need for UI design.CIt allows the developers to work from home.DIt ensures that every code change is validated immediately, preventing regression bugs from reaching production.Check AnswerReveal Answer & ExplanationDiscuss on Board