What is the difference between a scripting language and a compiled language?

IT Questions BankCategory: IT EssentialsWhat is the difference between a scripting language and a compiled language?

What is the difference between a scripting language and a compiled language?

  • Scripting languages need to be converted into executable code using a compiler, while compiled languages are interpreted as they are executed.
  • Compiled languages are executed by the operating system, while scripting languages are executed by the CPU.
  • Scripting languages are interpreted and executed line by line when a script is run, while compiled languages need to be converted into executable code.
  • Compiled languages are executed by a command interpreter, while scripting languages are executed by the CPU.

Explanation: A scripting language is different than a compiled language because each line is interpreted and then executed when the script is run. Compiled languages need to be converted into executable code using a compiler. Another difference between the two types of languages is that compiled languages are executed by the CPU while scripting languages are executed by a command interpreter or by the operating system.

Exam with this question: IT Essentials 8.0 Course Final Exam Answers
Exam with this question: IT Essentials 8.0 Final Exam Modules 10-14

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments