The computer programs that run on a computer are called software. Programmers write the instructions in various programming languages,
but computer can understand only one language called machine language and other languages that may require Intermediate translator to perform the conversion. The so many computer languages are use today and these languages may be divided into three category.
1. Machine Language: Any computer can directly understand its own language called machine language and is defined by its hardware design. Machine languages generally consist of strings of numbers such as 0s and 1s, 0s is called cut the power and 1s is called power is available. These two codes (0s and 1s) are also called as binary code or binary number system. It is difficult task for a programmer to memorize the thousands of binary instruction.
2. Assembly language: Machine Language is difficult to understand and writing a program in machine language is difficult that’s why assembly language is introduced. Many programmers write their programs in assembly language and then translate it to machine language by using translator called assembler. This translator is necessary because computer can understand only machine level language.. Assembly language uses two, three, or four-letter code called mnemonics to represent each instruction type. Such as
LOAD BASEPAY: Load the contents of BASEPAY in Accumulator register
ADD OVERPAY: ADD the contents of OVERPAY with BASEPAY in Accumulator
STORE GROSSPAY: store the result in GROSSPAY
3. High Level Language: Computer use increased rapidly with the advent of assembly languages, but programming still required many instructions to accomplish the simplest tasks. To speed the programming process, high-level languages were developed. The translator programs that convert high level language programs into machine language are called compilers. High level languages allow programmers to write instructions that are similar to everyday English and contain commonly used mathematical notations. A payroll program written in high level language as
Grosspay = basepay + overtimepay
BASIC, FORTRAN, Pascal, C++, Java, C# and Visual Basic .Net are the most powerful and most widely used high level programming languages.
The process of compiling a high-level language program into machine language can take a considerable amount of computer time. Interpreter programs were developed to execute high-level language programs directly, without the need for compiling them into machine language. Although compiled programs execute faster than interpreted programs, interpreters are popular in program-development environments, in which programs are recompiled frequently and errors are corrected. Scripting languages is processed by interpreters such languages are JavaScript, Jscript, and VBScript etc.
Comments
Post a Comment
Your comment will inspire me, Please leave your comment