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: Final Exam - Composite (Chapters 1-14)
Exam with this question: IT Essentials ( Version 8.0) Final Exam (Chapters 10-14)
Please login or Register to submit your answer