Discord Server Twitter Donation Youtube Google+
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tutorial What are Programming languages?
Big Grin 
In The Name OF Allah
Al-Salam Alekum

Today I will describe what programming languages are.
Many of us are hearing about programmers and programming languages . The computer follows a set of serial instructions which are known as a program which at their own are doing tasks. The one who wrote these instructions are called programmers . The sentences used for a program to be functional are called instructions . In the programming world their are a variety of instructions which sticks to their programming language and can't be used in the same format in the other. With the instructions written by the programmer he can "talk" with the program that he wants to create.. Shy

We have three types of Languages:

1- The machine language or machine code :
Machine code or machine language is a set of instructions executed directly by a computer's central processing unit (CPU). Each instruction performs a very specific task, such as a load, a jump, or an ALU operation on a unit of data in a CPU register or memory. Every program directly executed by a CPU is made up of a series of such instructions. (The phrase 'directly executed' needs some qualification: machine code is by definition the lowest level of programming detail visible to the programmer, but internally many processors use microcode or optimise and transform machine code instructions into sequences of micro-ops in a sophisticated way.)

2 - The Assembly language :
Assembly language is a low-level programming language for a computer or other programmable device specific to a particular computer architecture in contrast to most high-level programming languages, which are generally portable across multiple systems. Assembly language is converted into executable machine code by a utility program referred to as an assembler like NASM, MASM, etc.

2-The Higher Languages:
You can  write in this language without the need to know about the computer mechanics and that is why it is so simple made .
Even if you change the computers the code is still understandable on the other computer . That's why it is so easy to find bugs in it .
For example, we have  :Java,C,C++ and Visual Basic .
Our Program in this type of languages will go through three levels:

First: Translation
This level is converting from higher language to machine language.

Second: Linking
Linking library and necessary instructions are in the program.

Third: Loading
The program will load the codes, libraries and instructions on the memory for the purpose of executing.

After the program has gone through these levels it means it's ready for execution.

Thanks for reading.

Wa Salam Alekum
* This is My Home *
Reply 0

Users browsing this thread: 1 Guest(s)