Question 96
Which statement in JavaScript exits a loop immediately?
The break statement terminates the current loop, switch, or label statement.
Which statement in JavaScript exits a loop immediately?
The break statement terminates the current loop, switch, or label statement.
In PHP, what is the default scope of a variable declared inside a function?
Variables declared within a PHP function are local to that function and cannot be accessed outside unless explicitly declared global.
Which superglobal in PHP stores session data?
$_SESSION stores session variables accessible across multiple pages during a user session.
Which XML technology defines the allowed elements and structure of an XML document?
DTD and XSD define the legal building blocks, elements, and structure of an XML document.
What is the primary format used to exchange lightweight structured data in AJAX applications today?
JSON (JavaScript Object Notation) has largely superseded XML as the primary format for lightweight web data interchange.