CWISA-102 practice question 13 of 15
What scripting language works natively inside of nearly all modern Web browsers and may also be used for automation within some wireless solutions, such as Node-RED?
Full set: 67 questionsJavaScript is the only scripting language that runs natively in virtually all modern web browsers, where it is used to create dynamic and interactive web content. It is the standard for client-side web development. Additionally, Node-RED, a popular flow-based programming tool for IoT and automation, is built on Node.js. Node.js is a JavaScript runtime environment, meaning that custom logic and functions within Node-RED flows are written in JavaScript. This unique combination of native browser support and server-side/automation capabilities makes JavaScript the correct answer.
A. PHP: This is a server-side scripting language. It executes on the web server to generate content, but it does not run natively within the client's web browser.
B. Python: This is a versatile, general-purpose programming language widely used in automation and backend development, but it does not run natively in web browsers.
D. R: This is a specialized language primarily used for statistical computing and data analysis. It lacks native support for execution in web browsers.
1. Node-RED Official Documentation: "The Function node allows you to run arbitrary JavaScript code against the messages that are passed through it."
Source: Node-RED Docs, "Writing Functions". Retrieved from https://nodered.org/docs/user-guide/writing-functions
2. Mozilla Developer Network (MDN) Web Docs: "JavaScript (JS) is a lightweight, interpreted, or just-in-time compiled programming language with first-class functions. While it is most well-known as the scripting language for Web pages, many non-browser environments also use it, such as Node.js..."
Source: MDN Web Docs, "JavaScript". Retrieved from https://developer.mozilla.org/en-US/docs/Web/JavaScript
3. University of Southampton, Courseware (COMP6225: The Internet of Things): The course materials describe Node-RED as a "visual tool for wiring the Internet of Things" and explicitly state its foundation on Node.js, with practical exercises involving writing JavaScript in function nodes.
Source: University of Southampton, ECS, Course COMP6225 Lecture Slides on Node-RED. (Specific reference to Node.js/JavaScript foundation in introductory lectures).
Keep practicing
Take the free CWISA-102 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other CWISA-102 practice questions
- Question 1Which one of the following is NOT a typical Smart City application?
- Question 2What is an advantage of using HTTP-based processing?
- Question 3You have implemented a wireless mesh network. All mesh nodes are properly configured for …
- Question 4Which one of the following items has driven large serving 5- to 18-year-old students?
- Question 5What organization maintains and publishes the 802.15.4 Standard?
- Question 6What factor severely limits the range of systems operating in the 60GHz band?
