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 computer programs were designed in machine language.
Machine Language: is expressed in binary only using and 1.
Directly understandable through the computer
Processing and outcome was very fast
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.
Simpler code when compared with binary (Machine Language)
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.
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
We arrived at the finish in our today’s lesson. Next we have a quick consider a couple of more fundamental but important concepts which help understanding the idea of programming for example linguists, algorithms, flowcharts, etc before we decide to try writing computer programs!