A script is a collection of instructions and expressions in a certain scripting language. It instructs machines to perform certain actions, or provides functions to a program or machine.
Generally, tasks created like this are automated and can and run either without or with minimal user input and prompting. A program or user might launch a script in order to run through a series of tasks – assuming nothing stops it from completing, the script will run its course automatically.
Technipages Explains Script
One of the most common uses of scripting is the automation of tasks that would otherwise have to be performed manually. A series of calculations that lead to a final result for example – in a calculator, a user would have to type each calculation line by line, while a script can perform the mathematical operations one after the other and then deliver back the final result.
There are lots of different scripting languages for many different purposes – they are used for everything from operating system shells to video games, with a specific set of unique instructions every time of course.
Interpreted rather than compiled, scripts don’t need a compiler in order to run the way other programming languages like C and C++ do. That makes them fast and quick to execute, and also means they are relatively easy to integrate with other projects and languages.
Common Uses of Script
- Scripts detail a complex series of instructions for a machine to execute.
- Primarily used for automation, scripting languages like JavaScript can create highly dynamic elements.
- Scripts and scripting languages are considered extension languages.
Common Misuses of Script
- Scripts are used for movies.