answersLogoWhite

0


Best Answer

Everything that an electronic digital computer does is determined by sequences of instructions, which are stored in the form of binary values. Instructions in that form are called machine language. Machine language is extremely tedious and difficult for humans to read, write or understand. To make it easier for humans to write instructions for computers, all sorts of languages have been developed, which can all be automatically translated into machine language. Over many decades, new programming languages have been designed to help people think about programs in more abstract ways, avoid making mistakes, and write programs in parts or layers that can be used by other programmers. The objective of almost all programming languages is to make people more productive when developing and maintaining computer programs.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

8y ago

We use programming languages to create machine code. Machine code is the native language of the machine and is written entirely in binary. While it is possible to create machine code by hand it is extremely difficult, laborious and prone to error. Thus machine code is limited to writing relatively trivial programs. One such program is called an assembler which translates a low-level symbolic language known as assembly language into machine code. Assembly language maps one-to-one with the instruction set of the computer and is therefore very simple to translate. However, different machine types have different instructions sets, thus each machine type requires its own assembler and thus its own assembly language. As a result, assembly languages are machine-dependant languages.

In order to write code that is portable between machine types we need to use high-level symbolic languages. These languages are more abstract and much easier for humans to work with. To convert these languages to machine code we need to use another type of translator known as a compiler. These are more complex than assemblers but they do pretty much the same job. As with assemblers, each machine type has its own compiler. However, because high-level source code is more abstract than assembly language it need not be machine-dependent. Thus the same source code may be compiled upon any machine with a suitable compiler.

Some high-level languages use interpretation rather than compilation. Interpreters do not translate the entire source code at once as compilers and assemblers do, they translate one statement at a time. The main advantage of interpretation is that you can more quickly develop the software because there is no need to wait for the program to compile in order to execute it; you can execute immediately. With compiled languages, every time you change the source code you must recompile, but with interpreted languages you can pause execution, edit the code and then continue execution with the modified code. While paused, you can also invoke commands to modify the machine's state. This is extremely useful when testing new algorithms.

Some languages are both compiled and interpreted. Java is a typical example. First, the program must be compiled but rather than creating machine code this creates byte code. The byte code is then interpreted. The main advantage of this is that the byte code is portable (non-machine-dependent) and is easier to interpret than the non-compiled source code would be. in other words, the source need only be compiled once but can be executed upon any machine with a suitable interpreter.

With these programming languages it would still be possible to write computer programs in machine code, but these languages exist to make life easier for the programmer. This makes it possible to produce more complex programs much more quickly and with fewer errors than would be possible with machine code alone.

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

For pre-compiled in at least some sense for superior performance.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why scripting language is required?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is the default scripting language in ASP?

Default scripting language in ASP is VB Script


What is darkbasic pro scripting language?

DarkBASIC uses, like the title suggests, the scripting language BASIC.


What is Programming or Scripting-Based Animation?

Usually it requires knowledge of programming or knowing scripting language. An example is a mouseover/ rollover. Creating by using scripting language such as Java Script.


What is Programming or Scripting Based Animation?

Usually it requires knowledge of programming or knowing scripting language. An example is a mouseover/ rollover. Creating by using scripting language such as Java Script.


Is HTML scripting language or web application?

HTML, or HyperText Markup Language, is not a scripting language or a web application. It is a markup language used for structuring content on the web. HTML provides the basic building blocks for web pages, defining elements and their arrangement, but it doesn't have the dynamic functionality of scripting languages or applications.

Related questions

What is the default scripting language in ASP?

Default scripting language in ASP is VB Script


Is c sharp scripting language?

What is a scripting language? If you know the answer to this, then you can determine C# fits to the definition or not.


Is ruby server side scripting language?

Yes, Ruby is a server-side scripting language.


What is darkbasic pro scripting language?

DarkBASIC uses, like the title suggests, the scripting language BASIC.


Where might one find general information about scripting language?

One might find general information about scripting language by going to the Quirks Mode website. The website has information about the Java scripting language.


What is wml scripting?

WML scripting is the act of scripting / coding / writing in the language of WML - which is just slightly adjusted XML that is made for mobile devices. WMLScript (Wireless Markup Language Script) is the client-side scripting language of WML (Wireless Markup Language). A scripting language is similar to a programming language, but is of lighter weight. With WMLScript, the wireless device can do some of the processing and computation. This reduces the number of requests and responses to/from the server.


What is Programming or Scripting Based Animation?

Usually it requires knowledge of programming or knowing scripting language. An example is a mouseover/ rollover. Creating by using scripting language such as Java Script.


What is Programming or Scripting-Based Animation?

Usually it requires knowledge of programming or knowing scripting language. An example is a mouseover/ rollover. Creating by using scripting language such as Java Script.


Is HTML scripting language or web application?

HTML, or HyperText Markup Language, is not a scripting language or a web application. It is a markup language used for structuring content on the web. HTML provides the basic building blocks for web pages, defining elements and their arrangement, but it doesn't have the dynamic functionality of scripting languages or applications.


What is the most common scripting language?

JavaScript is the most famous scripting language. It is the most flexible and widely used.


What is the default scripting language for ASPNET?

VBScript


Can you write multiple scripting languages in a single page?

Yes. In fact this is fairly common. For example, using in the same web page a client scripting language such as JavaScript and a Server Scripting Language, such as ASP.NET or PHP.