CompTIACompTIA
220-1102 · Question #542
220-1102 Question #542: Real Exam Question with Answer & Explanation
The correct answer is B: To automate tasks and reduce the amount of manual labor. Scripting languages are primarily designed to automate sequences of operations. Their main purpose is to streamline repetitive tasks and reduce manual labor.
Operational Procedures
Question
Which of the following statements describes the purpose of scripting languages?
Options
- ATo access the hardware of the computer it is running on
- BTo automate tasks and reduce the amount of manual labor
- CTo abstract the complexity of the computer system
- DTo compile the program into an executable file
Explanation
Scripting languages are primarily designed to automate sequences of operations. Their main purpose is to streamline repetitive tasks and reduce manual labor.
Common mistakes.
- A. While scripts can interact with hardware through the operating system, direct low-level hardware access is more characteristic of compiled languages or device drivers.
- C. Abstraction is a general programming concept, but it's not the primary purpose that defines scripting languages over other programming paradigms.
- D. Scripting languages are typically interpreted at runtime, meaning they do not need to be compiled into an executable file before execution.
Concept tested. Purpose of scripting languages
Reference. https://learn.microsoft.com/en-us/powershell/scripting/overview?view=powershell-7.4
Topics
#Scripting#Automation#Command-line tools#Operational procedures
Community Discussion
No community discussion yet for this question.