nerdexam
CompTIA

220-1102 · Question #542

Which of the following statements describes the purpose of scripting languages?

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

How the community answered

(25 responses)
  • A
    4% (1)
  • B
    88% (22)
  • D
    8% (2)

Why each option

Scripting languages are primarily designed to automate sequences of operations. Their main purpose is to streamline repetitive tasks and reduce manual labor.

ATo access the hardware of the computer it is running on

While scripts can interact with hardware through the operating system, direct low-level hardware access is more characteristic of compiled languages or device drivers.

BTo automate tasks and reduce the amount of manual laborCorrect

Scripting languages are designed to automate command sequences, system administration tasks, and repetitive operations without requiring compilation. This significantly reduces the manual effort and time required for routine tasks.

CTo abstract the complexity of the computer system

Abstraction is a general programming concept, but it's not the primary purpose that defines scripting languages over other programming paradigms.

DTo compile the program into an executable file

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

Source: 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.

Full 220-1102 Practice