We learnt in the last class by what a pc program and programming means.
We thus realize that we want a language so that you can “talk” or talk to a pc. You will find three fundamental kinds of programming languages. A pc can however understand ONLY Machine Language directly. The first software were designed in machine language.
Machine Language: is expressed in binary only using and 1.
Advantages:
Directly understandable through the computer
Processing and outcome was very fast
Disadvantages:
Being symbolized in Binary form, the codes were was tough to learn and understand by humans
All of the data and directions needed to be by hand transcribed into Machine Language (Binary Form) and all sorts of results needed to be decoded from Machine Language to Human Readable form
Coding and Decoding required a lengthy time
Entire program was once immense and subsequently led to errors
Set up Language: this language applied using Mnemonics (human memory aids) with restricted utilization of Machine Language. These aids came by means of abbreviations for normal repeated functions for example AD or ADD for addition, SUB for subtraction, HLT for halting or stoping this program, etc. Additionally, it began using Octal or Hexadecimal codes as short hands for Binary codes.
Advantages:
Simpler code when compared with binary (Machine Language)
Shorter programs
Disadvantages:
Insufficient uniformity: Abbreviations utilized by Set up Language differed from machine to machine. Thus, each set up language code was restricted to particular machine and needed a Translator to transform it to some machine functional form
Higher Level Language (HLL): transcribe programs as “statements” using limited vocabulary from British. Types of Higher Level Languages are – Fundamental, PASCAL, FORTRAN, COBOL, ALGOL, Barrier-66, FORTH, etc. Infact, what we should use today as programming languages are types of Higher Level Languages.
Advantages:
Uniformity achieved: overrides the lack of machine dependent code
Utilization of British with proper syntax managed to get simpler to create programs
Programs designed in Higher Level Languages tend to be shorter, versatile and faster to utilize and debug