Language Translators and Programming Languages Assignment Help

Assignment Help: >> Program Design and Programming Languages >> Language Translators and Programming Languages

Language Translators and Programming Language:

Let us first understand the concept of language translators and then discuss some of the popular programming languages.

Language Translators:

Language translators convert a source code into an object code. There are two types of translators - compilers and interpreters.

Compiler:

A compiler is a translation program that translates the entire source code of a high-level programming language into an object code and creates an object file. This file contains instructions in a specific machine language. A source code is the code in which the programmers write programs. This code has to go through a series of steps to become an executable program.
The first step in the process involves passing the source code through a compiler. This compiler translates the instructions given in the high-level language into the object code. A liner or assembler program is then used to transform the object code into an executable program that runs on a certain type of computer. The compiler then checks the code for errors when it translates the code. If any errors are found, the compiler identifies the error location and prints a program that highlights the location and likely cause of the error.

Interpreter

An interpreter is a program that executes the instructions that are written in a high-level language. It translates one line of the source code at a time and executes the translated instruction. As the program is executed line-by-line, the programmer can see exactly what each line does. Though interpreters run programs more slowly than compilers, they are helpful tools for learning and easier for debugging. Another advantage of interpreters is that they do not undergo the compilation phase. Machine instructions are produced during this phase and if the program is lengthy, this process consumes a lot of time. An interpreter therefore, can be used for executing the high-level language programs immediately.


Programming Languages

Different types of programming languages meet different types of needs. Some of the popularly used languages are discussed here.

Common Business Oriented Language (COBOL)

Developed in 1959, this is one of the earliest high-level programming languages. Since then, this language has been modified and enhanced several times and this has led to incompatibility between the various versions. In order to solve this problem, in 1968, ANSI developed the ANS COBOL which was a standardized version of the language. Subsequently, in 1974 and again in 1985, ANSI developed more advanced versions of the language. In the mid-1990s, COBOL accounted for more than 65 percent of all new application development. COBOL is useful for handling accounting information, including inventory control, billing, and payroll. This language requires programmers to write in a style that explains what the program is doing at each step. Recently, COBOL has been upgraded to structured and object-oriented versions. COBOL is applied in the field of finance, business, and administration by organizations and governments.

BASIC

BASIC (Beginner's All-Purpose Symbolic Instruction Code), developed in 1963, is an easy-to-use high-level programming language. It is taught in many high schools and colleges in elementary programming courses. It is a very useful and powerful tool for programmers, especially for beginners. The language has extensive applications and is also available in many versions.
BASIC is an interpreted language that allows beginners to create a program in an interactive mode, run the program, test it, and debug it. Though interpreted languages help novices learn programming, they run more slowly than compiled programs. Therefore, professional programmers do not use BASIC. More recent versions of BASIC have incorporated the principles of structured, modular, and object-oriented programming, with added compilers.

Pascal

Pascal is a very popular high-level programming language developed by Professor Niklaus Wirth. The language was named after the 17th century French mathematician, Blaise Pascal. Pascal was developed with the intention of creating a language that was efficient and had all the features that were not available in the other languages. Compared to other languages, Pascal is simple and expressive, due to which it is used as a basis for teaching computer programming concepts. The language also encourages programmers to write well-structured programs. Pascal language is available in both interpreter and compiler versions.

C

C is a high-level programming language developed by AT&T's Bell Laboratories in 1972, to be used along with the UNIX operating system. Thereafter, the use of C has spread to other operating systems and it is now the most widely used programming language. C is an easy to learn, all-purpose, procedural language that combines the advantages of a high-level programming language with the efficiency of an assembly language. Since programmers can directly manipulate bits of data inside the processing unit, well-written C programs run significantly faster than programs written in other high-level programming languages.

Java

Java, developed by Sun Microsystems[2], is an object-oriented high-level programming language. It is the world's first truly cross-platform programming language, a language that makes possible the "write once, run anywhere" phenomenon. The language was designed based on the first version of C++. It also excludes the features of C and C++ programming languages that are inconsistent and confounding. It is an all-purpose language with numerous features that makes it suitable to be used on the World Wide Web.

Java programs are designed to run on any type of computer that is commonly used. This remarkable capability is achieved through the Java Virtual Machine (JVM), which needs to be installed on any computer that runs Java. The JVM is a program which can process the compiled Java programs into machine language. JVM plays a central role in making Java portable. It provides a layer of abstraction between the compiled Java program and the underlying hardware platform and operating system.

 

Email based Information technology and system assignment help - homework help at Expertsmind

Are you searching Computer science expert for help with Language Translators and Programming Languages questions?  Language Translators and Programming Languages topic is not easier to learn without external help? We at www.expertsmind.com offer finest service of Information technolgy and system assignment help and Information technology homework help. Live tutors are available for 24x7 hours helping students in their Language Translators and Programming Languages related problems. We provide step by step Language Translators and Programming Languages question's answers with 100% plagiarism free content. We prepare quality content and notes for Language Translators and Programming Languages topic under Information technology theory and study material. These are avail for subscribed users and they can get advantages anytime.

Why Expertsmind for assignment help

  1. Higher degree holder and experienced experts network
  2. Punctuality and responsibility of work
  3. Quality solution with 100% plagiarism free answers
  4. Time on Delivery
  5. Privacy of information and details
  6. Excellence in solving Information Technolgoy and system queries in excels and word format.
  7. Best tutoring assistance 24x7 hours

 

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd