What is Computer Programming | It Programming Language Types

Programming Language Types Computer Programming Machine level language Assembly level language high-level language
Share it:
 Computer Programming



In these articles, I am discussing the computer, computer programming and the types of programming languages. A computer may be a general-purpose machine which may perform many computational tasks now the modern-day computers .that we've they will perform billions or trillions of calculations within a fraction of second. now the thing these computers can't really do anything on their own.

So for a computer to try to something one has got to give the instructions thereto and these instructions will contain step by step information to perform a selected task and these instructions are called a program.

Now the one that goes to write down these instructions or the program is named because the programmer and here the programmer will write instructions or the program and therefore the computer will execute that or computer will work thereon instructions now the computers that we've they contain tons of programs in them.

There are some programs that will manage the pc hardware resources and that they are called the system programs and there are some programs that will provide specific functionality.

to a user, for instance, the Notepad browser music player video player and every one these sorts of programs are called because of the application programs.

now we all know that we'd like to offer instructions to the pc in order that the pc can work thereon now the thing is how we will give the instruction to the computer or in which the language we can give instructions to the computer.

Now since this computer may be a machine how we will communicate with this machine.

Now the language during which these instructions are written or the language during which this program is written is named because of the programing language.

Now there are several types of programming languages and we are going to see the details about them. you guys may probably be heard that the computers can only understand the binary language.

Now, this binary language has only two values. 0 and 1 so during this binary language whatever you would like to mention has got to be within the sort of this 0 and 1. nowhere these computers are built in such a way that they can.
understand or they will recognize the pattern of the zeros and ones then they will work thereon accordingly. Now why we've built the computers to know this binary language? that is because this binary language which has only two values is straightforward to make within the hardware level for instance if we have a wire and if the current is flowing through this wire then we will say it's 1 if the present isn't flowing then we will say it's zero. 
So generally we will say that one stands for something which exists and 0 stands for something which does not exist so since this binary language is straightforward to make in the hardware level, therefore, the computer is made within the hardware level to recognize this pattern of 0 and 1 and while building the pc for a selected pattern of 0 and 1 a selected setup operations are defined. 
So when the pc will see a selected pattern of 0 and 1 it knows what it's to try to to . so now the computers can understand this binary language and this binary language with the computers understand also are called because of the machine language. now let's see the types of programming languages available. 
Now in this modern-day, we have a lot of programming languages available. so let's take a look at the types of programming languages. 
so the first sort of programing language or the language during which we will communicate with the pc is that the language which the pc understands. all of you recognize that this computer can understand this binary language or the machine language which is that the combination of zeros and ones. 

Machine level language

Machine level language

the first sort of programming languages is that the machine level language And during this machine level language we have the instructions within the sort of 0 and 1. so whatever you would like to mention has got to be within the sort of zero and one and since the computers are inbuilt such how that they will recognize this zeros and ones and perform some specific operation on that the combination of zeros and ones you know we can communicate with his computer in this language. 
the problem with this machine level language is so as to program during this machine level language one has got to know everything about the pc. so here the programmer is directly handling the hardware level so he's directly performing on the memory and therefore the data.
 the programmer must know everything about the pc, computer processor the pc architecture everything that he has got to know and that is why this machine level language is a bit difficult to find out and also believe this, for instance, you would like to write down a program within the machine level language otherwise you want to offer instructions to the computer within the machine level language and your program consists of thousand lines. 
all your instruction will contain this 0 and 1 and this mix of the zeros and ones. it is difficult to write down the program and also if you create some mistakes in your program then it's difficult to identify and since of these, a normal guy can't really learn programming easily. 


Assembly level language


to solve these quite problems another sort of programming languages were invented and that they are called because the Assembly level language. in this assembly level language rather than that zeros and ones combination mnemonic the symbolic codes were introduced for instance if the programmer has got to write an instruction let's say he wants to feature the numbers 5 and 6. then within the machine level language it's to be within the sort of this zeros and ones. 
the instruction to feature the numbers 5 and 6. so within the machine level language it'll appear as if this but within the Assembly level language mnemonic codes for used and therefore the programmer could write ADD 5 6. So tons of mnemonic or the symbolic codes where used and therefore the programmer could write the program during this way. 
so it had been tons more human-readable format the programmer can understand the code just by watching it and it had been tons easier to code than the machine level language. so now the thing is that the ASCII text file of the program written during this assembly level language by using this mnemonic or the symbol Codes can't be directly executed in this computer that's because this computer can only understand the machine language.
 what we've to try to do is we've to convert the code which is written within the Assembly level language to machine level language.

high-level language

the computer can understand it and execute it. so the program written within the Assembly level language must be converted to the machine level language and to convert that a program was used which program is called the assembler.
this assembler will convert the code written within the Assembly level language to machine level language. this assembly level language was a lot less difficult to find out and someone can learn the programming tons more easily than the machine level language but this assembly level language also had the same difficulties.
Higher-level languages 
although it had been tons easy to write down the programs than the machine level language in assembly level language if the program size increases but it's difficult to spot the errors and also the code is written within the Assembly level language was also Computer Architecture dependent. so the code return for one sort of computer can't be executed in another sort of computer which has different architecture so again to unravel these quite problems a new sorts of languages by invented in order that tons more people can come and write the programs which sort of programming languages are called because the Higher level languages. the high-level languages are designed in such a way that they are very easy for a beginner to learn and they were very close to the human-readable language for instance during this higher-level language one could write the instruction to feature 5 and 6 like this. 
this 5 + 6 is a lot more similar to the human language so just by looking at the code one can understand what we're trying to do and since these higher-level languages where tons less difficult to find out many of us started learning to program and began creating lot more programs. now again the thing is that the program written within the higher-level language can't be directly executed within the computer that's because the pc can only understand the machine language which may contain 0 and 1 but the upper-level language is extremely on the brink of the human languages. so we've to convert the program which is written within the high-level language to machine language which the computers can understand and execute. 
 for this high-level languages, there are two ways during which we will convert the ASCII text file from high-level language to machine level language and execute it and the two methods which were wont to convert the high-level language program to machine level language one was the compilation method where a program called compiler was used. 
this is the compilation method another method is named because the interpretation and for this interpretation method another sort of program called as interpreter was used and that we will see the details of this compilation and interpretation method a touch later but here just remember that although these are two different methods what they are doing is that they convert the program which is written within the high-level language to machine level language which the computers can understand and execute. 
here this machine level language and therefore the Assembly level language they're called because of the lower-level languages.
because while writing the programs during this machine and assembly level language the programmers could easily access the pc memory and directly work with the info. but with the foremost of these high-level languages, the programmers can't directly access the memory and therefore the work with data. but there are some languages within the high-level language type which permit the programmer to figure with the pc memory and therefore the data and that they are called as the middle-level languages and this middle-level language they supply all the features of the upper-level languages and also they permit the programmer to figure with the pc memory and data directly and since this languages provide the feature of the lower-level language and also the high-level language they're called because the middle-level languages and we have the languages like C and C plus are these are all the center level languages.
because allow the programmer to figure with the pc memory and data and also they supply all the features of this high-level language and within the high-level languages we have Java C Sharp python etc. 
this machine level language which is extremely on the brink of the machine otherwise you know this language the pc directly understands, it executes much faster than of these languages. so the speed of this machine language is extremely high and after this machine level language we have the Assembly languages and their speed is best than the high-level languages but a touch slower than the machine level language then we have the high-level languages. 
 Now as I said before during these high-level languages we will convert the code from higher-level language to machine language in two alternative ways one is that the compilation method another one is the interpretation method.
this compilation and interpretation method in detail. so first see the compilation. so within the compilation method a program called compiler is employed and this compiler Will take the high-level language program and it'll convert that to the machine language and this process is named because the compilation method and here what happens is that this compiler will read the high-level language program, for instance, this is often high-level language program it'll read this program and it'll convert that to the machine language.
 it will convert this complete program into machine language then this machine language code is going to be executed. so the thing is compiler will convert the entire program which is written within the high-level language to machine level language then that machine level language code is going to be executed. now let's take a look at this interpretation method so here also we will be converting the program written in the high-level language to the machine level language and then executing that.

high-level language

and for that purpose, we'll be employing a program called because the interpreter and this process is named because of the interpretation. so the process of converting the high-level language program to machine language by using the program interpreter is named because the interpretation method nowhere what happens let's say this is often the ASCII text file or the programs written within the high-level language and this interpreter what it does is first it'll read the primary line of this ASCII text file or the program which is within the high-level language then it'll convert that to the machine language then it'll execute it immediately and then it'll attend subsequent line of the high-level language program it'll read that it'll convert that code then it'll execute it immediately then it'll attend the third line then again it'll convert that code then it'll execute it. so within the compilation process, the whole program which was written within the high-level language was read first then it had been converted to machine level language then that entire program was executed directly but with the interpretation method the interpreter will read the program which is within the high-level language line by line it and it will convert and execute each line immediately at a time.
Computer Programming

and this is often how the compiler and interpreter work. there are many languages within the high-level language type and therein languages some follow the compilation method and a few follow the interpretation method. the languages which follow the compilation method are called because the compiled languages and for instance, we've C C + +, etc these are all the compiled languages where the compilation method is used to convert the program which is written in these languages to the machine language and the higher-level languages which follow the interpretation method are called as the interpreted languages.
for example, we've Python and this Python is an interpreted language. 


Share it:

Computer Programming

TechNews

Post A Comment:

0 comments: