SSCP · Question #1103
Instructions or code that executes on an end user's machine from a web browser is known as __________ code.
The correct answer is B. JavaScript. JavaScript is a common scripting language designed to be executed directly within a web browser on the client's machine to provide interactive functionality.
Question
Instructions or code that executes on an end user's machine from a web browser is known as __________ code.
Options
- AActive X
- BJavaScript
- CMalware
- DWindows Scripting
- EMobile
How the community answered
(29 responses)- B90% (26)
- C3% (1)
- D7% (2)
Why each option
JavaScript is a common scripting language designed to be executed directly within a web browser on the client's machine to provide interactive functionality.
ActiveX controls were a Microsoft technology that allowed software components to run in a web browser, but they are largely deprecated due to security concerns and browser compatibility issues.
JavaScript is the primary client-side scripting language used by web browsers to enable interactive web pages and execute logic directly on the user's machine.
Malware is malicious software designed to cause harm, and while it *can* execute in a browser, the term 'malware' describes its intent, not the general category of code that executes in a browser.
Windows Scripting refers to scripting technologies like VBScript or PowerShell that typically run within a Windows operating system environment, not directly within a standard web browser for web page functionality.
Mobile refers to devices or applications designed for mobile platforms, not a type of code that executes in a web browser.
Concept tested: Client-side web scripting
Source: https://learn.microsoft.com/en-us/microsoft-edge/devtools-guide-chromium/javascript/
Topics
Community Discussion
No community discussion yet for this question.