A script is a
-
Program or sequence of instructions that is interpreted or carried out by processor directly
-
Program or sequence of instruction that is interpreted or carried out by another program
-
Program or sequence of instruction that is interpreted or carried out by web server only
-
None of above
A script is a program or sequence of instructions that is interpreted or carried out by another program (called an interpreter or runtime environment), rather than being executed directly by the processor. Scripts are typically written in interpreted languages like JavaScript, PHP, Python, or shell scripts, which require an interpreter to translate and execute the code line by line. Direct processor execution would require compiled machine code, not script interpretation.