Which mechanism ensures that a browser-side microtask queue is fully processed before the next rendering update? Web DevelopmentHard Try Now
What is the primary purpose of the ‘Content-Security-Policy’ (CSP) ‘script-src’ directive? Web DevelopmentHard Try Now
What is the primary consequence of setting the ‘display’ property to ‘contents’ on a container element? Web DevelopmentHard Try Now
Which mechanism does the browser use to determine if a cross-origin request requires a preflight OPTIONS request? Web DevelopmentHard Try Now
What is the primary purpose of the ‘Vary’ HTTP header in a caching context? Web DevelopmentHard Try Now
Which browser behavior occurs when a ‘passive: true’ flag is used in an event listener? Web DevelopmentHard Try Now
What is the result of the following JavaScript execution context behavior? Web DevelopmentHard Try Now
Which mechanism prevents the browser from executing a script injected into a page via a malicious third-party source? Web DevelopmentHard Try Now
What is the primary consequence of setting the ‘SameSite’ attribute to ‘None’ on a cross-site cookie? Web DevelopmentHard Try Now
Which superglobal contains information about server paths, headers, and script locations? PHP IntermediateEasy Try Now
Which data type is used to represent a value that can only be true or false? PHP IntermediateEasy Try Now
Which function is used to check if a variable has been declared and is not null? PHP IntermediateEasy Try Now
What is the result of the following code snippet? $a = 10; echo gettype($a); PHP IntermediateEasy Try Now
Which PHP superglobal is used to retrieve information about files uploaded via an HTTP POST request? PHP IntermediateEasy Try Now
What is the result of the following loose comparison?var_dump(0 == ‘abc’); PHP IntermediateHard Try Now
What is the output of the following code snippet?$a = ‘5’; echo $a + 10 . 5; PHP IntermediateHard Try Now
Which superglobal is used to access data sent via the HTTP POST method? PHP IntermediateMedium Try Now