What Are Scripts in Computing? Definition, Languages, and Uses
Definition
A script is a sequence of instructions written in a scripting language (interpreted, not compiled) that automates tasks for a computer or application.
Common Scripting Languages
- Python – General purpose, data, AI, web.
- JavaScript / TypeScript – Web, Node.js, automation.
- Bash / PowerShell – System admin, CLI automation.
- Ruby, Perl, PHP, Lua – Web, embedded, game scripting.
- SQL – Database queries (declarative scripting).
Typical Uses
- File operations (copy, rename, batch process)
- Data extraction / transformation / loading (ETL)
- Web scraping, API calls
- Test automation, CI/CD pipelines
- Game logic, modding (Roblox, Unity, WoW addons)
- Office macros (VBA, Google Apps Script)
Script vs. Program
| Script | Compiled Program |
| Interpreted at runtime | Compiled to machine code |
| Shorter, task-focused | Larger, full applications |
| Easy to edit/run | Requires build step |
| Examples: .py, .js, .sh | Examples: .exe, .app, .apk |
Scripts are glue code—connecting tools, automating workflows, extending software.